]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ddns: Addition of patch to deal with gettext update to 0.25
authorAdolf Belka <adolf.belka@ipfire.org>
Wed, 14 May 2025 13:15:12 +0000 (15:15 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 May 2025 14:54:12 +0000 (14:54 +0000)
Suggested-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/ddns
src/patches/ddns-014_gettext-0.25_fix.patch [new file with mode: 0644]

index 274c12cb96f58fb2224c32d9f4c3c45c698bb1a1..470157db09be15ae2d60701598ca9403e7fcc8a4 100644 (file)
--- a/lfs/ddns
+++ b/lfs/ddns
@@ -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 \
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 (file)
index 0000000..e12f8fd
--- /dev/null
@@ -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)