mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -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:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user