sipgrep: fix compilation with GCC14 869/head
authorRosen Penev <[email protected]>
Thu, 16 May 2024 23:07:23 +0000 (16:07 -0700)
committerRosen Penev <[email protected]>
Sun, 9 Jun 2024 04:20:50 +0000 (21:20 -0700)
Upstream PR.

Signed-off-by: Rosen Penev <[email protected]>
net/sipgrep/Makefile
net/sipgrep/patches/010-gcc14.patch [new file with mode: 0644]

index e5cadc6aa201c8dd7d46a2e8f43bba84e812fdb5..3fa4d74586d91e2326828e8e7124bfdbb6134854 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sipgrep
 PKG_VERSION:=2.2.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
diff --git a/net/sipgrep/patches/010-gcc14.patch b/net/sipgrep/patches/010-gcc14.patch
new file mode 100644 (file)
index 0000000..231f397
--- /dev/null
@@ -0,0 +1,21 @@
+From f6a28e1f2164e2550226680b3646e3434a6aa668 Mon Sep 17 00:00:00 2001
+From: Victor Seva <[email protected]>
+Date: Mon, 25 Mar 2024 16:23:06 +0100
+Subject: [PATCH] add missing include for inet_pton()
+
+Reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067666
+---
+ src/transport_hep.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/transport_hep.c
++++ b/src/transport_hep.c
+@@ -19,7 +19,7 @@
+  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+  *
+  */
+-
++#include <arpa/inet.h>
+ #include <sys/socket.h>
+ #include <stdlib.h>       
+ #include <stdio.h>