Author: pluto                        Date: Wed Nov  1 21:02:30 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- obvious fix.

---- Files affected:
SOURCES:
   freeglut-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/freeglut-gcc4.patch
diff -u /dev/null SOURCES/freeglut-gcc4.patch:1.1
--- /dev/null   Wed Nov  1 22:02:30 2006
+++ SOURCES/freeglut-gcc4.patch Wed Nov  1 22:02:25 2006
@@ -0,0 +1,14 @@
+freeglut_joystick.c:1687: warning: the address of 'fgJoystick' will always 
evaluate as 'true'
+
+--- freeglut-2.4.0/src/freeglut_joystick.c.orig        2005-05-04 
14:53:48.000000000 +0200
++++ freeglut-2.4.0/src/freeglut_joystick.c     2006-11-01 21:59:56.032124750 
+0100
+@@ -1684,9 +1684,6 @@
+ 
+   fgInitialiseJoysticks ();
+ 
+-  if ( !fgJoystick )
+-    return 0;
+-
+   if ( !fgState.JoysticksInitialised )
+     return 0;
+ 
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to