sipp: bump to 3.7.5 and add fixup for Fortify Source headers
authorChristian Marangi <[email protected]>
Sun, 9 Nov 2025 20:28:14 +0000 (21:28 +0100)
committerChristian Marangi <[email protected]>
Sun, 9 Nov 2025 20:28:14 +0000 (21:28 +0100)
Bump sipp to 3.7.5 to handle CMake new requirement and add a fixup patch
to fix Fortify Source headers usage.

While at it renumber the patch to follow the pattern with 1xx number for
downstream patch.

Signed-off-by: Christian Marangi <[email protected]>
net/sipp/Makefile
net/sipp/patches/01-locale-include.patch [deleted file]
net/sipp/patches/100-locale-include.patch [new file with mode: 0644]
net/sipp/patches/101-Disable-pedantic-for-FORTIFY_SOURCE-usage.patch [new file with mode: 0644]

index 1c2a32867344479916ea2ba75773b6759b3a6e7b..38eab73904811824d3a391872dd23d67e2059159 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sipp
-PKG_VERSION:=3.7.2
+PKG_VERSION:=3.7.5
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/SIPp/sipp/releases/download/v$(PKG_VERSION)
-PKG_HASH:=7c3a9864b3a966ac9f7a3205255a2fc328490de324b7a27636f9582879f0526e
+PKG_HASH:=0d202f562fcc9f5aee578d5e9383fb321a69e1b04f1785757eccfba2fc5eeefe
 
 PKG_LICENSE:=GPL-2.0+ BSD-3-Clause Zlib
 PKG_LICENSE_FILES:=LICENSE.txt
diff --git a/net/sipp/patches/01-locale-include.patch b/net/sipp/patches/01-locale-include.patch
deleted file mode 100644 (file)
index 5562297..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/screen.cpp
-+++ b/src/screen.cpp
-@@ -18,6 +18,7 @@
-  */
- #include <curses.h>
-+#include <locale.h>
- #include "screen.hpp"
- #include "sipp.hpp"
diff --git a/net/sipp/patches/100-locale-include.patch b/net/sipp/patches/100-locale-include.patch
new file mode 100644 (file)
index 0000000..5562297
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/screen.cpp
++++ b/src/screen.cpp
+@@ -18,6 +18,7 @@
+  */
+ #include <curses.h>
++#include <locale.h>
+ #include "screen.hpp"
+ #include "sipp.hpp"
diff --git a/net/sipp/patches/101-Disable-pedantic-for-FORTIFY_SOURCE-usage.patch b/net/sipp/patches/101-Disable-pedantic-for-FORTIFY_SOURCE-usage.patch
new file mode 100644 (file)
index 0000000..6f274ee
--- /dev/null
@@ -0,0 +1,26 @@
+From bf6c3353d40c0c71f6ffe0d61628af91afca61c5 Mon Sep 17 00:00:00 2001
+From: Christian Marangi <[email protected]>
+Date: Sun, 9 Nov 2025 21:23:32 +0100
+Subject: [PATCH] Disable -pedantic for FORTIFY_SOURCE usage
+
+-pedantic enable again compilation warning (and error with -Werror) with
+GCC extension #include_next used when Fortify Source headers are used.
+
+Remove it to fix compilation errors.
+
+Signed-off-by: Christian Marangi <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -10,7 +10,7 @@ set(CMAKE_CXX_EXTENSIONS False)
+ # specify the C++ standard on older CMake (<3.8)
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -pedantic -Wno-deprecated-copy -Wno-array-bounds")
++  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wno-deprecated-copy -Wno-array-bounds")
+ endif()
+ # Include binary dir first, where we add generated config.h and