summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vlc/patches/patch-configure')
-rw-r--r--multimedia/vlc/patches/patch-configure72
1 files changed, 48 insertions, 24 deletions
diff --git a/multimedia/vlc/patches/patch-configure b/multimedia/vlc/patches/patch-configure
index 2ee84c6e783..adf3093a75e 100644
--- a/multimedia/vlc/patches/patch-configure
+++ b/multimedia/vlc/patches/patch-configure
@@ -1,25 +1,49 @@
-$NetBSD: patch-configure,v 1.5 2010/06/20 15:58:06 wiz Exp $
+$NetBSD: patch-configure,v 1.6 2011/01/24 18:54:04 drochner Exp $
-First chunk: http://trac.videolan.org/vlc/ticket/3762
-Second chunk: http://trac.videolan.org/vlc/ticket/3761
-
---- 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}"
+--- configure.orig 2010-11-12 08:01:11.000000000 +0900
++++ configure 2011-01-04 22:57:48.000000000 +0900
+@@ -32744,7 +32744,7 @@
+ echo "$LIBVA_PKG_ERRORS" >&5
+
+
+- if test "${enable_libva}" == "yes"; then :
++ if test "${enable_libva}" = "yes"; then :
+ as_fn_error $? "Could not find required libva." "$LINENO" 5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libva not found " >&5
+@@ -32755,7 +32755,7 @@
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+
+- if test "${enable_libva}" == "yes"; then :
++ if test "${enable_libva}" = "yes"; then :
+ as_fn_error $? "Could not find required libva." "$LINENO" 5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libva not found " >&5
+@@ -32805,7 +32805,7 @@
+
+ else
+
+- if test "${enable_libva}" == "yes"; then :
++ if test "${enable_libva}" = "yes"; then :
+ as_fn_error $? "libva is present but libavcodec/vaapi.h is missing" "$LINENO" 5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libva is present but libavcodec/vaapi.h is missing " >&5
+@@ -32879,7 +32879,7 @@
+
+ else
+
+- if test "${enable_dxva2}" == "yes"; then :
++ if test "${enable_dxva2}" = "yes"; then :
+ as_fn_error $? "dxva2 is present but libavcodec/dxva2.h is missing" "$LINENO" 5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dxva2 is present but libavcodec/dxva2.h is missing " >&5
+@@ -32893,7 +32893,7 @@
+
+ else
+
+- if test "${enable_dxva2}" == "yes"; then :
++ if test "${enable_dxva2}" = "yes"; then :
+ as_fn_error $? "Could not find required dxva2api.h" "$LINENO" 5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dxva2api.h not found" >&5