overlay coreos/user-patches: Add a patch for net-dialup/lrzsz

It fixes a build issue when i18n is disabled through masking nls USE
flag.
This commit is contained in:
Krzesimir Nowak 2024-01-09 12:04:09 +01:00
parent 819d64d700
commit 95ffba29f3
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,15 @@
diff -r -u lrzsz-0.12.20/configure.in lrzsz-0.12.20-patched/configure.in
--- lrzsz-0.12.20/configure.in 2024-01-09 10:51:43.460543006 -0000
+++ lrzsz-0.12.20-patched/configure.in 2024-01-09 10:57:32.001193035 -0000
@@ -263,6 +263,11 @@
AC_SUBST(LDFLAGS)
AC_SUBST(LIBS)
+# a workaround for not AC_SUBSTed USE_INCLUDED_LIBINTL when disable-nls is passed
+if test "x${USE_NLS}" = xno ; then
+ USE_INCLUDED_LIBINTL=no
+ AC_SUBST(USE_INCLUDED_LIBINTL)
+fi
AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME", [LOCALEDIR])
AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)

View File

@ -0,0 +1,3 @@
This patch should be upstreamed to Gentoo to fix build issues when nls
USE flag is masked (nls is used for internationalization). I think it
happens only when our SDK also has nls USE flag disabled.