pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/rcs/patches Disable use of mmap on Interix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/315b3e82cf72
branches:  trunk
changeset: 531147:315b3e82cf72
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Jul 21 12:13:05 2007 +0000

description:
Disable use of mmap on Interix.

diffstat:

 devel/rcs/patches/patch-ac |  17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r aac33705f9e7 -r 315b3e82cf72 devel/rcs/patches/patch-ac
--- a/devel/rcs/patches/patch-ac        Sat Jul 21 12:09:59 2007 +0000
+++ b/devel/rcs/patches/patch-ac        Sat Jul 21 12:13:05 2007 +0000
@@ -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 @@
  $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.*) ;;



Home | Main Index | Thread Index | Old Index