[OE-core] [PATCH] usbutils: remove uclibc-specific patch
Khem Raj
raj.khem at gmail.com
Fri Nov 17 21:36:28 UTC 2017
On Fri, Nov 17, 2017 at 12:25 PM, Ross Burton <ross.burton at intel.com> wrote:
> This patch is only needed for uclibc, which we don't support in oe-core anymore.
>
indeed, thanks for doing it
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
> meta/recipes-bsp/usbutils/usbutils/iconv.patch | 41 --------------------------
> meta/recipes-bsp/usbutils/usbutils_008.bb | 3 +-
> 2 files changed, 1 insertion(+), 43 deletions(-)
> delete mode 100644 meta/recipes-bsp/usbutils/usbutils/iconv.patch
>
> diff --git a/meta/recipes-bsp/usbutils/usbutils/iconv.patch b/meta/recipes-bsp/usbutils/usbutils/iconv.patch
> deleted file mode 100644
> index 6455567174b..00000000000
> --- a/meta/recipes-bsp/usbutils/usbutils/iconv.patch
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -This patch adds support for detecting iconv support using autotools
> -uclibc does not have iconv implementation inside libc like glibc, therefore
> -the existing checks were not sufficient, it worked for glibc but not for
> -uclibc. The new patch portably detects the iconv support and adds the
> -libiconv to linker cmdline
> -
> -This patch should be submitted upstream too
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: Khem Raj <raj.khem at gmail.com>
> -
> -Index: usbutils-008/configure.ac
> -===================================================================
> ---- usbutils-008.orig/configure.ac
> -+++ usbutils-008/configure.ac
> -@@ -10,7 +10,9 @@ AC_USE_SYSTEM_EXTENSIONS
> - AC_SYS_LARGEFILE
> -
> - AC_CHECK_HEADERS([byteswap.h])
> --AC_CHECK_FUNCS([nl_langinfo iconv])
> -+
> -+AM_GNU_GETTEXT
> -+AM_ICONV
> -
> - PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0.0)
> -
> -Index: usbutils-008/Makefile.am
> -===================================================================
> ---- usbutils-008.orig/Makefile.am
> -+++ usbutils-008/Makefile.am
> -@@ -29,7 +29,8 @@ lsusb_CPPFLAGS = \
> -
> - lsusb_LDADD = \
> - $(LIBUSB_LIBS) \
> -- $(UDEV_LIBS)
> -+ $(UDEV_LIBS) \
> -+ $(LIBICONV)
> -
> - man_MANS = \
> - lsusb.8 \
> diff --git a/meta/recipes-bsp/usbutils/usbutils_008.bb b/meta/recipes-bsp/usbutils/usbutils_008.bb
> index d3c5bd52a43..3c821eac375 100644
> --- a/meta/recipes-bsp/usbutils/usbutils_008.bb
> +++ b/meta/recipes-bsp/usbutils/usbutils_008.bb
> @@ -11,13 +11,12 @@ DEPENDS = "libusb zlib virtual/libiconv udev"
> SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
> file://usb-devices-avoid-dependency-on-bash.patch \
> file://Fix-NULL-pointer-crash.patch \
> - file://iconv.patch \
> "
>
> SRC_URI[md5sum] = "cb20148c2e784577e924a7b4c560c8fb"
> SRC_URI[sha256sum] = "6d5f16c2961df37e22e492c736a3e162a8fde24480f23a40d85f79af80d3fe95"
>
> -inherit autotools gettext pkgconfig distro_features_check
> +inherit autotools pkgconfig distro_features_check
>
> FILES_${PN}-dev += "${datadir}/pkgconfig"
>
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list