The attached patch (that I've submitted upstream too) checks for usb_hid_descriptor struct presence before defining it, so that it doesn't override the system's definition. This is needed for SDL to detect usb support (and thus joysticks) correctly. The attached patch is over libusb-0.1.12, should work with 0.1.11 too, but as it would require a version bump, it would help if it was added with the version bump. Thanks, Diego
Created attachment 83994 [details, diff] libusb-0.1.12-fbsd-hid.patch
Created attachment 84016 [details, diff] Ebuild patch This patch to the ebuild adds a bit of verbosity to the || die during src_install, as I was a bit surprised when it failed, and adds a missing dependency over docbook-dsssl-stylesheets without which I can't actually build the documentation at all.
This would really be needed soon. Alastair, if you can't commit this in about 10 days, I'll go on and handle it in the mean time (taking the pieces if something breaks of course).
in 0.1.12. thanks for the patch.