From 52ae86bcb6aeb96cd25bf901b82ed4dfd9c2ad61 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 1 Dec 2015 23:00:29 +0100 Subject: libv4l: add patches to fix musl build issues, and enable on musl This commit adds two patches to the libv4l package, the first one fixes the __off_t usage and the second one fixes locale-related function usage. Those two patches allow libv4l to build fine against musl, so we remove the dependency of glibc || uclibc. Signed-off-by: Thomas Petazzoni --- package/libv4l/Config.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'package/libv4l/Config.in') diff --git a/package/libv4l/Config.in b/package/libv4l/Config.in index 8d7eca1a68..4da00342a2 100644 --- a/package/libv4l/Config.in +++ b/package/libv4l/Config.in @@ -5,8 +5,6 @@ config BR2_PACKAGE_LIBV4L depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers - # wait for libv4l 1.7+ for musl compatibility - depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help @@ -44,8 +42,7 @@ comment "libv4l-utils tools need a toolchain w/ locale" endif -comment "libv4l needs an uClibc or (e)glibc toolchain w/ threads, dynamic library, C++ and headers >= 3.0" +comment "libv4l needs a toolchain w/ threads, dynamic library, C++ and headers >= 3.0" depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \ - || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 -- cgit v1.2.3