From owner-freebsd-current Wed Jul 5 4:19: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from matrix.eurocontrol.fr (matrix.eurocontrol.fr [147.196.254.254]) by hub.freebsd.org (Postfix) with ESMTP id 3A98537B93E for ; Wed, 5 Jul 2000 04:18:57 -0700 (PDT) (envelope-from roberto@eurocontrol.fr) Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.5.62]) by matrix.eurocontrol.fr (Postfix) with ESMTP id 4CB63597C; Wed, 5 Jul 2000 13:18:55 +0200 (CEST) Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193) id C991F4E5A; Wed, 5 Jul 2000 13:18:54 +0200 (CEST) Date: Wed, 5 Jul 2000 13:18:54 +0200 From: Ollivier Robert To: FreeBSD Current Users' list Subject: Re: [PATCH] buildworld broken in libusb Message-ID: <20000705131854.A78573@caerdonn.eurocontrol.fr> Mail-Followup-To: Ollivier Robert , FreeBSD Current Users' list References: <20000705130022.I70328@caerdonn.eurocontrol.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000705130022.I70328@caerdonn.eurocontrol.fr>; from roberto@caerdonn.eurocontrol.fr on Wed, Jul 05, 2000 at 01:00:22PM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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