summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slachta2025-05-25 07:44:55 +0000
committerGitHub2025-05-25 07:44:55 +0000
commit8d913746898c5a789ed9f750c10d81be262b08b8 (patch)
treec0a6453f4a54fa7cb4e051cd93220261b9108cb7
parent84f0d1f91b3bf221b45a220bf1f89537543e2ba4 (diff)
parentea3c109727a5a2d7ddb99c27ebb0cf412a1a1558 (diff)
downloadtelephony-8d913746898c5a789ed9f750c10d81be262b08b8.tar.gz
Merge pull request #869 from neheb/4
sipgrep: fix compilation with GCC14
-rw-r--r--net/sipgrep/Makefile2
-rw-r--r--net/sipgrep/patches/010-gcc14.patch21
2 files changed, 22 insertions, 1 deletions
diff --git a/net/sipgrep/Makefile b/net/sipgrep/Makefile
index 04fba06..111832e 100644
--- a/net/sipgrep/Makefile
+++ b/net/sipgrep/Makefile
@@ -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
index 0000000..231f397
--- /dev/null
+++ b/net/sipgrep/patches/010-gcc14.patch
@@ -0,0 +1,21 @@
+From f6a28e1f2164e2550226680b3646e3434a6aa668 Mon Sep 17 00:00:00 2001
+From: Victor Seva <linuxmaniac@torreviejawireless.org>
+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>