Package: freeglut
Version: 2.4.0-5.1
Severity: normal

I'm making a 0-day NMU of freeglut to fix compilation with gcc-4.2.  Patch is 
attached.
-- 
Daniel Schepler
diff -urN freeglut-2.4.0.old/debian/changelog freeglut-2.4.0/debian/changelog
--- freeglut-2.4.0.old/debian/changelog	2007-09-15 13:25:43.000000000 -0400
+++ freeglut-2.4.0/debian/changelog	2007-09-15 13:25:04.000000000 -0400
@@ -1,3 +1,10 @@
+freeglut (2.4.0-5.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix compilation with gcc-4.2.  Closes: #362210.
+
+ -- Daniel Schepler <[EMAIL PROTECTED]>  Sat, 15 Sep 2007 13:25:04 -0400
+
 freeglut (2.4.0-5.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -urN freeglut-2.4.0.old/src/freeglut_joystick.c freeglut-2.4.0/src/freeglut_joystick.c
--- freeglut-2.4.0.old/src/freeglut_joystick.c	2007-09-15 13:25:43.000000000 -0400
+++ freeglut-2.4.0/src/freeglut_joystick.c	2007-09-15 13:24:29.000000000 -0400
@@ -1682,9 +1682,6 @@
 
   fgInitialiseJoysticks ();
 
-  if ( !fgJoystick )
-    return 0;
-
   if ( !fgState.JoysticksInitialised )
     return 0;
 

Reply via email to