summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins1-good/patches/patch-ab
blob: b39894e312d126277dd4d76c7c6ae8acc9cf0d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-ab,v 1.2 2013/03/15 18:34:47 drochner Exp $

--- configure.orig	2013-01-04 13:27:01.000000000 +0000
+++ configure
@@ -23413,6 +23413,9 @@ main ()
 #error GCC before 3.4 has critical bugs compiling inline assembly
 #endif
 #endif
+#ifdef __SUNPRO_C
+#error Sun Studio cannot handle assembly in this package
+#endif
 __asm__ (""::)
   ;
   return 0;
@@ -29384,6 +29387,8 @@ $as_echo_n "checking Checking for up to 
 #include <sys/videodev2.h>
 #elif __FreeBSD__
 #include <linux/videodev2.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
 #else /* Linux */
 #include <linux/types.h>
 #define _LINUX_TIME_H
@@ -29459,6 +29464,8 @@ $as_echo_n "checking struct v4l2_buffer 
 #include <sys/videodev2.h>
 #elif __FreeBSD__
 #include <linux/videodev2.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
 #else /* Linux */
 #include <linux/types.h>
 #define _LINUX_TIME_H