Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97954 - crack-attack-1.1.14 fails with freeglut 2.4.0
Summary: crack-attack-1.1.14 fails with freeglut 2.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-04 19:26 UTC by Andrew Sayman
Modified: 2005-12-19 10:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Sayman 2005-07-04 19:26:31 UTC
freeglut 2.4.0 introduces a bugfix/compatibility change related to calling
glutInit. crack-attack doesn't ever actually call glutInit, so it fails to work
with freeglut 2.4.0. Upstream has the one-line fix in CVS

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




===================================================================
RCS file: /cvsroot/crack-attack/cvsroot/crack-attack/crack-attack/src/Attack.cxx,v
retrieving revision 1.15
retrieving revision 1.17
diff -u -r1.15 -r1.17
--- crack-attack/crack-attack/src/Attack.cxx	2005/05/13 19:00:02	1.15
+++ crack-attack/crack-attack/src/Attack.cxx	2005/07/05 02:23:12	1.17
@@ -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);
Comment 1 SpanKY gentoo-dev 2005-07-04 22:26:40 UTC
thanks, now in portage
Comment 2 Maarten Wisse 2005-12-19 07:33:05 UTC
Same problem exists in flightgear 0.9.9
Comment 3 SpanKY gentoo-dev 2005-12-19 07:42:25 UTC
so ?  this bug is *crack-attack*
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-19 10:43:18 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect9

Please file a bug against flightgear.