mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
net-libs/sofia-sip: fix build with gcc14
Closes: https://bugs.gentoo.org/932484 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
479b74bf4c
commit
ba7491a444
12
net-libs/sofia-sip/files/sofia-sip-1.13.17-gcc14.patch
Normal file
12
net-libs/sofia-sip/files/sofia-sip-1.13.17-gcc14.patch
Normal file
@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/932484
|
||||
--- 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;
|
||||
}
|
@ -38,6 +38,11 @@ DOCS=(
|
||||
docs/.
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# fix build with gcc14
|
||||
"${FILESDIR}/${P}-gcc14.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
local -a TESTS_DESELECT=(
|
||||
# Avoid tests that make too many assumptions about the
|
||||
|
Loading…
x
Reference in New Issue
Block a user