From 9dc0fd7c14e585bf19abb692c1548010575c1745 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sat, 14 Aug 2021 21:51:17 +0300 Subject: [PATCH] v4l-utils: add libudev-zero dependency When libudev-zero is enabled, v4l-utils links against it, and the package build fails due to a missing dependency: Package v4l-utils is missing dependencies for the following libraries: libudev.so.1 As disabling udev doesn't seem to be supported in v4l-utils, simply add the dependency to fix the build. Signed-off-by: Stijn Tintel --- libs/libv4l/Makefile | 2 +- .../patches/010-remove-libudev-check.patch | 22 ------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 libs/libv4l/patches/010-remove-libudev-check.patch diff --git a/libs/libv4l/Makefile b/libs/libv4l/Makefile index 181fe529c1..c8615b4670 100644 --- a/libs/libv4l/Makefile +++ b/libs/libv4l/Makefile @@ -64,7 +64,7 @@ define Package/v4l-utils SECTION:=utils CATEGORY:=Utilities TITLE+= utilities - DEPENDS:= +libv4l +libstdcpp $(ICONV_DEPENDS) $(INTL_DEPENDS) + DEPENDS:= +libudev-zero +libv4l +libstdcpp $(ICONV_DEPENDS) $(INTL_DEPENDS) LICENSE:=GPL-2.0-or-later LICENSE_FILES:=COPYING endef diff --git a/libs/libv4l/patches/010-remove-libudev-check.patch b/libs/libv4l/patches/010-remove-libudev-check.patch deleted file mode 100644 index 56e51fa773..0000000000 --- a/libs/libv4l/patches/010-remove-libudev-check.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -291,16 +291,9 @@ else - AC_MSG_WARN(ALSA library not available) - fi - --PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, have_libudev=no) --if test "x$have_libudev" = "xyes"; then -- AC_DEFINE([HAVE_LIBUDEV], [], [Use libudev]) -- LIBUDEV_CFLAGS="$libudev_CFLAGS" -- LIBUDEV_LIBS="$libudev_LIBS" -- AC_SUBST(LIBUDEV_CFLAGS) -- AC_SUBST(LIBUDEV_LIBS) --else -- AC_MSG_WARN(udev library not available) --fi -+ -+# Force building without udev -+have_libudev=no - - AC_SUBST([JPEG_LIBS]) - -- 2.30.2