diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-action/orbital-eunuchs-sniper/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-action/orbital-eunuchs-sniper/files')
-rw-r--r-- | games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch | 36 | ||||
-rw-r--r-- | games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch | 10 |
2 files changed, 46 insertions, 0 deletions
diff --git a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch new file mode 100644 index 000000000000..9492e1e8b967 --- /dev/null +++ b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-datadir.patch @@ -0,0 +1,36 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -64,14 +64,12 @@ + ,dnl default action of assigning shell value + with_games_dir="${runtime_datadir}/games" + ) +-AC_SUBST(datadir,"${with_games_dir}") + AC_DEFINE_UNQUOTED([GAMEDATADIR], "${datadir}/$PACKAGE_NAME", + [Game data directory]) + + + #These should be automagically determined somehow. + #CPU Instruction Set. Should be automagic. +-AC_SUBST(CPU_IS,`uname -m`) + + + echo $ac_n "ordering crap from http://www.amazon.com/gp/registry/296ST2NHEBO0Z" 1>&6 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,6 +1,4 @@ +-pkgdata_PROGRAMS = snipe2d.@CPU_IS@.dynamic snipe2d.@CPU_IS@.static +-BUILT_SOURCES = snipe2d +-bin_SCRIPTS = snipe2d ++bin_PROGRAMS = snipe2d + snipe2d_common = \ + ai.cpp \ + binds.cpp \ +@@ -28,7 +26,7 @@ + sexpr/io.c \ + sexpr/parser.c + +-snipe2d_@CPU_IS@_dynamic_SOURCES = $(snipe2d_common) ++snipe2d_SOURCES = $(snipe2d_common) + + #snipe2d_@CPU_IS@_static_LDFLAGS = -static + snipe2d_@CPU_IS@_static_SOURCES = $(snipe2d_common) diff --git a/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch new file mode 100644 index 000000000000..d3747ed0802b --- /dev/null +++ b/games-action/orbital-eunuchs-sniper/files/orbital-eunuchs-sniper-1.30-gcc43.patch @@ -0,0 +1,10 @@ +--- a/src/snipe2d.h ++++ b/src/snipe2d.h +@@ -39,6 +39,7 @@ + #include <stdlib.h> + #include <math.h> + #include <string.h> ++#include <climits> + #include <libgen.h> + #include <SDL/SDL.h> + #include <SDL/SDL_image.h> |