[bloboats] 10/16: Add gcc-6-FTBFS.patch

Markus Koschany apo at moszumanska.debian.org
Sun Jul 10 20:52:53 UTC 2016


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

apo pushed a commit to branch master
in repository bloboats.

commit 3755461c88d01d6fe309884ed3099c96a34aa4a0
Author: Markus Koschany <apo at debian.org>
Date:   Sun Jul 10 22:21:49 2016 +0200

    Add gcc-6-FTBFS.patch
---
 debian/patches/gcc-6-FTBFS.patch | 23 +++++++++++++++++++++++
 debian/patches/series            |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/gcc-6-FTBFS.patch b/debian/patches/gcc-6-FTBFS.patch
new file mode 100644
index 0000000..48780ec
--- /dev/null
+++ b/debian/patches/gcc-6-FTBFS.patch
@@ -0,0 +1,23 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 10 Jul 2016 22:21:30 +0200
+Subject: gcc-6 FTBFS
+
+---
+ src/menu.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/menu.cpp b/src/menu.cpp
+index afa3752..231122d 100644
+--- a/src/menu.cpp
++++ b/src/menu.cpp
+@@ -917,8 +917,8 @@ void menu::simulate(Uint32 level, char *replay) {
+ 				exit(1);
+ 			}
+ 
+-			ghostfile=false;
+-			ghost=false;
++			ghostfile=0;
++			ghost=0;
+ 		} else {
+ 			Uint32 ghostlevel = 0;
+ 			compat::FromFile_Int(ghostfile, &ghostlevel); // read level number from ghost file
diff --git a/debian/patches/series b/debian/patches/series
index 714b0dc..8103ca7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 03-uint32.patch
 Hardening.patch
 gcc-6.patch
+gcc-6-FTBFS.patch

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



More information about the Pkg-games-commits mailing list