aboutsummaryrefslogtreecommitdiff
path: root/games/bitfighter/gcc-5.X.patch
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-29 21:40:28 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit81b34f873003dd3290e0dfdb073c8df003dbc4a8 (patch)
tree4dfa8d6be9e100e472d4f279976b4f9abde2fb5f /games/bitfighter/gcc-5.X.patch
parent679819f921846e25118c346a122de6daf41a744b (diff)
games/bitfighter: Fixed build with gcc-5.3.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/bitfighter/gcc-5.X.patch')
-rw-r--r--games/bitfighter/gcc-5.X.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/bitfighter/gcc-5.X.patch b/games/bitfighter/gcc-5.X.patch
new file mode 100644
index 0000000000000..a6cecd987fd53
--- /dev/null
+++ b/games/bitfighter/gcc-5.X.patch
@@ -0,0 +1,12 @@
+diff -Naur bitfighter-019e.orig/tnl/tnlTypes.h bitfighter-019e/tnl/tnlTypes.h
+--- bitfighter-019e.orig/tnl/tnlTypes.h 2015-05-12 00:58:58.656019389 +0000
++++ bitfighter-019e/tnl/tnlTypes.h 2015-11-15 05:41:54.353333331 +0000
+@@ -333,6 +333,8 @@
+ # define TNL_GCC_3
+ # elif __GNUC__ == 4
+ # define TNL_GCC_4
++# elif __GNUC__ == 5
++# define TNL_GCC_5
+ # else
+ # error "TNL: Unsupported version of GCC (see tnlMethodDispatch.cpp)"
+ # endif