diff options
Diffstat (limited to 'lang/mono/files/patch-libgc_configure')
| -rw-r--r-- | lang/mono/files/patch-libgc_configure | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/mono/files/patch-libgc_configure b/lang/mono/files/patch-libgc_configure new file mode 100644 index 000000000000..b4bf4f00806a --- /dev/null +++ b/lang/mono/files/patch-libgc_configure @@ -0,0 +1,18 @@ +--- libgc/configure.orig 2008-10-22 14:20:06.000000000 -0300 ++++ libgc/configure 2008-12-10 10:40:48.000000000 -0300 +@@ -4669,7 +4669,14 @@ + cat >>confdefs.h <<\_ACEOF + #define GC_FREEBSD_THREADS 1 + _ACEOF +- ++ if test "${enable_parallel_mark}" = yes; then ++ cat >>confdefs.h <<\_ACEOF ++#define PARALLEL_MARK 1 ++_ACEOF ++ fi ++ cat >>confdefs.h <<\_ACEOF ++#define THREAD_LOCAL_ALLOC 1 //only for tls=__thread. delete for pthread. ++_ACEOF + if test "x$PTHREAD_CFLAGS" != "x"; then + INCLUDES="$INCLUDES $PTHREAD_CFLAGS" + fi |
