diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2016-03-01 02:53:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-02 22:39:44 +0000 |
commit | 5f6169348bf7c30de7306688d679f5d71134ca09 (patch) | |
tree | 157e68aceee1de449d074335b8147c9682bc6788 /meta/recipes-bsp/usbutils/usbutils/iconv.patch | |
parent | c89b777c355b55761e294d122235a274bba6c07f (diff) | |
download | poky-5f6169348bf7c30de7306688d679f5d71134ca09.tar.gz |
usbutils: Fix for new eudev implementation
usbutils was only compatible with systemds udev, since we now
provide a udev alternative compatible with upstream systemds udev,
we can now use the newer version of usbutils along with it too.
(From OE-Core rev: 93ff871ec1141d2840ffd4a6b8617023fae3d23f)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/usbutils/usbutils/iconv.patch')
-rw-r--r-- | meta/recipes-bsp/usbutils/usbutils/iconv.patch | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils/iconv.patch b/meta/recipes-bsp/usbutils/usbutils/iconv.patch index c557334a75..6455567174 100644 --- a/meta/recipes-bsp/usbutils/usbutils/iconv.patch +++ b/meta/recipes-bsp/usbutils/usbutils/iconv.patch | |||
@@ -10,10 +10,10 @@ Upstream-Status: Pending | |||
10 | 10 | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | 12 | ||
13 | Index: usbutils-007/configure.ac | 13 | Index: usbutils-008/configure.ac |
14 | =================================================================== | 14 | =================================================================== |
15 | --- usbutils-007.orig/configure.ac | 15 | --- usbutils-008.orig/configure.ac |
16 | +++ usbutils-007/configure.ac | 16 | +++ usbutils-008/configure.ac |
17 | @@ -10,7 +10,9 @@ AC_USE_SYSTEM_EXTENSIONS | 17 | @@ -10,7 +10,9 @@ AC_USE_SYSTEM_EXTENSIONS |
18 | AC_SYS_LARGEFILE | 18 | AC_SYS_LARGEFILE |
19 | 19 | ||
@@ -23,18 +23,19 @@ Index: usbutils-007/configure.ac | |||
23 | +AM_GNU_GETTEXT | 23 | +AM_GNU_GETTEXT |
24 | +AM_ICONV | 24 | +AM_ICONV |
25 | 25 | ||
26 | AC_ARG_ENABLE(zlib, | 26 | PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0.0) |
27 | AS_HELP_STRING(--disable-zlib,disable support for zlib)) | 27 | |
28 | Index: usbutils-007/Makefile.am | 28 | Index: usbutils-008/Makefile.am |
29 | =================================================================== | 29 | =================================================================== |
30 | --- usbutils-007.orig/Makefile.am | 30 | --- usbutils-008.orig/Makefile.am |
31 | +++ usbutils-007/Makefile.am | 31 | +++ usbutils-008/Makefile.am |
32 | @@ -27,7 +27,7 @@ lsusb_CPPFLAGS = \ | 32 | @@ -29,7 +29,8 @@ lsusb_CPPFLAGS = \ |
33 | -DDATADIR=\"$(datadir)\" | ||
34 | 33 | ||
35 | lsusb_LDADD = \ | 34 | lsusb_LDADD = \ |
36 | - $(LIBUSB_LIBS) | 35 | $(LIBUSB_LIBS) \ |
37 | + $(LIBUSB_LIBS) $(LIBICONV) | 36 | - $(UDEV_LIBS) |
37 | + $(UDEV_LIBS) \ | ||
38 | + $(LIBICONV) | ||
38 | 39 | ||
39 | if HAVE_ZLIB | 40 | man_MANS = \ |
40 | lsusb_CPPFLAGS += -DHAVE_LIBZ | 41 | lsusb.8 \ |