diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/crack-attack/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/crack-attack/files')
-rw-r--r-- | games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch | 10 | ||||
-rw-r--r-- | games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch b/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch new file mode 100644 index 000000000000..009d062f2eac --- /dev/null +++ b/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch @@ -0,0 +1,10 @@ +--- src/Game.h ++++ src/Game.h +@@ -34,6 +34,7 @@ + #include <climits> + #include <cstdlib> + #include <cmath> ++#include <cstring> + + #ifdef __MINGW32__ + # include <windows.h> diff --git a/games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch b/games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch new file mode 100644 index 000000000000..fc16c1b8bc4e --- /dev/null +++ b/games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch @@ -0,0 +1,14 @@ +Fix from upstream to work with newer freegluts. + +http://bugs.gentoo.org/97954 + +--- src/Attack.cxx ++++ src/Attack.cxx +@@ -83,6 +83,7 @@ + int height = -1, width = -1; + + player_name[0] = '\0'; ++ glutInit(&argc, argv); + parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width); + run_crack_attack(mode, port, host_name, player_name, height, width); + |