Suggested-by: Michael Tremer <michael.tre...@ipfire.org>
Signed-off-by: Adolf Belka <adolf.be...@ipfire.org>
---
 lfs/ddns                                    |  3 ++-
 src/patches/ddns-014_gettext-0.25_fix.patch | 24 +++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 src/patches/ddns-014_gettext-0.25_fix.patch

diff --git a/lfs/ddns b/lfs/ddns
index 274c12cb9..470157db0 100644
--- a/lfs/ddns
+++ b/lfs/ddns
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2022  IPFire Team  <i...@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <i...@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -74,6 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # Apply upstream patches.
        cd $(DIR_APP) && patch -Np1 -i 
$(DIR_SRC)/src/patches/ddns-014-freednsafraid-fix-typo.patch
        cd $(DIR_APP) && patch -Np1 -i 
$(DIR_SRC)/src/patches/ddns-system-Catch-exception-when-host-is-not-dual-stacked.patch
+       cd $(DIR_APP) && patch -Np1 -i 
$(DIR_SRC)/src/patches/ddns-014_gettext-0.25_fix.patch
 
        cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
        cd $(DIR_APP) && ./configure \
diff --git a/src/patches/ddns-014_gettext-0.25_fix.patch 
b/src/patches/ddns-014_gettext-0.25_fix.patch
new file mode 100644
index 000000000..e12f8fd28
--- /dev/null
+++ b/src/patches/ddns-014_gettext-0.25_fix.patch
@@ -0,0 +1,24 @@
+diff -Naur ddns-014.orig/autogen.sh ddns-014/autogen.sh
+--- ddns-014.orig/autogen.sh   2021-07-12 17:29:29.000000000 +0200
++++ ddns-014/autogen.sh        2025-05-14 10:51:56.418304212 +0200
+@@ -1,4 +1,5 @@
+ #!/bin/sh
+ 
++autopoint
+ intltoolize --force --automake
+ autoreconf --force --install --symlink
+diff -Naur ddns-014.orig/configure.ac ddns-014/configure.ac
+--- ddns-014.orig/configure.ac 2021-07-12 17:29:29.000000000 +0200
++++ ddns-014/configure.ac      2025-05-14 10:50:38.840855781 +0200
+@@ -42,7 +42,10 @@
+ ])
+ AM_SILENT_RULES([yes])
+ 
+-IT_PROG_INTLTOOL([0.40.0])
++AM_GNU_GETTEXT_VERSION(0.25)
++AM_GNU_GETTEXT([external])
++
++IT_PROG_INTLTOOL([0.51.0])
+ 
+ GETTEXT_PACKAGE=ddns
+ AC_SUBST(GETTEXT_PACKAGE)
-- 
2.49.0


Reply via email to