gperf: Update to version 3.3

Message ID 20250524143655.3304593-3-adolf.belka@ipfire.org
State Staged
Commit f6e011f7a1b237ab7f34867c112d64fa26b89c59
Headers
Series gperf: Update to version 3.3 |

Commit Message

Adolf Belka May 24, 2025, 2:36 p.m. UTC
  - Update from version 3.1 to 3.3
- Update of rootfile not required
- Changelog
    3.3
	* Speedup: gperf is now between 2x and 2.5x faster.
    3.2.1
	* The generated code avoids -Wundef warnings in C++ mode.
    3.2
	* The input file may now use Windows line terminators (CR/LF) instead of
	  Unix line terminators (LF).
	  Note: This is an incompatible change. If you want to use a keyword that
	  ends in a CR byte, such as xyz<CR>, write it as "xyz\r".
	* The generated code avoids several types of warnings:
	  - "implicit fallthrough" warnings in 'switch' statements.
	  - "unused parameter" warnings regarding 'str' or 'len'.
	  - "missing initializer for field ..." warnings.
	  - "zero as null pointer constant" warnings.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/gperf | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
  

Patch

diff --git a/lfs/gperf b/lfs/gperf
index c617af0c5..bc17fd777 100644
--- a/lfs/gperf
+++ b/lfs/gperf
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  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        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 3.1
+VER        = 3.3
 
 THISAPP    = gperf-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -39,7 +39,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = bc4c54ade3f7dce484714d77cb5759dcc02b7a607d7b1aff6bdbcd06ee4c83e9449038a7217d5f25bcbef058ba56e1fce9383b9599de005154e5a9b566ac9c69
+$(DL_FILE)_BLAKE2 = 76fd532c4443d27031c8b2dbceaa985d0d3eed8d66f2ba2d128d027ecec0175717ab1468236b0b0405445e7457076a802458e326d5023ce28869e478ca622fa9
 
 install : $(TARGET)
 
@@ -69,7 +69,9 @@  $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr \
+				--disable-nls
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)