Skip to contentSkip to conversation

rxvt-unicode.inc: disable the terminfo installation by setting TIC to :

PATCH New [email protected] 1 participant 1 message Nov 21, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rxvt-unicode.inc: disable the terminfo installation by setting TIC to :

From: Changqing Li <[email protected]>

Without this change, TIC is the native tic in recipe-sysroot-native. By default, native tic has set its default terminfo path to native path:
${datadir}/terminfo; $HOME/.terminfo

When sstate cache is used, the cached native tic's terminfo path could be a path not exist on current host, then native tic will try to install terminfo to HOME dir, cause host contamination.

Disable the terminfo installation by setting TIC to :

---
 meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc +2 -1
index 8cd41f3392..2eab0d4ec4 100644
@@ -30,7 +30,8 @@ EXTRA_OECONF = "--enable-xim \
 		--with-codesets=eu --enable-pointer-blank \
 		--enable-text-blink --enable-rxvt-scroll \
 		--enable-combining --disable-perl \
-		--with-x=${STAGING_DIR_HOST}${prefix}"
+		--with-x=${STAGING_DIR_HOST}${prefix} \
+		ac_cv_path_TIC=:"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[startup] = "--enable-startup-notification,--disable-startup-notification,startup-notification,"
Signature · 1 line
2.25.1