summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins0.10-good/patches/patch-ab
blob: 81bbee4dbf3598a4d3858771f59b32bca997ac9e (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
33
34
35
36
37
38
39
40
41
42
43
$NetBSD: patch-ab,v 1.13 2009/01/27 22:59:16 sketch Exp $

--- configure.orig	Thu Jan 22 21:25:11 2009
+++ configure	Tue Jan 27 22:46:45 2009
@@ -26274,6 +26274,9 @@
 #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;
@@ -26884,7 +26887,7 @@
 fi
 rm -f conftest.mmap
 
- if test "x$ac_cv_func_mmap_fixed_mapped" == "xyes"; then
+ if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
   GST_HAVE_MMAP_TRUE=
   GST_HAVE_MMAP_FALSE='#'
 else
@@ -28297,7 +28300,7 @@
 $as_echo "$flag_ok" >&6; }
 
 
-        if test "x$ERROR_CFLAGS" == "x"
+        if test "x$ERROR_CFLAGS" = "x"
     then
 
   { $as_echo "$as_me:$LINENO: checking to see if compiler understands -errwarn=%all" >&5
@@ -32949,6 +32952,10 @@
 #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