summaryrefslogtreecommitdiff
path: root/games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch')
-rw-r--r--games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch14
1 files changed, 14 insertions, 0 deletions
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);
+