summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-07-21 12:13:05 +0000
committertnn <tnn@pkgsrc.org>2007-07-21 12:13:05 +0000
commit2700153d624afe1fa389a0505b337ad172cb483a (patch)
tree080a79427b515e5ba9d650ece99de5227dca02d2
parenta8c004d51cfc20716fc608758b94dbf0ede3c76b (diff)
downloadpkgsrc-2700153d624afe1fa389a0505b337ad172cb483a.tar.gz
Disable use of mmap on Interix.
-rw-r--r--devel/rcs/patches/patch-ac17
1 files changed, 13 insertions, 4 deletions
diff --git a/devel/rcs/patches/patch-ac b/devel/rcs/patches/patch-ac
index 3136162ceaa..ab688e556bc 100644
--- a/devel/rcs/patches/patch-ac
+++ b/devel/rcs/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1 2003/09/02 09:42:57 martti Exp $
+$NetBSD: patch-ac,v 1.2 2007/07/21 12:13:05 tnn Exp $
---- src/conf.sh.orig 2003-09-02 12:35:32.000000000 +0300
-+++ src/conf.sh 2003-09-02 12:38:46.000000000 +0300
-@@ -73,17 +73,6 @@
+--- src/conf.sh.orig 1995-06-16 08:19:24.000000000 +0200
++++ src/conf.sh
+@@ -73,17 +73,6 @@ case `echo -n` in
ech='echo -n' dots='... '
esac
@@ -20,3 +20,12 @@ $NetBSD: patch-ac,v 1.1 2003/09/02 09:42:57 martti Exp $
$ech >&3 "$0: testing compiler for plausibility $dots"
echo 'main() { return 0; }' >a.c
rm -f a.exe a.out || exit
+@@ -1012,6 +1001,8 @@ cp a.c a.d || exit
+ sleep 2
+ has_map_fd=? has_mmap=? has_madvise=? mmap_signal=
+ case `(uname -s -r -v) 2>/dev/null` in
++'Interix'*) ;;
++ # Attempting to run the mmap test makes conf.sh exit with error 1.
+ 'HP-UX '[A-Z].08.07*) ;;
+ # mmap can crash the OS under HP-UX 8.07, so don't even test for it.
+ 'HP-UX '[A-Z].09.*) ;;