summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins0.10-good/patches/patch-ab
blob: 97de7d066193810ea04a16ab19412739cdcd5857 (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
$NetBSD: patch-ab,v 1.18 2011/01/26 23:21:07 drochner Exp $

--- configure.orig	2011-01-21 10:29:26.000000000 +0000
+++ configure
@@ -22406,6 +22406,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;
@@ -27549,6 +27552,10 @@ $as_echo_n "checking Checking for up to 
 #ifdef __sun /* Solaris */
 #include <sys/types.h>
 #include <sys/videodev2.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
 #else /* Linux */
 #include <linux/types.h>
 #define _LINUX_TIME_H