Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sipgrep: fix compilation with GCC14 #869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion net/sipgrep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
21 changes: 21 additions & 0 deletions net/sipgrep/patches/010-gcc14.patch
Original file line number Diff line number Diff line change
@@ -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>
Loading