I am uploading a NMU with the already sent patch included.
The changes are in git and attached as debdiff.
diff -Nru mp4h-1.3.1/debian/changelog mp4h-1.3.1/debian/changelog
--- mp4h-1.3.1/debian/changelog 2024-06-03 21:06:36.000000000 +0200
+++ mp4h-1.3.1/debian/changelog 2025-03-21 18:40:54.000000000 +0100
@@ -1,3 +1,12 @@
+mp4h (1.3.1-17.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Santiago Vila ]
+  * Fix FTBFS with gettext 0.23.x. (Closes: #1092231)
+
+ -- Bastian Germann <b...@debian.org>  Fri, 21 Mar 2025 18:40:54 +0100
+
 mp4h (1.3.1-17.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru mp4h-1.3.1/debian/patches/fix-ftbfs-with-gettext-0.23.patch 
mp4h-1.3.1/debian/patches/fix-ftbfs-with-gettext-0.23.patch
--- mp4h-1.3.1/debian/patches/fix-ftbfs-with-gettext-0.23.patch 1970-01-01 
01:00:00.000000000 +0100
+++ mp4h-1.3.1/debian/patches/fix-ftbfs-with-gettext-0.23.patch 2025-03-21 
18:39:24.000000000 +0100
@@ -0,0 +1,22 @@
+Author: Santiago Vila <sanv...@debian.org>
+Bug-Debian: https://bugs.debian.org/1092231
+Date: Mon, 06 Jan 2025 12:09:43 +0000
+Subject: Fix FTBFS with gettext 0.23.x
+
+Many packages may be fixed by using this in configure.in:
+
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.21])
+
+Not only the above seems to fix the problem, it also allows
+several lines in debian/rules to be dropped entirely.
+
+--- mp4h-1.3.1.orig/configure.ac
++++ mp4h-1.3.1/configure.ac
+@@ -58,6 +58,7 @@ AC_MSG_RESULT([no])
+ AC_SUBST([TIDY])
+ 
+ ALL_LINGUAS=
++AM_GNU_GETTEXT_REQUIRE_VERSION([0.21])
+ AM_GNU_GETTEXT([external])
+ 
+ 
diff -Nru mp4h-1.3.1/debian/patches/series mp4h-1.3.1/debian/patches/series
--- mp4h-1.3.1/debian/patches/series    2024-06-03 21:06:14.000000000 +0200
+++ mp4h-1.3.1/debian/patches/series    2025-03-21 18:35:19.000000000 +0100
@@ -8,4 +8,5 @@
 use-system-pcre.diff
 reproducible-build.diff
 fix-spelling-errors.diff
+fix-ftbfs-with-gettext-0.23.patch
 pcre2.patch
diff -Nru mp4h-1.3.1/debian/rules mp4h-1.3.1/debian/rules
--- mp4h-1.3.1/debian/rules     2016-08-12 23:54:16.000000000 +0200
+++ mp4h-1.3.1/debian/rules     2025-03-21 18:34:45.000000000 +0100
@@ -23,14 +23,6 @@
        # Use external PCRE and libtool only
        rm -rf src/ltdl.* ltmain.sh pcre
 
-       test -d m4 || mkdir m4
-       for f in ${GETTEXT_TOP_FILES}; do \
-               cp -f /usr/share/gettext/$$f .; \
-       done
-       for f in ${GETTEXT_PO_FILES}; do \
-               cp -f /usr/share/gettext/po/$$f po/; \
-       done
-
        dh_autoreconf
 
        dh_auto_configure -- \

Reply via email to