[debian-hurd-Patches][312037] freeglut 2.4.0
Patches item #312037, was opened at 30/10/2009 19:30 by Pino Toscano
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410472&aid=312037&group_id=30628
Status: Open
Priority: 3
Submitted By: Pino Toscano (pino-guest)
Assigned to: Nobody (None)
Summary: freeglut 2.4.0
Category: None
Group: None
Resolution: None
Initial Comment:
Simple patch to make freeglut compile on GNU/Hurd.
Basically, the problem is in fghJoystickOpen(), where there is
- a 'int i;' declaration at the very beginning
- various snippets for the target hosts and the platforms in each
but none of those is used for Hurd, so gcc (because of -Wall -Werror) errors out because of the unused variable.
The easiest solution is to pretend it is "used" on GNU/Hurd as well.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410472&aid=312037&group_id=30628
Reply to: