[gnurobbo] 01/01: Build with GCC 7

Stephen Kitt skitt at moszumanska.debian.org
Sat Aug 5 19:18:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository gnurobbo.

commit b376fcefa7e76f87346df4637c1a68af699b0eb3
Author: Stephen Kitt <steve at sk2.org>
Date:   Sat Aug 5 21:18:22 2017 +0200

    Build with GCC 7
---
 debian/changelog           |  7 +++++++
 debian/patches/gcc-7.patch | 14 ++++++++++++++
 debian/patches/series      |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c1e6847..7d849fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gnurobbo (0.68+dfsg-3) UNRELEASED; urgency=medium
+
+  * Drop -d from CFLAGS so the package will build with GCC 7
+    (closes: #853427).
+
+ -- Stephen Kitt <skitt at debian.org>  Sat, 05 Aug 2017 21:17:27 +0200
+
 gnurobbo (0.68+dfsg-2) unstable; urgency=medium
 
   * Switch to https: VCS URIs (see #810378).
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
new file mode 100644
index 0000000..84a7567
--- /dev/null
+++ b/debian/patches/gcc-7.patch
@@ -0,0 +1,14 @@
+Description: Drop -d which causes an error with GCC 7
+Author: Stephen Kitt <skitt at debian.org>
+
+--- a/Makefile
++++ b/Makefile
+@@ -61,7 +61,7 @@
+ 
+ 
+ 
+-CFLAGS+=-d -Wall  `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" $(SMOOTH_SCRL) $(LIGHTNING)\
++CFLAGS+=-Wall  `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" $(SMOOTH_SCRL) $(LIGHTNING)\
+ 	-DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER)
+ LDFLAGS?=
+ # Use these instead for debugging and/or profiling (mainly intended for GNU Robbo developers)
diff --git a/debian/patches/series b/debian/patches/series
index 8fe44ce..9827317 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 format-security.patch
 Makefile.diff
 reproducible-build.patch
+gcc-7.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/gnurobbo.git



More information about the Pkg-games-commits mailing list