Package: freeglut
Version: 2.4.0-8
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD with 8.x kernel headers.

The FreeBSD 8.0 kernel introduces a new USB stack with a totally
different API. The upstream used to have during 8.0 development
old USB stack in <legacy/dev/usb/usb.h>, we decided to provide it too.

To solve current FTBFS please just use patch bellow.

Sorry for the inconvenience.

Petr

--- src/freeglut_joystick.c~    2005-05-04 12:53:48.000000000 +0000
+++ src/freeglut_joystick.c     2009-12-14 09:00:06.000000000 +0000
@@ -151,7 +151,7 @@
 #                include <usbhid.h>
 #            endif
 #        endif
-#        include <dev/usb/usb.h>
+#        include <legacy/dev/usb/usb.h>
 #        include <dev/usb/usbhid.h>

 /* Compatibility with older usb.h revisions */




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to