From 629fc546b3cf8116035f9ad9711d8eab887e4e86816900132c55bde7818cf9e5 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Sat, 24 Mar 2018 06:31:20 +0000 Subject: [PATCH] Accepting request 590798 from home:plater - Fix build with -Wno-error=incompatible-pointer-types reported upstream https://github.com/Buzztrax/buzztrax/issues/74 OBS-URL: https://build.opensuse.org/request/show/590798 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=36 --- buzztrax.changes | 6 ++++++ buzztrax.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/buzztrax.changes b/buzztrax.changes index 12aef09..cf4cd69 100644 --- a/buzztrax.changes +++ b/buzztrax.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 24 06:22:13 UTC 2018 - davejplater@gmail.com + +- Fix build with -Wno-error=incompatible-pointer-types reported + upstream https://github.com/Buzztrax/buzztrax/issues/74 + ------------------------------------------------------------------- Fri Jan 5 12:12:57 UTC 2018 - davejplater@gmail.com diff --git a/buzztrax.spec b/buzztrax.spec index ac978a4..1f2280c 100644 --- a/buzztrax.spec +++ b/buzztrax.spec @@ -219,7 +219,7 @@ export CXX=g++-7 %endif export CFLAGS="%{optflags} -Wno-error=deprecated-declarations" %if 0%{?gcc_version} >= 7 -export CFLAGS="$CFLAGS -Wno-error=format-truncation= -Wno-error=format-overflow=" +export CFLAGS="$CFLAGS -Wno-error=format-truncation= -Wno-error=format-overflow= -Wno-error=incompatible-pointer-types" %endif /bin/sh ./autogen.sh --noconfigure