summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/dfu-util/dfu-util-0.4/no-usbpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/dfu-util/dfu-util-0.4/no-usbpath.patch')
-rw-r--r--meta-oe/recipes-support/dfu-util/dfu-util-0.4/no-usbpath.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/dfu-util/dfu-util-0.4/no-usbpath.patch b/meta-oe/recipes-support/dfu-util/dfu-util-0.4/no-usbpath.patch
new file mode 100644
index 000000000..e4f943e5e
--- /dev/null
+++ b/meta-oe/recipes-support/dfu-util/dfu-util-0.4/no-usbpath.patch
@@ -0,0 +1,20 @@
1Index: dfu-util-0.4/configure.ac
2===================================================================
3--- dfu-util-0.4.orig/configure.ac 2011-08-10 22:22:30.000000000 +0200
4+++ dfu-util-0.4/configure.ac 2011-08-10 22:22:57.000000000 +0200
5@@ -18,14 +18,12 @@
6 # Checks for libraries.
7 PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,,
8 AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***]))
9-AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
10-
11 LIBS="$LIBS $USB_LIBS"
12 CFLAGS="$CFLAGS $USB_CFLAGS"
13
14 # Checks for header files.
15 AC_HEADER_STDC
16-AC_CHECK_HEADERS([stdlib.h string.h stdio.h usbpath.h])
17+AC_CHECK_HEADERS([stdlib.h string.h stdio.h])
18
19 # Checks for typedefs, structures, and compiler characteristics.
20 AC_C_CONST