severity 1120127 serious
tags 1120127 pending
thanks

Hi. After I finally uploaded gettext 0.23.2-1 for unstable, this
package now FTBFS.

I see that the package is mostly team-maintained lately, so I hereby
announce my intent to do a "team upload in the salsa group" with the
attached diff.

I'll put the changes in salsa (in two commits) and do the upload
tomorrow, but I'm not really sure how much should I wait before
proceeding. Maybe Shengqi Chen (as the previous team uploader) may
give some advice about that.

Thanks.
diff --git a/debian/changelog b/debian/changelog
index 7c82a9d7..4aba1582 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wget2 (2.2.0+ds-2) unstable; urgency=medium
+
+  * Team upload (salsa debian group).
+  * Fix build with recent gettext. Closes: #1120127.
+
+ -- Santiago Vila <[email protected]>  Fri, 14 Nov 2025 19:50:00 +0100
+
 wget2 (2.2.0+ds-1) unstable; urgency=medium
 
   * Team upload to unstable (salsa debian group).
diff --git a/debian/patches/configure-ac.patch 
b/debian/patches/configure-ac.patch
new file mode 100644
index 00000000..4d2b1585
--- /dev/null
+++ b/debian/patches/configure-ac.patch
@@ -0,0 +1,25 @@
+Description: configure.ac: Hide m4_ifdef from autopoint
+Author: Bruno Haible <[email protected]>
+Bug-Debian: https://bugs.debian.org/1120127
+Origin: upstream, 
https://gitlab.com/gnuwget/wget2/-/commit/ce1736518a4e6a03f5b151b6b762f755ebea3f01
+Last-Update: 2025-11-10
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -410,14 +410,14 @@
+ #
+ # Gettext
+ #
+-m4_ifdef([AM_GNU_GETTEXT], [
++m4_ifdef([AM_GNU_GET][TEXT], [
+   AM_GNU_GETTEXT([external],[need-ngettext])
+   AC_CONFIG_FILES([po/Makefile.in])
+   have_po=yes
+ ], [
+   have_po=no
+ ])
+-m4_ifdef([AM_GNU_GETTEXT_VERSION], [
++m4_ifdef([AM_GNU_GET][TEXT_VERSION], [
+ #do not indent here
+ AM_GNU_GETTEXT_VERSION([0.22.5])
+ ])
diff --git a/debian/patches/series b/debian/patches/series
index c34ea129..144cf607 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ fix_linked_libraries.patch
 # no_need_to_depend_from_git.patch
 disable-flaky-tests.patch
 remove_git_from_doxygen.patch
+configure-ac.patch

Reply via email to