summaryrefslogtreecommitdiff
blob: fc16c1b8bc4e8c3fd50204ee0f0ac74b974071a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);