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-arcade/crack-attack/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
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..8cabe7eb2574 --- /dev/null +++ b/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch @@ -0,0 +1,10 @@ +--- a/src/Game.h ++++ b/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..430d4e742f31 --- /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 + +--- a/src/Attack.cxx ++++ b/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); + |