diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-08 16:22:08 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-08 16:22:08 +0000 |
commit | 36c4c8674a50a6001830f0730ab7047f57a1233f (patch) | |
tree | 65cbe87f0a94a83834941936a9249027baec1ef6 /media-libs/freeglut/files | |
parent | Version bump <http://my.opera.com/desktopteam/blog/2008/08/08/getting-closer-... (diff) | |
download | gentoo-2-36c4c8674a50a6001830f0730ab7047f57a1233f.tar.gz gentoo-2-36c4c8674a50a6001830f0730ab7047f57a1233f.tar.bz2 gentoo-2-36c4c8674a50a6001830f0730ab7047f57a1233f.zip |
Disable bsd usb joystick support because it does not link properly, run elibtoolize to get a sane .so versionning on bsd and keyword it ~x86-fbsd
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'media-libs/freeglut/files')
-rw-r--r-- | media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch b/media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch new file mode 100644 index 000000000000..08aa1326ebc5 --- /dev/null +++ b/media-libs/freeglut/files/freeglut-2.4.0-bsd-usb-joystick.patch @@ -0,0 +1,16 @@ +We disable BSD usb joystick support until upstream has a better support for it +so that it can at least build. For now it builds but does not link to libusbhid +so that libglut.so has undefined references to hid_* symbols and causes linking +errors later on in the build process. + +--- freeglut-2.4.0/src/freeglut_joystick.c.old 2008-08-08 15:26:15 +0000 ++++ freeglut-2.4.0/src/freeglut_joystick.c 2008-08-08 15:26:32 +0000 +@@ -78,7 +78,7 @@ + # include <errno.h> + # if defined(__FreeBSD__) || defined(__NetBSD__) + /* XXX The below hack is done until freeglut's autoconf is updated. */ +-# define HAVE_USB_JS 1 ++# undef HAVE_USB_JS + + # if defined(__FreeBSD__) && __FreeBSD_version >= 500000 + # include <sys/joystick.h> |