From owner-freebsd-current Thu Jul 6 6:48:13 2000 Delivered-To: freebsd-current@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id 4A4E837BDC2 for ; Thu, 6 Jul 2000 06:48:04 -0700 (PDT) (envelope-from n_hibma@qubesoft.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 13AC0U-000LhJ-0C; Thu, 6 Jul 2000 13:48:00 +0000 Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id OAA39682; Thu, 6 Jul 2000 14:47:40 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id OAA31029; Thu, 6 Jul 2000 14:42:18 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Date: Thu, 6 Jul 2000 14:42:18 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Ollivier Robert Cc: "FreeBSD Current Users' list" Subject: Re: [PATCH] buildworld broken in libusb In-Reply-To: <20000705131854.A78573@caerdonn.eurocontrol.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes, that will work. Sorry for breaking the build. The problem was some stale files in my directories. Nick On Wed, 5 Jul 2000, 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 > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message