aboutsummaryrefslogtreecommitdiff
path: root/games/glob2
diff options
context:
space:
mode:
Diffstat (limited to 'games/glob2')
-rw-r--r--games/glob2/fix-ftbfs-gcc49.diff15
-rw-r--r--games/glob2/glob2.SlackBuild1
2 files changed, 16 insertions, 0 deletions
diff --git a/games/glob2/fix-ftbfs-gcc49.diff b/games/glob2/fix-ftbfs-gcc49.diff
new file mode 100644
index 0000000000000..061146a46848d
--- /dev/null
+++ b/games/glob2/fix-ftbfs-gcc49.diff
@@ -0,0 +1,15 @@
+Index: glob2-0.9.4.4/src/Game.h
+===================================================================
+--- glob2-0.9.4.4.orig/src/Game.h 2014-07-14 10:36:36.705074927 +0800
++++ glob2-0.9.4.4/src/Game.h 2014-07-14 10:38:28.733077827 +0800
+@@ -148,7 +148,8 @@
+ TOP_TO_BOTTOM,
+ BOTTOM_TO_TOP
+ };
+-
++
++public:
+ struct BuildProject
+ {
+ int posX;
+
diff --git a/games/glob2/glob2.SlackBuild b/games/glob2/glob2.SlackBuild
index 1d5973bc9f3e1..1e62ddebd4416 100644
--- a/games/glob2/glob2.SlackBuild
+++ b/games/glob2/glob2.SlackBuild
@@ -71,6 +71,7 @@ find -L . \
patch -p1 < $CWD/TextStream_headers.patch
patch -p1 < $CWD/SConstruct_boost.patch
+patch -p1 < $CWD/fix-ftbfs-gcc49.diff
mkdir -p $PKG/usr/bin \
$PKG/usr/share/games/$PRGNAM