[packages/liblinphone] Rel 4; build fix
arekm
arekm at pld-linux.org
Sat Aug 2 15:29:57 CEST 2025
commit 39e380d3aa63cec4b6bb005b5bbfd7168ec86cf3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Aug 2 15:29:52 2025 +0200
Rel 4; build fix
build.patch | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
---
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..e952e7f
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,42 @@
+--- liblinphone-5.4.17/coreapi/lpc2xml.c~ 2025-08-02 14:56:53.000000000 +0200
++++ liblinphone-5.4.17/coreapi/lpc2xml.c 2025-08-02 14:59:06.938552983 +0200
+@@ -43,7 +43,8 @@ static xmlChar *convert_iso_to_utf8(cons
+ }
+
+ temp = size - 1;
+- ret = handler->input(out, &out_size, (const xmlChar *)in, &temp);
++ xmlCharEncodingInputFunc inFunc = *(xmlCharEncodingInputFunc *)&handler->input;
++ ret = inFunc(out, &out_size, (const xmlChar *)in, &temp);
+ if (ret < 0 || temp - size + 1) {
+ ms_free(out);
+ return NULL;
+--- liblinphone-5.4.17/console/linphonec.c~ 2025-05-15 12:10:44.000000000 +0200
++++ liblinphone-5.4.17/console/linphonec.c 2025-08-02 15:20:09.706125475 +0200
+@@ -105,7 +105,10 @@ static char **linephonec_readline_comple
+
+ /* These are callback for linphone core */
+ static void linphonec_prompt_for_auth(LinphoneCore *lc, const char *realm, const char *username, const char *domain);
+-static void linphonec_display_refer(LinphoneCore *lc, const char *refer_to);
++static void linphonec_display_refer(LinphoneCore *lc,
++ const LinphoneAddress *refer_to,
++ const LinphoneHeaders *headers,
++ const LinphoneContent *content);
+ static void linphonec_transfer_state_changed(LinphoneCore *lc, LinphoneCall *call, LinphoneCallState new_call_state);
+
+ static void linphonec_notify_presence_received(LinphoneCore *lc, LinphoneFriend *fid);
+@@ -188,8 +191,13 @@ LinphoneCall *linphonec_get_call(int id)
+ /*
+ * Linphone core callback
+ */
+-static void linphonec_display_refer(BCTBX_UNUSED(LinphoneCore *lc), const char *refer_to) {
+- linphonec_out("Receiving out of call refer to %s\n", refer_to);
++static void linphonec_display_refer(BCTBX_UNUSED(LinphoneCore *lc),
++ const LinphoneAddress *refer_to,
++ const LinphoneHeaders *headers,
++ const LinphoneContent *content) {
++ char *uri = linphone_address_as_string(refer_to);
++ linphonec_out("Receiving out of call refer to %s\n", uri);
++ ms_free(uri);
+ }
+
+ /*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/liblinphone.git/commitdiff/39e380d3aa63cec4b6bb005b5bbfd7168ec86cf3
More information about the pld-cvs-commit
mailing list