I just tried out this patch and it does indead appear to work.
Darren Wiebe
[EMAIL PROTECTED]
Ollivier Robert wrote:
>
> According to Ollivier Robert:
> > buildworld is broken in libusb. Here is a tentative patch (I'm re-building
> > the world right now). The alternative is to #define UPACKED in usbhid.h.
>
> Forget that fix, it doesn't work.
>
> This one will although I don't like it.
>
> cvs diff: Diffing .
> Index: usbhid.h
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/usb/usbhid.h,v
> retrieving revision 1.9
> diff -u -2 -r1.9 usbhid.h
> --- usbhid.h 2000/07/05 08:11:43 1.9
> +++ usbhid.h 2000/07/05 11:14:13
> @@ -55,4 +55,6 @@
> #define UR_SET_PROTOCOL 0x0b
>
> +#define UPACKED __attribute__ ((packed))
> +
> typedef struct usb_hid_descriptor {
> uByte bLength;
>
> --
> Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED]
> The Postman hits! The Postman hits! You have new mail.
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message