diff options
| author | Christian Marangi | 2025-11-05 21:05:14 +0000 |
|---|---|---|
| committer | Christian Marangi | 2025-11-05 21:05:14 +0000 |
| commit | e8322b22d6743a148dc69d1cbb5ca254e3966c7b (patch) | |
| tree | c2f26811be4f7b3db7dea79913b0331b72267bb7 | |
| parent | 44d6355a7b2d69dd25d73913811b421fc504b836 (diff) | |
| download | telephony-e8322b22d6743a148dc69d1cbb5ca254e3966c7b.tar.gz | |
sofia-sip: backport patch fixing support for GCC 14
Backport patch fixing support for GCC 14. While at it also renumber the
other patch with 1xx order to follow usual pattern for downstream patch.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
| -rw-r--r-- | libs/sofia-sip/patches/001-Fix-incompatible-pointer-type-in-sip_basic.c-249.patch | 21 | ||||
| -rw-r--r-- | libs/sofia-sip/patches/100-disable-libcheck.patch (renamed from libs/sofia-sip/patches/01-disable-libcheck.patch) | 0 |
2 files changed, 21 insertions, 0 deletions
diff --git a/libs/sofia-sip/patches/001-Fix-incompatible-pointer-type-in-sip_basic.c-249.patch b/libs/sofia-sip/patches/001-Fix-incompatible-pointer-type-in-sip_basic.c-249.patch new file mode 100644 index 0000000..106c416 --- /dev/null +++ b/libs/sofia-sip/patches/001-Fix-incompatible-pointer-type-in-sip_basic.c-249.patch @@ -0,0 +1,21 @@ +From 43f41d153f8034288083a440b1569d63f431f1b9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net> +Date: Tue, 10 Jun 2025 23:49:48 +0300 +Subject: [PATCH] Fix incompatible pointer type in sip_basic.c (#249) + +Closes #248 +--- + libsofia-sip-ua/sip/sip_basic.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- 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, + 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; + } diff --git a/libs/sofia-sip/patches/01-disable-libcheck.patch b/libs/sofia-sip/patches/100-disable-libcheck.patch index 3d1c04b..3d1c04b 100644 --- a/libs/sofia-sip/patches/01-disable-libcheck.patch +++ b/libs/sofia-sip/patches/100-disable-libcheck.patch |