summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch')
-rw-r--r--media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch b/media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch
deleted file mode 100644
index 017513bcb907..000000000000
--- a/media-tv/v4l-utils/files/v4l-utils-1.20.0-automagic.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From e018720a49b96535613ca9173750ce2271608cd5 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot <chewi@gentoo.org>
-Date: Sun, 23 Aug 2020 16:33:21 +0100
-Subject: [PATCH] configure.ac: Add --without-libudev option to avoid automagic
- dep
-
-Signed-off-by: James Le Cuirot <chewi@gentoo.org>
----
- configure.ac | 27 +++++++++++++++++----------
- 1 file changed, 17 insertions(+), 10 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index d9f43ab5..e6134d08 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -291,16 +291,23 @@ 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
-+AC_ARG_WITH([libudev],
-+ AS_HELP_STRING([--without-libudev], [Do not use udev library]),
-+ [],
-+ [with_libudev=yes])
-+
-+have_libudev=no
-+
-+AS_IF([test "x$with_libudev" != xno -o "x$enable_libdvbv5" != xno],
-+ [PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, [])
-+ AS_IF([test "x$have_libudev" = xyes],
-+ [AC_DEFINE([HAVE_LIBUDEV], [], [Use libudev])
-+ LIBUDEV_CFLAGS="$libudev_CFLAGS"
-+ LIBUDEV_LIBS="$libudev_LIBS"
-+ AC_SUBST(LIBUDEV_CFLAGS)
-+ AC_SUBST(LIBUDEV_LIBS)],
-+ AC_MSG_WARN(udev library not available)
-+ )])
-
- AC_SUBST([JPEG_LIBS])
-
---
-2.26.2
-