diff options
author | Romain Tartière <romain@FreeBSD.org> | 2010-10-18 17:40:17 +0000 |
---|---|---|
committer | Romain Tartière <romain@FreeBSD.org> | 2010-10-18 17:40:17 +0000 |
commit | 0550254cdc46be77d0dc245bb2da357964bd0261 (patch) | |
tree | 2b49f7479dfb467e7a0b02e3b595c9ff42b0482b /lang | |
parent | 8ae08791850a749d8a6716106d736b918ebb9905 (diff) |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mono/Makefile | 1 | ||||
-rw-r--r-- | lang/mono/files/patch-libgc_pthread__support.c | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 7f9fee751da6..060d5d01b152 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -7,6 +7,7 @@ PORTNAME= mono PORTVERSION= 2.6.7 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://ftp.novell.com/pub/mono/sources/${PORTNAME}/ diff --git a/lang/mono/files/patch-libgc_pthread__support.c b/lang/mono/files/patch-libgc_pthread__support.c new file mode 100644 index 000000000000..3a3526bc564d --- /dev/null +++ b/lang/mono/files/patch-libgc_pthread__support.c @@ -0,0 +1,17 @@ + +$FreeBSD$ + +https://bugzilla.novell.com/show_bug.cgi?id=647248 + +--- libgc/pthread_support.c.orig ++++ libgc/pthread_support.c +@@ -1344,7 +1344,8 @@ void * GC_start_routine_head(void * arg, void *base_addr, + if (start) *start = si -> start_routine; + if (start_arg) *start_arg = si -> arg; + +- sem_post(&(si -> registered)); /* Last action on si. */ ++ if (!(si->flags & FOREIGN_THREAD)) ++ sem_post(&(si -> registered)); /* Last action on si. */ + /* OK to deallocate. */ + # if defined(THREAD_LOCAL_ALLOC) && !defined(DBG_HDRS_ALL) + LOCK(); |