1
0
forked from pool/cdemu-daemon

Accepting request 171058 from filesystems

- Resolve build failure with glib 2.36 by allowing deprecated
  functions for the time being (-UG_DISABLE_DEPRECATED)

OBS-URL: https://build.opensuse.org/request/show/171058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdemu-daemon?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2013-04-17 15:37:49 +00:00 committed by Git OBS Bridge
commit 31bcf725df
2 changed files with 9 additions and 1 deletions

View File

@ -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 Sat Dec 22 08:23:15 UTC 2012 - jengelh@inai.de

View File

@ -58,9 +58,11 @@ that can be used by clients to control it.
%patch -P 1 -p1 %patch -P 1 -p1
%build %build
# cdemu-daemon still uses deprecated g_thread_init, so use
# G_DISABLE_DEPRECATED.
cmake . -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ cmake . -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DCMAKE_INSTALL_LIBEXECDIR:PATH="%_libexecdir" \ -DCMAKE_INSTALL_LIBEXECDIR:PATH="%_libexecdir" \
-DCMAKE_C_FLAGS:STRING="%optflags"; -DCMAKE_C_FLAGS:STRING="%optflags -UG_DISABLE_DEPRECATED";
make %{?_smp_mflags}; make %{?_smp_mflags};
%install %install