From 6dcb1198d6ef4b9f57f862e7f41e3f1bc46e10f2b2eb3698c17470cd75e8c27f Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Fri, 5 Jan 2018 12:20:04 +0000 Subject: [PATCH] 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 --- buzztrax.changes | 7 +++++++ buzztrax.spec | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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 \