summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-09-20 14:47:38 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-09-20 14:47:38 +0000
commitf2fa1e962ea396432ea2722f924652dce4778bf8 (patch)
treec62382c87f0e8f7e8a96f8be2e9e92f91167e4d9 /media-libs/freeglut/files
parentFix QA issue. (diff)
downloadhistorical-f2fa1e962ea396432ea2722f924652dce4778bf8.tar.gz
historical-f2fa1e962ea396432ea2722f924652dce4778bf8.tar.bz2
historical-f2fa1e962ea396432ea2722f924652dce4778bf8.zip
Restore still needed bsd fix and add a new one due to recent changes, submitted upstream
Package-Manager: portage-2.2_rc41/cvs/Linux x86_64
Diffstat (limited to 'media-libs/freeglut/files')
-rw-r--r--media-libs/freeglut/files/freeglut-2.6.0_rc1-bsd_joystick.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/freeglut/files/freeglut-2.6.0_rc1-bsd_joystick.patch b/media-libs/freeglut/files/freeglut-2.6.0_rc1-bsd_joystick.patch
new file mode 100644
index 000000000000..cde788850aeb
--- /dev/null
+++ b/media-libs/freeglut/files/freeglut-2.6.0_rc1-bsd_joystick.patch
@@ -0,0 +1,13 @@
+https://sourceforge.net/tracker/?func=detail&aid=2862668&group_id=1032&atid=101032
+
+--- freeglut-2.6.0/src/freeglut_joystick.c.old 2009-09-20 16:28:07 +0200
++++ freeglut-2.6.0/src/freeglut_joystick.c 2009-09-20 16:28:18 +0200
+@@ -1325,7 +1325,7 @@
+ if( joy->error )
+ return;
+
+- snprintf( joyfname, sizeof(buffer), "%s/.joy%drc", getenv( "HOME" ), joy->id );
++ snprintf( joyfname, sizeof(joyfname), "%s/.joy%drc", getenv( "HOME" ), joy->id );
+
+ joyfile = fopen( joyfname, "r" );
+ joy->error =( joyfile == NULL );