Re: [PATCH] buildworld broken in libusb

2000-07-06 Thread Nick Hibma


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 -=- [EMAIL PROTECTED]
 The Postman hits! The Postman hits! You have new mail.
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 

--
[EMAIL PROTECTED]
[EMAIL PROTECTED]  USB project
http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [PATCH] buildworld broken in libusb

2000-07-06 Thread Ollivier Robert

According to Nick Hibma:
 Yes, that will work. Sorry for breaking the build. The problem was some
 stale files in my directories.

No problem, now it is broken elsewhere anyway :-)
-- 
Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED]
The Postman hits! The Postman hits! You have new mail.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



[PATCH] buildworld broken in libusb

2000-07-05 Thread 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.

cvs diff: Diffing .
Index: parse.c
===
RCS file: /home/ncvs/src/lib/libusb/parse.c,v
retrieving revision 1.1
diff -u -2 -u -r1.1 parse.c
--- parse.c 2000/06/11 18:19:14 1.1
+++ parse.c 2000/07/05 10:54:41
@@ -36,4 +36,5 @@
 
 #include dev/usb/usb.h
+#include dev/usb/usb_port.h
 #include dev/usb/usbhid.h
 

-- 
Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED]
The Postman hits! The Postman hits! You have new mail.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [PATCH] buildworld broken in libusb

2000-07-05 Thread Ollivier Robert

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.h2000/07/05 08:11:43 1.9
+++ usbhid.h2000/07/05 11:14:13
@@ -55,4 +55,6 @@
 #define UR_SET_PROTOCOL0x0b
 
+#define UPACKED __attribute__ ((packed))
+
 typedef struct usb_hid_descriptor {
uByte   bLength;

-- 
Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED]
The Postman hits! The Postman hits! You have new mail.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [PATCH] buildworld broken in libusb

2000-07-05 Thread Darren Wiebe

I just tried out this patch and it does indead appear to work.

Darren Wiebe
[EMAIL PROTECTED]

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.h2000/07/05 08:11:43 1.9
 +++ usbhid.h2000/07/05 11:14:13
 @@ -55,4 +55,6 @@
  #define UR_SET_PROTOCOL0x0b
 
 +#define UPACKED __attribute__ ((packed))
 +
  typedef struct usb_hid_descriptor {
 uByte   bLength;
 
 --
 Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED]
 The Postman hits! The Postman hits! You have new mail.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message