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
This commit is contained in:
Dave Plater 2018-03-24 06:31:20 +00:00 committed by Git OBS Bridge
parent 6dcb1198d6
commit 629fc546b3
2 changed files with 7 additions and 1 deletions

View File

@ -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 Fri Jan 5 12:12:57 UTC 2018 - davejplater@gmail.com

View File

@ -219,7 +219,7 @@ export CXX=g++-7
%endif %endif
export CFLAGS="%{optflags} -Wno-error=deprecated-declarations" export CFLAGS="%{optflags} -Wno-error=deprecated-declarations"
%if 0%{?gcc_version} >= 7 %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 %endif
/bin/sh ./autogen.sh --noconfigure /bin/sh ./autogen.sh --noconfigure