Date: Wed, 05 Jul 2000 12:19:26 +0000 From: Darren Wiebe <dkwiebe@hagenhomes.com> To: Ollivier Robert <roberto@eurocontrol.fr> Cc: "FreeBSD Current Users' list" <freebsd-current@FreeBSD.ORG> Subject: Re: [PATCH] buildworld broken in libusb Message-ID: <396327CE.F53D05C6@hagenhomes.com> References: <20000705130022.I70328@caerdonn.eurocontrol.fr> <20000705131854.A78573@caerdonn.eurocontrol.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
I just tried out this patch and it does indead appear to work. Darren Wiebe dkwiebe@hagenhomes.com 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 -=- Ollivier.Robert@eurocontrol.fr > The Postman hits! The Postman hits! You have new mail. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396327CE.F53D05C6>