[3/4] ddns: Addition of patch to deal with gettext update to 0.25
Commit Message
Suggested-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@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
@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2025 IPFire Team <info@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 \
new file mode 100644
@@ -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)