diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-05-16 20:31:05 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-05-16 20:31:05 +0000 |
commit | 341ae95f0ff751494e06b082f28cc2ee0a37a015 (patch) | |
tree | f0b279a9dd3c5fb771f249c9feca6de8ebcc430c /net/linphone/files | |
parent | d20441355478abe23b5793ad736b8530ad170808 (diff) | |
download | ports-341ae95f0ff751494e06b082f28cc2ee0a37a015.tar.gz ports-341ae95f0ff751494e06b082f28cc2ee0a37a015.zip |
Notes
Diffstat (limited to 'net/linphone/files')
-rw-r--r-- | net/linphone/files/patch-gtk-main.c | 26 | ||||
-rw-r--r-- | net/linphone/files/patch-gtk-status_icon.c | 19 |
2 files changed, 45 insertions, 0 deletions
diff --git a/net/linphone/files/patch-gtk-main.c b/net/linphone/files/patch-gtk-main.c new file mode 100644 index 000000000000..cb511cc2e03c --- /dev/null +++ b/net/linphone/files/patch-gtk-main.c @@ -0,0 +1,26 @@ +--- gtk/main.c.orig 2015-05-13 14:47:31 UTC ++++ gtk/main.c +@@ -1919,9 +1919,7 @@ void linphone_gtk_log_handler(OrtpLogLev + if (verbose){ + const char *lname="undef"; + char *msg; +-#if defined(__linux) || defined(__APPLE__) + va_list cap;/*copy of our argument list: a va_list cannot be re-used (SIGSEGV on linux 64 bits)*/ +-#endif + switch(lev){ + case ORTP_DEBUG: + lname="debug"; +@@ -1941,13 +1939,9 @@ void linphone_gtk_log_handler(OrtpLogLev + default: + g_error("Bad level !"); + } +-#if defined(__linux) || defined(__APPLE__) + va_copy(cap,args); + msg=g_strdup_vprintf(fmt,cap); + va_end(cap); +-#else +- msg=g_strdup_vprintf(fmt,args); +-#endif + fprintf(stdout,"linphone-%s : %s\n",lname,msg); + ortp_free(msg); + } diff --git a/net/linphone/files/patch-gtk-status_icon.c b/net/linphone/files/patch-gtk-status_icon.c new file mode 100644 index 000000000000..9d5ad0bdd9da --- /dev/null +++ b/net/linphone/files/patch-gtk-status_icon.c @@ -0,0 +1,19 @@ +--- gtk/status_icon.c.orig 2015-05-13 14:47:31 UTC ++++ gtk/status_icon.c +@@ -25,7 +25,6 @@ Foundation, Inc., 59 Temple Place - Suit + #endif + + #if !defined(WIN32) && !defined(__APPLE__) && GLIB_CHECK_VERSION(2, 26, 0) +-#define STATUS_NOTIFIER_IS_USABLE 1 + #endif + + #include "status_notifier.h" +@@ -195,7 +194,7 @@ static LinphoneStatusIcon *_linphone_sta + } + + static void _linphone_status_icon_free(LinphoneStatusIcon *obj) { +- if(obj->desc->uninit) obj->desc->uninit(obj->data); ++ if(obj->desc->uninit) obj->desc->uninit(obj); + if(obj->params) linphone_status_icon_params_unref(obj->params); + g_free(obj); + } |