Accepting request 561869 from home:plater
Fix build against fluidsynth-1.1.9 by adding workaround flag -Wno-error=deprecated-declarations. Reported upstream: https://github.com/Buzztrax/buzztrax/issues/74 OBS-URL: https://build.opensuse.org/request/show/561869 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=34
This commit is contained in:
parent
16bcbae54e
commit
6dcb1198d6
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 5 12:12:57 UTC 2018 - davejplater@gmail.com
|
||||
|
||||
- Fix build against fluidsynth-1.1.9 by adding workaround flag
|
||||
-Wno-error=deprecated-declarations. Reported upstream:
|
||||
https://github.com/Buzztrax/buzztrax/issues/74
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 30 15:58:00 UTC 2017 - davejplater@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package buzztrax
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -217,9 +217,11 @@ export CC=gcc-7
|
||||
export CPP=cpp-7
|
||||
export CXX=g++-7
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
|
||||
%if 0%{?gcc_version} >= 7
|
||||
export CFLAGS="%{optflags} -Wno-error=format-truncation= -Wno-error=format-overflow="
|
||||
export CFLAGS="$CFLAGS -Wno-error=format-truncation= -Wno-error=format-overflow="
|
||||
%endif
|
||||
|
||||
/bin/sh ./autogen.sh --noconfigure
|
||||
%configure --disable-static \
|
||||
--disable-schemas-compile \
|
||||
|
Loading…
Reference in New Issue
Block a user