summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2017-04-27 22:18:16 +0100
committerJames Le Cuirot <chewi@gentoo.org>2017-04-27 22:41:27 +0100
commitefe0a6b71b3d882ed68904026c5bc4a58d29313d (patch)
tree129ea1c4ba7303c8ffaf084d30d7693e24487b5f /games-action/dxx-rebirth/files
parentgames-action/descent2-vertigo: New package, closes bug #369399 (diff)
downloadgentoo-efe0a6b71b3d882ed68904026c5bc4a58d29313d.tar.gz
gentoo-efe0a6b71b3d882ed68904026c5bc4a58d29313d.tar.bz2
gentoo-efe0a6b71b3d882ed68904026c5bc4a58d29313d.zip
games-action/dxx-rebirth: New package to replace d[12]x-rebirth
Thanks to Alexander Turenko for his input on this. Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'games-action/dxx-rebirth/files')
-rw-r--r--games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-flags.patch10
-rw-r--r--games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-sharepath.patch11
2 files changed, 21 insertions, 0 deletions
diff --git a/games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-flags.patch b/games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-flags.patch
new file mode 100644
index 000000000000..75c3a64f893b
--- /dev/null
+++ b/games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-flags.patch
@@ -0,0 +1,10 @@
+--- dxx-rebirth_v0.59.100-src/SConstruct 2016-12-12 02:47:40.000000000 +0300
++++ dxx-rebirth_v0.59.100-src/SConstruct 2016-12-28 02:11:16.657874914 +0300
+@@ -3488,7 +3488,6 @@
+ env = self.env
+ user_settings = self.user_settings
+
+- env.Prepend(CXXFLAGS = ['-g', '-O2'])
+ # Raspberry Pi?
+ if user_settings.raspberrypi:
+ rpi_vc_path = user_settings.rpi_vc_path
diff --git a/games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-sharepath.patch b/games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-sharepath.patch
new file mode 100644
index 000000000000..ee1b6bb9ea05
--- /dev/null
+++ b/games-action/dxx-rebirth/files/dxx-rebirth-0.59.100-sharepath.patch
@@ -0,0 +1,11 @@
+--- dxx-rebirth_v0.59.100-src/SConstruct 2016-12-12 02:47:40.000000000 +0300
++++ dxx-rebirth_v0.59.100-src/SConstruct 2016-12-29 19:26:58.987760410 +0300
+@@ -2875,7 +2875,7 @@
+ return 'GLESv2'
+ return self.default_OGLES_LIB
+ def __default_DATA_DIR(self):
+- return '%s/share/games/%s' % (self.prefix, self._program.target)
++ return '%s/share/games/%s' % (self.prefix, self._program.shortname)
+ def _generic_variable(key,help,default):
+ return (key, help, default)
+ def __get_configure_tests(tests,_filter=lambda s: s.name[0] != '_'):