diff --git a/buzztrax.changes b/buzztrax.changes index a5258bb..12aef09 100644 --- a/buzztrax.changes +++ b/buzztrax.changes @@ -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 diff --git a/buzztrax.spec b/buzztrax.spec index 4698f59..ac978a4 100644 --- a/buzztrax.spec +++ b/buzztrax.spec @@ -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 \