From bc67da50b5b315e558f0fd1e830692d02cd5d54e Mon Sep 17 00:00:00 2001 From: nucleo Date: Mon, 26 Dec 2011 07:47:02 +0200 Subject: [PATCH] g_thread_init has been deprecated --- linphone.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/linphone.spec b/linphone.spec index b595688..015f1f1 100644 --- a/linphone.spec +++ b/linphone.spec @@ -68,6 +68,13 @@ Libraries and headers required to develop software with linphone. %setup0 -q %patch0 -p1 -b .unusedvar +# g_thread_init has been deprecated since version 2.32 and should not be used in newly-written code. +# This function is no longer necessary. The GLib threading system is automatically initialized at +# the start of your program. +%if 0%{?fedora} >= 17 +sed -i '/g_thread_init/d' gtk/main.c +%endif + # remove bundled oRTP rm -rf oRTP