summaryrefslogtreecommitdiff
path: root/lang/mono/files
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2014-06-25 09:40:15 +0000
committerRomain Tartière <romain@FreeBSD.org>2014-06-25 09:40:15 +0000
commitc7582fa9c3f6bce74f6bf08a0ab2b3c9e63d772a (patch)
treeed77ca5b9fdc70e96d0d109a28d9c05dcccb1d5d /lang/mono/files
parentFix category (diff)
Unbreak on FreeBSD 8.4.
PR: ports/190851 Submitted by: truckman
Notes
Notes: svn path=/head/; revision=359212
Diffstat (limited to 'lang/mono/files')
-rw-r--r--lang/mono/files/patch-mono-mini-ldscript.mono31
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/mono/files/patch-mono-mini-ldscript.mono b/lang/mono/files/patch-mono-mini-ldscript.mono
new file mode 100644
index 000000000000..4ec5c9876152
--- /dev/null
+++ b/lang/mono/files/patch-mono-mini-ldscript.mono
@@ -0,0 +1,31 @@
+Address this build error when using binutils 2.24's ld(1):
+
+====================
+ .
+ .
+ CCLD mono-sgen
+/usr/local/bin/ld: mono-boehm: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO
+/usr/local/bin/ld: final link failed: Bad value
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+gmake[4]: *** [mono-boehm] Error 1
+gmake[4]: *** Waiting for unfinished jobs....
+/usr/local/bin/ld: mono-sgen: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO
+/usr/local/bin/ld: final link failed: Bad value
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+gmake[4]: *** [mono-sgen] Error 1
+ .
+ .
+====================
+
+See also:
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190851
+
+--- mono/mini/ldscript.mono.orig 2014-03-31 14:25:50.000000000 -0600
++++ mono/mini/ldscript.mono 2014-06-18 14:27:28.000000000 -0600
+@@ -7,6 +7,4 @@
+ gc_thread_vtable;
+ mini_type_is_vtype;
+ mini_is_gsharedvt_klass;
+- local:
+- *;
+ };