pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45201: [PATCH] mono on DragonFly needs MONO_ARCH_NOMAP32BIT defined
>Number: 45201
>Category: pkg
>Synopsis: [PATCH] mono on DragonFly needs MONO_ARCH_NOMAP32BIT defined
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 01 12:05:00 +0000 2011
>Originator: Alex Hornung
>Release: DragonFly 2.11
>Organization:
DragonFly BSD
>Environment:
DragonFly alex-pc.local 2.11-DEVELOPMENT DragonFly
v2.11.0.605.gc3dc9-DEVELOPMENT #0: Fri Jul 29 13:17:18 UTC 2011
root%pkgbox64.dragonflybsd.org@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC
x86_64
>Description:
Mono on DragonFly x86_64 needs the NOMAP32BIT define set to work correctly. The
patch below and at http://leaf.dragonflybsd.org/~alexh/mono-amd64.patch fixes
the issue.
I've also raised this usptream: http://bugzilla.xamarin.com/show_bug.cgi?id=129
Thanks,
Alex
>How-To-Repeat:
>Fix:
diff --git a/lang/mono/distinfo b/lang/mono/distinfo
index 5dded6f..9a8cc8b 100644
--- a/lang/mono/distinfo
+++ b/lang/mono/distinfo
@@ -40,3 +40,4 @@ SHA1 (patch-dj) = acff1ca9b38b1c21ed545bcd4fb806c69e40c409
SHA1 (patch-dk) = 7111c77894ff94264e668019d1010f659350f2cd
SHA1 (patch-dl) = fc9cd48c070dbecad68cfe7d45eea59a3e6023d9
SHA1 (patch-dm) = bac9172f419630f817702e15dd3761cb4f60e0a0
+SHA1 (patch-dn) = 08736068d9333ab7eab03d67b3064f95e731126d
diff --git a/lang/mono/patches/patch-dn b/lang/mono/patches/patch-dn
new file mode 100644
index 0000000..f4c856c
--- /dev/null
+++ b/lang/mono/patches/patch-dn
@@ -0,0 +1,13 @@
+--- mono/mini/mini-amd64.h.orig 2011-08-01 12:31:19.813018000 +0100
++++ mono/mini/mini-amd64.h 2011-08-01 12:31:42.293049000 +0100
+@@ -298,6 +298,10 @@
+
+ #define MONO_ARCH_NOMAP32BIT
+
++#elif defined (__DragonFly__)
++
++#define MONO_ARCH_NOMAP32BIT
++
+ #elif defined (__FreeBSD__)
+
+ #define REG_RAX 7
Home |
Main Index |
Thread Index |
Old Index