[powermanga] 38/41: Add no-pedantic-build.patch.
Markus Koschany
apo-guest at moszumanska.debian.org
Thu Jun 25 18:55:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository powermanga.
commit e924d97896950a35f1feb1596f5b667c5fba04db
Author: Markus Koschany <apo at gambaru.de>
Date: Thu Jun 25 20:04:30 2015 +0200
Add no-pedantic-build.patch.
Do not treat compiler warnings as errors. Fixes FTBFS with GCC-5.
Closes: #778072
---
debian/patches/no-pedantic-build.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/no-pedantic-build.patch b/debian/patches/no-pedantic-build.patch
new file mode 100644
index 0000000..843c70f
--- /dev/null
+++ b/debian/patches/no-pedantic-build.patch
@@ -0,0 +1,21 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Thu, 25 Jun 2015 20:04:04 +0200
+Subject: no pedantic build
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index a502f5f..49db5dd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -54,7 +54,7 @@ if test "x${enable_devel}" = "xyes"; then
+ AC_DEFINE(USE_MALLOC_WRAPPER, 1, Define to use a malloc wrapper)
+ CFLAGS="-Wall -Werror -pedantic -Wextra -std=gnu99 -g"
+ else
+- CFLAGS="-O3 -Werror -Wall -pedantic -Wextra -std=gnu99 $CFLAGS"
++ CFLAGS="-O3 -Werror -Wall -Wextra -std=gnu99 $CFLAGS"
+ fi
+
+ dnl Check for SDL_mixer
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..193969b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-pedantic-build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/powermanga.git
More information about the Pkg-games-commits
mailing list