-
Notifications
You must be signed in to change notification settings - Fork 691
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main/sofia-sip: fix build with gcc 14
patch from freeswitch/sofia-sip#249
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Maintainer: Francesco Colista <[email protected]> | ||
pkgname=sofia-sip | ||
pkgver=1.13.17 | ||
pkgrel=0 | ||
pkgrel=1 | ||
pkgdesc="RFC3261 compliant SIP User-Agent library" | ||
url="https://github.com/freeswitch/sofia-sip" | ||
arch="all" | ||
|
@@ -14,6 +14,7 @@ checkdepends="check-dev" | |
subpackages="$pkgname-dev $pkgname-dbg" | ||
source="$pkgname-$pkgver.tar.gz::https://github.com/freeswitch/sofia-sip/archive/v$pkgver.tar.gz | ||
Support-forking-SIP-calls.patch | ||
gcc14.patch | ||
" | ||
|
||
# secfixes: | ||
|
@@ -53,5 +54,6 @@ doc() { | |
} | ||
sha512sums=" | ||
356577d415d6dc4191f0f49f7fa1d6f33fafdb9e455556f83e091159055a215fc1ebfa9c7dc23b5f5e533b85e23afa7b1444170419fdf137aeb2ea048de77e08 sofia-sip-1.13.17.tar.gz | ||
e79ba6dbc742e0dba9bb7364cf78cf192950900c139f74a59dd4e1713e97d947959a4d4987c06d29fadfd9e7dd0f970389ba640756a88e80f3093d697396a1e4 Support-forking-SIP-calls.patch | ||
2134fa566b9e8b6d37be3f8d4713ad4e62432cfede36de8a9a492d27e17f90c6d91a585a1f43cf6d111c695c400ee720a82f0a7daf251213a2599f3b360d6ed2 Support-forking-SIP-calls.patch | ||
ff201006536cf56be718e81a69f893de2f89ae0eaf904b5f32f45ff7c79371acf5a55f0788dbcb087c21c3d028e92fc2770a8880f7abbcf01c2cf27708722933 gcc14.patch | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From 46b02f0655af0a9594e805f09a8ee99278f84777 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <[email protected]> | ||
Date: Mon, 19 Feb 2024 09:06:20 +0200 | ||
Subject: [PATCH] Fix incompatible pointer type in sip_basic.c | ||
|
||
Closes #248 | ||
--- | ||
libsofia-sip-ua/sip/sip_basic.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/libsofia-sip-ua/sip/sip_basic.c b/libsofia-sip-ua/sip/sip_basic.c | ||
index 3444fb25..82e824e3 100644 | ||
--- a/libsofia-sip-ua/sip/sip_basic.c | ||
+++ b/libsofia-sip-ua/sip/sip_basic.c | ||
@@ -2901,7 +2901,7 @@ issize_t sip_identity_d(su_home_t *home, sip_header_t *h, char *s, isize_t slen) | ||
ext = strchr(ppt, ';'); | ||
|
||
if (ext) { | ||
- msg_param_t *params = su_alloc(home, sizeof(msg_param_t)); | ||
+ msg_param_t const *params = su_alloc(home, sizeof(msg_param_t)); | ||
if (msg_params_d(home, &ext, ¶ms) >= 0) { | ||
id->id_info_params = params; | ||
} |