summaryrefslogtreecommitdiff
path: root/net/libtorrent/patches/patch-ab
blob: d67f0a12e87946f1bfba9bec09ac1c60094f41e4 (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
$NetBSD: patch-ab,v 1.6 2007/01/04 12:45:41 tron Exp $

--- configure.orig	2006-10-27 15:52:04.000000000 +0200
+++ configure
@@ -22826,6 +22826,9 @@ echo $ECHO_N "checking signedness of min
   cat >conftest.$ac_ext <<_ACEOF
 #include <sys/types.h>
       #include <sys/mman.h>
+#if defined(__sun) && defined(__SVR4)
+      #include <unistd.h>
+#endif
       void f() { mincore((char*)0, 0, (unsigned char*)0); }
 
 _ACEOF
@@ -22873,6 +22876,9 @@ sed 's/^/| /' conftest.$ac_ext >&5
       cat >conftest.$ac_ext <<_ACEOF
 #include <sys/types.h>
           #include <sys/mman.h>
+#if defined(__sun) && defined(__SVR4)
+          #include <unistd.h>
+#endif
           void f() { mincore((char*)0, 0, (char*)0); }
 
 _ACEOF
@@ -22956,6 +22962,9 @@ echo $ECHO_N "checking signedness of min
   cat >conftest.$ac_ext <<_ACEOF
 #include <sys/types.h>
       #include <sys/mman.h>
+#if defined(__sun) && defined(__SVR4)
+      #include <unistd.h>
+#endif
       void f() { mincore((char*)0, 0, (unsigned char*)0); }
 
 _ACEOF
@@ -23003,6 +23012,9 @@ sed 's/^/| /' conftest.$ac_ext >&5
       cat >conftest.$ac_ext <<_ACEOF
 #include <sys/types.h>
           #include <sys/mman.h>
+#if defined(__sun) && defined(__SVR4)
+          #include <unistd.h>
+#endif
           void f() { mincore((char*)0, 0, (char*)0); }
 
 _ACEOF
@@ -23704,6 +23716,10 @@ do
 _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+	: Avoid regenerating within pkgsrc
+	exit 0
+	: Avoid regenerating within pkgsrc
+	exit 0
     ac_cs_recheck=: ;;
   --version | --vers* | -V )
     echo "$ac_cs_version"; exit 0 ;;