summaryrefslogtreecommitdiff
path: root/net/libtorrent/patches/patch-ab
blob: 483bb2b3dbc0d51bd3f003b935ebca42bcb47460 (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
$NetBSD: patch-ab,v 1.7 2007/01/26 18:48:52 tron Exp $

--- configure.orig	2006-12-24 12:54:00.000000000 +0000
+++ configure	2007-01-26 15:15:13.000000000 +0000
@@ -15823,6 +15823,10 @@
   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
@@ -15953,6 +15957,9 @@
   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
@@ -16000,6 +16007,12 @@
       cat >conftest.$ac_ext <<_ACEOF
 #include <sys/types.h>
           #include <sys/mman.h>
+#if defined(__sun) && defined(__SVR4)
+          #include <unistd.h>
+#endif
+#if defined(__sun) && defined(__SVR4)
+          #include <unistd.h>
+#endif
           void f() { mincore((char*)0, 0, (char*)0); }
 
 _ACEOF
@@ -16701,6 +16714,10 @@
 _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 ;;