Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2000 13:18:54 +0200
From:      Ollivier Robert <roberto@eurocontrol.fr>
To:        FreeBSD Current Users' list <freebsd-current@FreeBSD.ORG>
Subject:   Re: [PATCH] buildworld broken in libusb
Message-ID:  <20000705131854.A78573@caerdonn.eurocontrol.fr>
In-Reply-To: <20000705130022.I70328@caerdonn.eurocontrol.fr>; from roberto@caerdonn.eurocontrol.fr on Wed, Jul 05, 2000 at 01:00:22PM %2B0200
References:  <20000705130022.I70328@caerdonn.eurocontrol.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000705131854.A78573>