tags 1126965 patch
thanks

Hi. This is the patch in the upstream github issue.

(I see you are also upstream, so maybe releasing a new upstream
version and then upgrading the Debian package may be preferred)

Thanks.
commit 9ebeb17f4952e5e88aa0232306b19d74818a324b
Author: Santiago Vila <[email protected]>
Date:   Tue Apr 7 19:45:00 2026 +0200

    Fix FTBFS with gettext 0.26. Closes: #1126965.

diff --git a/debian/patches/gettext-0.26.patch 
b/debian/patches/gettext-0.26.patch
new file mode 100644
index 0000000..0d5b827
--- /dev/null
+++ b/debian/patches/gettext-0.26.patch
@@ -0,0 +1,16 @@
+From: Lars Wendler <[email protected]>
+Subject: Fix autoreconf with gettext >= 0.24
+Bug-Debian: https://bugs.debian.org/1126965
+Origin: upstream, 
https://github.com/Project-OSS-Revival/enca/commit/c16ac192ddf1935867d9098767cc1b846c51fefc
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -6,6 +6,8 @@
+ AC_PREREQ([2.69])
+ AC_CONFIG_SRCDIR(src/enca.c)
+ AC_CONFIG_MACRO_DIR([m4])
++AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION([0.22])
+ AC_CONFIG_FILES( \
+   Makefile \
+   enca.spec \
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7cc7bc8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+gettext-0.26.patch

Reply via email to