nixpkgs/pkgs/development/libraries/freeglut/freeglut-gcc-4.2.patch
Yury G. Kudryashov 9e0a642955 freeglut: gcc-4.2 related patch
svn path=/nixpkgs/branches/stdenv-updates/; revision=10159
2008-01-16 00:06:31 +00:00

13 lines
405 B
Diff

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-06-16 03:51:41.000000000 +0000
+++ freeglut-2.4.0/src/freeglut_joystick.c 2007-06-16 03:54:27.000000000 +0000
@@ -1682,9 +1682,6 @@
fgInitialiseJoysticks ();
- if ( !fgJoystick )
- return 0;
-
if ( !fgState.JoysticksInitialised )
return 0;