summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patches/patch-configure
blob: 5af8723bdd15b4e88d6447b46b821b843f1d7712 (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.4 2009/09/24 22:14:57 ahoka Exp $

--- configure.ac.orig	2009-09-19 21:30:21.000000000 +0200
+++ configure.ac
@@ -572,7 +572,7 @@ AC_CHECK_FUNCS(fdatasync,,
 ])
 
 dnl Check for non-standard system calls
-AC_CHECK_FUNCS([vmsplice eventfd fstatfs])
+AC_CHECK_FUNCS([vmsplice eventfd fstatvfs fstatfs])
 
 AH_BOTTOM([#include <vlc_fixups.h>])
 
@@ -2498,7 +2498,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}"