summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins0.10-good/patches/patch-ab
blob: a6bf828bc5e063f901b67c63136c7974bfbf48f3 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
$NetBSD: patch-ab,v 1.9 2008/09/07 17:28:23 jmcneill Exp $

--- configure.orig	2008-04-22 22:05:02.000000000 -0400
+++ configure	2008-09-07 12:02:20.000000000 -0400
@@ -30644,7 +30644,7 @@
 
 
 
-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
@@ -31937,7 +31937,7 @@
 echo "${ECHO_T}$flag_ok" >&6; }
 
 
-        if test "x$ERROR_CFLAGS" == "x"
+        if test "x$ERROR_CFLAGS" = "x"
     then
 
   { echo "$as_me:$LINENO: checking to see if compiler understands -errwarn=%all" >&5
@@ -36126,6 +36126,8 @@
 #ifdef __sun /* Solaris */
 #include <sys/types.h>
 #include <sys/videodev2.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
 #else /* Linux */
 #include <linux/types.h>
 #define _LINUX_TIME_H
@@ -36481,6 +36483,8 @@
 #ifdef __sun /* Solaris */
 #include <sys/types.h>
 #include <sys/videodev2.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
 #else /* Linux */
 #include <linux/types.h>
 #define _LINUX_TIME_H
@@ -40419,9 +40423,9 @@
   HAVE_FLAC=no
 
 
-  { echo "$as_me:$LINENO: checking for FLAC__seekable_stream_encoder_new in -lFLAC" >&5
-echo $ECHO_N "checking for FLAC__seekable_stream_encoder_new in -lFLAC... $ECHO_C" >&6; }
-if test "${ac_cv_lib_FLAC_FLAC__seekable_stream_encoder_new+set}" = set; then
+  { echo "$as_me:$LINENO: checking for FLAC__stream_encoder_new in -lFLAC" >&5
+echo $ECHO_N "checking for FLAC__stream_encoder_new in -lFLAC... $ECHO_C" >&6; }
+if test "${ac_cv_lib_FLAC_FLAC__stream_encoder_new+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -40439,11 +40443,11 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char FLAC__seekable_stream_encoder_new ();
+char FLAC__stream_encoder_new ();
 int
 main ()
 {
-return FLAC__seekable_stream_encoder_new ();
+return FLAC__stream_encoder_new ();
   ;
   return 0;
 }
@@ -47603,6 +47607,8 @@
   case $ac_option in
   # Handling of the options.
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+	: Avoid regenerating within pkgsrc
+	exit 0
     ac_cs_recheck=: ;;
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     echo "$ac_cs_version"; exit ;;