From owner-freebsd-current Wed Jul 5 11:20:58 2000 Delivered-To: freebsd-current@freebsd.org Received: from jasper.heartland.ab.ca (jasper.heartland.ab.ca [207.107.228.1]) by hub.freebsd.org (Postfix) with ESMTP id 8E82F37B509 for ; Wed, 5 Jul 2000 11:20:53 -0700 (PDT) (envelope-from dkwiebe@hagenhomes.com) Received: from hagenhomes.com (dyn118.heartland.ab.ca [207.107.228.118]) by jasper.heartland.ab.ca (8.9.0/8.9.0) with ESMTP id MAA26420; Wed, 5 Jul 2000 12:18:17 -0600 (MDT) Message-ID: <396327CE.F53D05C6@hagenhomes.com> Date: Wed, 05 Jul 2000 12:19:26 +0000 From: Darren Wiebe Organization: Hagen Homes Ltd. X-Mailer: Mozilla 4.73 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Ollivier Robert Cc: "FreeBSD Current Users' list" Subject: Re: [PATCH] buildworld broken in libusb References: <20000705130022.I70328@caerdonn.eurocontrol.fr> <20000705131854.A78573@caerdonn.eurocontrol.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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