]> git.pld-linux.org Git - packages/eagle-usb.git/commitdiff
- allow building adictrl on 2.6 headers
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 18 Jan 2004 14:36:41 +0000 (14:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eagle-usb-user2.6.patch -> 1.1

eagle-usb-user2.6.patch [new file with mode: 0644]

diff --git a/eagle-usb-user2.6.patch b/eagle-usb-user2.6.patch
new file mode 100644 (file)
index 0000000..efd0465
--- /dev/null
@@ -0,0 +1,22 @@
+--- eagle-1.0.4/driver/user/adictrl.c.orig     2004-01-18 15:22:15.000000000 +0100
++++ eagle-1.0.4/driver/user/adictrl.c  2004-01-18 15:35:06.439165640 +0100
+@@ -181,6 +181,8 @@
+  */
+ typedef struct usb_device_descriptor 
++#ifndef __LINUX_USB_CH9_H
++/* in 2.6 this struct is already available in <linux/usb_ch9.h> */
+ {
+     uint8_t  bLength;
+     uint8_t  bDescriptorType;
+@@ -196,7 +198,9 @@
+     uint8_t  iProduct;
+     uint8_t  iSerialNumber;
+     uint8_t  bNumConfigurations;
+-} __attribute__((packed)) usb_dev_desc_t;
++} __attribute__((packed))
++#endif
++usb_dev_desc_t;
+ /**
+  * cmv_msg_t - CMV message description.
This page took 0.027637 seconds and 4 git commands to generate.