summaryrefslogtreecommitdiff
path: root/packages/libusb/libusb-0.1.10a/ARMfix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-07-22 11:52:35 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-22 11:52:35 +0000
commite1512c326ecaa7bb0e321b5926a9eb4d1d5b17bb (patch)
treefd6118ffaded8a47b02507bd801d553a48e91ff5 /packages/libusb/libusb-0.1.10a/ARMfix.patch
parent7b4bcf07034713e38f850dd2b9903687cb86b3bb (diff)
Add ARMfix patch, thanks to rwhitby for spotting it
Diffstat (limited to 'packages/libusb/libusb-0.1.10a/ARMfix.patch')
-rw-r--r--packages/libusb/libusb-0.1.10a/ARMfix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/libusb/libusb-0.1.10a/ARMfix.patch b/packages/libusb/libusb-0.1.10a/ARMfix.patch
new file mode 100644
index 0000000000..803bd99bab
--- /dev/null
+++ b/packages/libusb/libusb-0.1.10a/ARMfix.patch
@@ -0,0 +1,20 @@
+--- /tmp/usb.c 2005-07-22 01:45:43.606167000 +0200
++++ libusb-0.1.10a/usb.c 2005-07-22 01:47:22.527128728 +0200
+@@ -156,7 +156,7 @@
+ * Some ports fetch the descriptors on scanning (like Linux) so we don't
+ * need to fetch them again.
+ */
+- if (!dev->config) {
++/* if (!dev->config) { */
+ usb_dev_handle *udev;
+
+ udev = usb_open(dev);
+@@ -165,7 +165,7 @@
+
+ usb_close(udev);
+ }
+- }
++/* }*/
+
+ changes++;
+