Suggested-by: Michael Tremer <michael.tre...@ipfire.org>
Signed-off-by: Adolf Belka <adolf.be...@ipfire.org>
---
 lfs/fireperf                                  |  9 ++++---
 .../fireperf-0.2.0_gettext-0.25_fix.patch     | 26 +++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)
 create mode 100644 src/patches/fireperf-0.2.0_gettext-0.25_fix.patch

diff --git a/lfs/fireperf b/lfs/fireperf
index 1cdd32635..497bba538 100644
--- a/lfs/fireperf
+++ b/lfs/fireperf
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2021  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        #
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = fireperf
-PAK_VER    = 2
+PAK_VER    = 3
 
 DEPS       =
 
@@ -81,10 +81,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 -i 
$(DIR_SRC)/src/patches/fireperf-0.2.0_gettext-0.25_fix.patch
        cd $(DIR_APP) && ./autogen.sh
        cd $(DIR_APP) && ./configure \
-               --prefix=/usr \
-               --disable-man-pages
+                               --prefix=/usr \
+                               --disable-man-pages
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
diff --git a/src/patches/fireperf-0.2.0_gettext-0.25_fix.patch 
b/src/patches/fireperf-0.2.0_gettext-0.25_fix.patch
new file mode 100644
index 000000000..8bd152e79
--- /dev/null
+++ b/src/patches/fireperf-0.2.0_gettext-0.25_fix.patch
@@ -0,0 +1,26 @@
+diff -Naur fireperf-0.2.0.orig/autogen.sh fireperf-0.2.0/autogen.sh
+--- fireperf-0.2.0.orig/autogen.sh     2021-02-23 16:06:33.000000000 +0100
++++ fireperf-0.2.0/autogen.sh  2025-05-14 10:03:40.623918720 +0200
+@@ -8,8 +8,9 @@
+         echo "Activated pre-commit hook."
+ fi
+ 
++autopoint
+ intltoolize --force --automake
+-autoreconf --install --symlink
++autoreconf --install --symlink --force
+ 
+ libdir() {
+         echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
+diff -Naur fireperf-0.2.0.orig/configure.ac fireperf-0.2.0/configure.ac
+--- fireperf-0.2.0.orig/configure.ac   2021-02-23 16:06:33.000000000 +0100
++++ fireperf-0.2.0/configure.ac        2025-05-13 20:47:20.578717837 +0200
+@@ -28,6 +28,8 @@
+       pic-only
+ ])
+ AC_PREFIX_DEFAULT([/usr])
++AM_GNU_GETTEXT_VERSION(0.25)
++AM_GNU_GETTEXT([external])
+ 
+ IT_PROG_INTLTOOL([0.40.0])
+ 
-- 
2.49.0


Reply via email to