diff --git a/cdemu-daemon.changes b/cdemu-daemon.changes index 954d467..d654980 100644 --- a/cdemu-daemon.changes +++ b/cdemu-daemon.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Apr 13 21:03:26 UTC 2013 - jengelh@inai.de + +- Resolve build failure with glib 2.36 by allowing deprecated + functions for the time being (-UG_DISABLE_DEPRECATED) + ------------------------------------------------------------------- Sat Dec 22 08:23:15 UTC 2012 - jengelh@inai.de diff --git a/cdemu-daemon.spec b/cdemu-daemon.spec index 0412b05..dd3fecc 100644 --- a/cdemu-daemon.spec +++ b/cdemu-daemon.spec @@ -58,9 +58,11 @@ that can be used by clients to control it. %patch -P 1 -p1 %build +# cdemu-daemon still uses deprecated g_thread_init, so use +# G_DISABLE_DEPRECATED. cmake . -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ -DCMAKE_INSTALL_LIBEXECDIR:PATH="%_libexecdir" \ - -DCMAKE_C_FLAGS:STRING="%optflags"; + -DCMAKE_C_FLAGS:STRING="%optflags -UG_DISABLE_DEPRECATED"; make %{?_smp_mflags}; %install