File orbit-freeglut.patch of Package orbital

--- src/orbit.c.orig	2005-11-05 23:18:12.632547463 +0100
+++ src/orbit.c	2005-11-05 23:19:52.553013055 +0100
@@ -40,6 +40,9 @@
 	/* Set up the player viewpoint, etc */
 	InitPlayer();
 
+	/* needs to be called before glutBitmapLength */
+	glutInit (&argc, argv);
+
 	/* Initialize all sorts of other stuff */
 	InitStuff();
 
@@ -63,7 +66,6 @@
 {
 	char *p;
 
-	glutInit (&argc, argv);
 	glutInitDisplayMode (GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);
 
 	glutInitWindowPosition (0, 0);
openSUSE Build Service is sponsored by