summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-05 05:26:46 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-05 05:26:46 +0000
commit6bc8db2136fb59a10681a2b0240170760ce049d1 (patch)
treea874a6291f1dced950779fa6f657d1c3a3622231 /games-arcade/crack-attack/files
parentold (diff)
downloadgentoo-2-6bc8db2136fb59a10681a2b0240170760ce049d1.tar.gz
gentoo-2-6bc8db2136fb59a10681a2b0240170760ce049d1.tar.bz2
gentoo-2-6bc8db2136fb59a10681a2b0240170760ce049d1.zip
Add bugfix from upstream for freeglut support #97954 by Andrew Sayman.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'games-arcade/crack-attack/files')
-rw-r--r--games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch14
-rw-r--r--games-arcade/crack-attack/files/digest-crack-attack-1.1.14-r11
2 files changed, 15 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);
+
diff --git a/games-arcade/crack-attack/files/digest-crack-attack-1.1.14-r1 b/games-arcade/crack-attack/files/digest-crack-attack-1.1.14-r1
new file mode 100644
index 000000000000..cd332491d084
--- /dev/null
+++ b/games-arcade/crack-attack/files/digest-crack-attack-1.1.14-r1
@@ -0,0 +1 @@
+MD5 77bfcb38a293e87fd0d0eab05bae8177 crack-attack-1.1.14.tar.bz2 801404