summaryrefslogtreecommitdiff
path: root/lang/mono
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-12-29 05:57:52 +0000
committerobache <obache@pkgsrc.org>2010-12-29 05:57:52 +0000
commit7b8e64aa77395331d9e59dbf890de9484d923cc4 (patch)
treedc15eb73cc9db899ca7681b000be1f43238b324b /lang/mono
parent546748255341145955b1980153b8f42e37728972 (diff)
downloadpkgsrc-7b8e64aa77395331d9e59dbf890de9484d923cc4.tar.gz
more DragonFly fixes (not completed).
Diffstat (limited to 'lang/mono')
-rw-r--r--lang/mono/distinfo5
-rw-r--r--lang/mono/patches/patch-dk12
-rw-r--r--lang/mono/patches/patch-dl13
-rw-r--r--lang/mono/patches/patch-dm22
4 files changed, 51 insertions, 1 deletions
diff --git a/lang/mono/distinfo b/lang/mono/distinfo
index 552c2f8746a..2037a888a0a 100644
--- a/lang/mono/distinfo
+++ b/lang/mono/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.71 2010/12/29 05:41:20 obache Exp $
+$NetBSD: distinfo,v 1.72 2010/12/29 05:57:52 obache Exp $
SHA1 (mono-2.8.1.tar.bz2) = c46f9d8282803e8fd137acdb126e34421762b13c
RMD160 (mono-2.8.1.tar.bz2) = 1d3c2a71fa46fcb93f201cdce2a19407cb1cd2ef
@@ -40,3 +40,6 @@ SHA1 (patch-dg) = bb400ea08a07b24797af16e926a430e493203e51
SHA1 (patch-dh) = 9d1603cb55658a378cf4af29e41d6215f6a080c9
SHA1 (patch-di) = 67a4054c3e860f6f79050a8b8e571f1495d3feeb
SHA1 (patch-dj) = acff1ca9b38b1c21ed545bcd4fb806c69e40c409
+SHA1 (patch-dk) = a3646af69ca1ce9f7da3c7397e5bbc9fd36dd8f2
+SHA1 (patch-dl) = fc9cd48c070dbecad68cfe7d45eea59a3e6023d9
+SHA1 (patch-dm) = bac9172f419630f817702e15dd3761cb4f60e0a0
diff --git a/lang/mono/patches/patch-dk b/lang/mono/patches/patch-dk
new file mode 100644
index 00000000000..4fe3cb587bf
--- /dev/null
+++ b/lang/mono/patches/patch-dk
@@ -0,0 +1,12 @@
+$NetBSD: patch-dk,v 1.1 2010/12/29 05:57:52 obache Exp $
+
+--- libgc/include/gc.h.orig 2010-11-12 10:24:41.000000000 +0000
++++ libgc/include/gc.h
+@@ -521,6 +521,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_of
+ /* This may also be desirable if it is possible but expensive to */
+ /* retrieve the call chain. */
+ #if (defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) \
++ || defined(__DragonFly__)) \
+ || defined(__FreeBSD__)) & !defined(GC_CAN_SAVE_CALL_STACKS)
+ # define GC_ADD_CALLER
+ # if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
diff --git a/lang/mono/patches/patch-dl b/lang/mono/patches/patch-dl
new file mode 100644
index 00000000000..e69b00bf37b
--- /dev/null
+++ b/lang/mono/patches/patch-dl
@@ -0,0 +1,13 @@
+$NetBSD: patch-dl,v 1.1 2010/12/29 05:57:52 obache Exp $
+
+--- mono/utils/dlmalloc.c.orig 2010-11-12 10:24:41.000000000 +0000
++++ mono/utils/dlmalloc.c
+@@ -1207,7 +1207,7 @@ int mspace_mallopt(int, int);
+ #ifndef LACKS_UNISTD_H
+ #include <unistd.h> /* for sbrk */
+ #else /* LACKS_UNISTD_H */
+-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) || !defined(__DragonFly__)
+ extern void* sbrk(ptrdiff_t);
+ #endif /* FreeBSD etc */
+ #endif /* LACKS_UNISTD_H */
diff --git a/lang/mono/patches/patch-dm b/lang/mono/patches/patch-dm
new file mode 100644
index 00000000000..85aae2107f4
--- /dev/null
+++ b/lang/mono/patches/patch-dm
@@ -0,0 +1,22 @@
+$NetBSD: patch-dm,v 1.1 2010/12/29 05:57:52 obache Exp $
+
+--- mono/utils/mono-time.c.orig 2010-11-12 10:24:41.000000000 +0000
++++ mono/utils/mono-time.c
+@@ -57,7 +57,7 @@ mono_100ns_datetime (void)
+ #include <sys/time.h>
+ #endif
+
+-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
+ #endif
+@@ -67,7 +67,7 @@ mono_100ns_datetime (void)
+ static gint64
+ get_boot_time (void)
+ {
+-#if defined(PLATFORM_MACOSX) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
++#if defined(PLATFORM_MACOSX) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+ int mib [2];
+ size_t size;
+ time_t now;