firewalld: fix build with gettext 0.25 (#425421)

This commit is contained in:
Aleksana 2025-07-15 21:56:33 +08:00 committed by GitHub
commit f3cceb4de1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
--- a/configure.ac
+++ b/configure.ac
@@ -152,8 +152,10 @@
AC_SUBST([GETTEXT_PACKAGE], '[PKG_NAME]')
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"],)
+AM_GNU_GETTEXT_VERSION([0.22.5])
+AM_GNU_GETTEXT([external])
+
IT_PROG_INTLTOOL([0.35.0], [no-xml])
-AM_PO_SUBDIRS
AC_CONFIG_COMMANDS([xsl-cleanup],,[rm -f doc/xml/transform-*.xsl])

View File

@ -57,6 +57,8 @@ stdenv.mkDerivation rec {
./add-config-path-env-var.patch
./respect-xml-catalog-files-var.patch
./specify-localedir.patch
./gettext-0.25.patch
];
postPatch =