scanmem: fix build with gettext 0.25 (#425712)

This commit is contained in:
Weijia Wang
2025-07-17 03:59:45 +02:00
committed by GitHub
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,14 @@
diff --git a/configure.ac b/configure.ac
index f6ee0b9..378a3c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,6 +111,9 @@ AS_IF([test "x$with_readline" != "xno"], [
])
])
+AM_GNU_GETTEXT_VERSION([0.25])
+AM_GNU_GETTEXT([external])
+
GETTEXT_PACKAGE=GameConqueror
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"],
+4
View File
@@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
sha256 = "17p8sh0rj8yqz36ria5bp48c8523zzw3y9g8sbm2jwq7sc27i7s9";
};
patches = [
./gettext-0.25.patch
];
nativeBuildInputs = [
autoreconfHook
gobject-introspection