summaryrefslogtreecommitdiffstats
path: root/pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch')
-rw-r--r--pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch b/pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch
new file mode 100644
index 000000000000..4daea4c53a28
--- /dev/null
+++ b/pkgs/games/crack-attack/crack-attack-1.1.14-glut.patch
@@ -0,0 +1,10 @@
+--- crack-attack-1.1.14/src/Attack.cxx
++++ crack-attack-1.1.14/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);
+