- Add disable-Werror.patch: disable Werror, patch lifted from debian. Yes this is a bit of a big hammer, but it works. - Following the above, drop 0001-Workaround-compilation-warnings-with-gccs-8.0.patch - Use autosetup and make_build macros. OBS-URL: https://build.opensuse.org/request/show/1084563 OBS-URL: https://build.opensuse.org/package/show/games/tecnoballz?expand=0&rev=14
22 lines
626 B
Diff
22 lines
626 B
Diff
From: Markus Koschany <apo@debian.org>
|
|
Date: Thu, 2 Oct 2014 18:20:23 +0200
|
|
Subject: disable -Werror
|
|
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 67c7ec1..59e260e 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -65,7 +65,7 @@ if test "x${enable_devel}" = "xyes"; then
|
|
AC_DEFINE(UNDER_DEVELOPMENT, 1, Define to enable development version)
|
|
CXXFLAGS="-Werror -O2 -Wall -pedantic -Wextra -std=gnu++98 -g"
|
|
else
|
|
- CXXFLAGS="-O2 -Werror -Wall -pedantic -Wextra -std=gnu++98"
|
|
+ CXXFLAGS="-O2 -Wall -pedantic -Wextra -std=gnu++98"
|
|
fi
|
|
|
|
AC_OUTPUT(
|