pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/mono Fix build problem on NetBSD currnet with mre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/513b5e00df7d
branches:  trunk
changeset: 531626:513b5e00df7d
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Aug 03 07:46:54 2007 +0000

description:
Fix build problem on NetBSD currnet with mremap(2).
Patch supplied from Makoto Fujiwara.

diffstat:

 lang/mono/distinfo         |   3 ++-
 lang/mono/patches/patch-be |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r ca0fa1168096 -r 513b5e00df7d lang/mono/distinfo
--- a/lang/mono/distinfo        Fri Aug 03 07:00:55 2007 +0000
+++ b/lang/mono/distinfo        Fri Aug 03 07:46:54 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2007/01/04 02:38:14 rillig Exp $
+$NetBSD: distinfo,v 1.29 2007/08/03 07:46:54 taca Exp $
 
 SHA1 (mono-1.1.13.8.1.tar.gz) = f2cb79844073694859b1fb92eb770e3705239a3d
 RMD160 (mono-1.1.13.8.1.tar.gz) = a100a96b19300b253c12a2ad70caf65721418209
@@ -22,3 +22,4 @@
 SHA1 (patch-ba) = 1aee2cf3dce0d2d378941b6cbff5600640c4d564
 SHA1 (patch-bc) = bbf1a903cf7fee1dbd3a070b0ef0d5aecbdf67e2
 SHA1 (patch-bd) = a52007ae22f8b23d20abf4a56e5b9d57ccd1fbbe
+SHA1 (patch-be) = d7a6232690ecd15c32ed44dcc498e596c248f332
diff -r ca0fa1168096 -r 513b5e00df7d lang/mono/patches/patch-be
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/mono/patches/patch-be        Fri Aug 03 07:46:54 2007 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-be,v 1.1 2007/08/03 07:46:54 taca Exp $
+
+--- mono-1.1.13.8.1/support/sys-mman.corig     2006-04-11 07:21:37.000000000 +0900
++++ support/sys-mman.c 2007-08-03 22:04:18.000000000 +0900
+@@ -96,8 +96,13 @@
+       if (Mono_Posix_FromMremapFlags (flags, &_flags) == -1)
+               return MAP_FAILED;
+ 
++#if defined(__NetBSD__)
++      return mremap (old_address, (size_t) old_size, old_address, (size_t) new_size,
++                      (unsigned long) _flags);
++#else
+       return mremap (old_address, (size_t) old_size, (size_t) new_size,
+                       (unsigned long) _flags);
++#endif
+ }
+ #endif /* def HAVE_MREMAP */
+ 



Home | Main Index | Thread Index | Old Index