I am attaching 4 patches found in the Ubuntu package 2.6.0-1ubuntu2 that may eventually be merged directly in freeglut.
Fix hurd FTBFS, Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553409
--- freeglut-2.6.0.orig/src/freeglut_joystick.c 2010-03-20 23:29:10.000000000 +0000
+++ freeglut-2.6.0/src/freeglut_joystick.c 2010-03-20 23:29:15.000000000 +0000
@@ -1094,6 +1094,8 @@
joy->num_axes = joy->num_buttons = 0;
joy->name[ 0 ] = '\0';
+ i = 0;
/* XXX FIXME: get joystick name in Mac */
(Posted remotely since I can't seem to attache more than 1 file here...)
Fix build failures with --no-add-needed:
Fix FTBFS with ld.gold:
See also this bug report for the last 2 patches:
The addition of "i = 0" was rendered unnecessary by an initialization of "i" to zero where it is declared; this happened in change set 733.
I've fixed the load library flags in change sets 939 and 940.
Not sure what the "See also this bug report for the last 2 patches" means. It looks like no other action is needed.
Please let me know if this fixes all the issues.
> Not sure what the "See also this bug report for the last 2 patches" means.
This was the debian bug report for the changesets 939 and 940. Note also that the Ubuntu bug number mentioned in these 2 commits are wrong... that numbers are just for the paste web site... The real bug they fixed is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554405
> Please let me know if this fixes all the issues.
01_fix_kfreebsd.diff (attached to this bug) is still missing.
(This is from just looking at the commits. I'll compile freeglut next week and report if I find any problems).
> 01_fix_kfreebsd.diff (attached to this bug) is still missing.
This was applied in r942, so I think all was merged, thanks!
Compiled and tested successfully!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.