summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patches/patch-configure
blob: 6f0201ece051d88484447bf96b30ce6ac91f96cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-configure,v 1.2 2008/10/13 18:42:12 ahoka Exp $

--- configure.ac.orig	2008-10-06 20:14:27.000000000 +0200
+++ configure.ac
@@ -1592,7 +1592,7 @@ dnl Allow runing as root (usefull for pe
 dnl
 AC_ARG_ENABLE(run-as-root,
 [  --enable-run-as-root    allow runing VLC as root (default disabled)])
-AS_IF([test "${enable_run_as_root}" == "yes"],[
+AS_IF([test "${enable_run_as_root}" = "yes"],[
     AC_DEFINE(ALLOW_RUN_AS_ROOT, 1,
               [Define to 1 to allow runing VLC as root (uid 0).])
 ])
@@ -2424,7 +2424,7 @@ then
   fi
 
   CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_v4l2}"
-  AC_CHECK_HEADERS(linux/videodev2.h, [
+  AC_CHECK_HEADERS(linux/videodev2.h sys/videoio.h, [
     VLC_ADD_PLUGIN([v4l2])
   ],[])
   CPPFLAGS="${CPPFLAGS_save}"