summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2006-07-29 18:04:11 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2006-07-29 18:04:11 +0000
commit9efa30ed24f1e2c28ef9750c68c03f0304a65ea5 (patch)
treefe14a922027e98add4c7566207406079f413039e /media-libs/freeglut/files
parentRemove old ebuild. (diff)
downloadgentoo-2-9efa30ed24f1e2c28ef9750c68c03f0304a65ea5.tar.gz
gentoo-2-9efa30ed24f1e2c28ef9750c68c03f0304a65ea5.tar.bz2
gentoo-2-9efa30ed24f1e2c28ef9750c68c03f0304a65ea5.zip
Add a patch for GCC 4.2 compatibility. Fixes bug #131856.
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'media-libs/freeglut/files')
-rw-r--r--media-libs/freeglut/files/freeglut-gcc42.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/freeglut/files/freeglut-gcc42.patch b/media-libs/freeglut/files/freeglut-gcc42.patch
new file mode 100644
index 000000000000..27404eaea847
--- /dev/null
+++ b/media-libs/freeglut/files/freeglut-gcc42.patch
@@ -0,0 +1,12 @@
+--- src/freeglut_joystick.c.old 2006-07-25 21:15:14.000000000 -0600
++++ src/freeglut_joystick.c 2006-07-25 21:21:54.000000000 -0600
+@@ -1684,9 +1684,6 @@
+
+ fgInitialiseJoysticks ();
+
+- if ( !fgJoystick )
+- return 0;
+-
+ if ( !fgState.JoysticksInitialised )
+ return 0;
+