From 9efa30ed24f1e2c28ef9750c68c03f0304a65ea5 Mon Sep 17 00:00:00 2001 From: Joshua Baergen Date: Sat, 29 Jul 2006 18:04:11 +0000 Subject: Add a patch for GCC 4.2 compatibility. Fixes bug #131856. (Portage version: 2.1.1_pre4) --- media-libs/freeglut/files/freeglut-gcc42.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 media-libs/freeglut/files/freeglut-gcc42.patch (limited to 'media-libs/freeglut/files') 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; + -- cgit v1.2.3-65-gdbad