pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/mono2



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Feb 17 17:07:32 UTC 2017

Modified Files:
        pkgsrc/lang/mono2: Makefile distinfo
        pkgsrc/lang/mono2/patches: patch-bc
Added Files:
        pkgsrc/lang/mono2/patches: patch-mono_utils_mono-tls.h

Log Message:
Disable mprotect for mini-mono. Disable pthread key delete since the key
is still often used during thread destruction. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/mono2/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/mono2/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/mono2/patches/patch-bc
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/mono2/patches/patch-mono_utils_mono-tls.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/mono2/Makefile
diff -u pkgsrc/lang/mono2/Makefile:1.23 pkgsrc/lang/mono2/Makefile:1.24
--- pkgsrc/lang/mono2/Makefile:1.23     Sun Dec  4 05:17:08 2016
+++ pkgsrc/lang/mono2/Makefile  Fri Feb 17 17:07:32 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2016/12/04 05:17:08 ryoon Exp $
+# $NetBSD: Makefile,v 1.24 2017/02/17 17:07:32 joerg Exp $
 
 DISTNAME=      mono-2.10.9
-PKGREVISION=   18
+PKGREVISION=   19
 CATEGORIES=    lang
 MASTER_SITES=  http://download.mono-project.com/sources/mono/
 EXTRACT_SUFX=  .tar.bz2
@@ -35,7 +35,7 @@ CONFIGURE_ARGS+=      --disable-dtrace
 
 .include "options.mk"
 
-MAKE_FLAGS+=           PERL=${PERL5:Q}
+MAKE_FLAGS+=           PERL=${PERL5:Q} PAXCTL=${PAXCTL:Utrue}
 MAKE_FLAGS+=           mandir=${PREFIX}/${PKGMANDIR}
 UNLIMIT_RESOURCES=     datasize
 UNLIMIT_RESOURCES+=    stacksize

Index: pkgsrc/lang/mono2/distinfo
diff -u pkgsrc/lang/mono2/distinfo:1.10 pkgsrc/lang/mono2/distinfo:1.11
--- pkgsrc/lang/mono2/distinfo:1.10     Mon Aug 15 10:24:31 2016
+++ pkgsrc/lang/mono2/distinfo  Fri Feb 17 17:07:32 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2016/08/15 10:24:31 richard Exp $
+$NetBSD: distinfo,v 1.11 2017/02/17 17:07:32 joerg Exp $
 
 SHA1 (mono-2.10.9.tar.bz2) = 1a6e8c5a0c3d88d87982259aa04402e028a283de
 RMD160 (mono-2.10.9.tar.bz2) = ac9784c413eb2cdb490750a86a96cce5c11ad5bd
@@ -22,7 +22,7 @@ SHA1 (patch-aq) = a356e520eeb95a8c3bb148
 SHA1 (patch-ar) = 7a2a916f3362da087b2dcfe6b91ba47339151e5b
 SHA1 (patch-as) = 9f434c84f57e985d4734872e2dbce1079c87fcfa
 SHA1 (patch-ba) = 872ca1579a5a3e4003b17d3406abe9c5d3a935cf
-SHA1 (patch-bc) = bbf1a903cf7fee1dbd3a070b0ef0d5aecbdf67e2
+SHA1 (patch-bc) = 39b34f40176ea34362e82637ad8de90fb2eb11db
 SHA1 (patch-bd) = 15c803bf85ad36ad08bcaaf7dbc371a6473ae5f2
 SHA1 (patch-be) = d7a6232690ecd15c32ed44dcc498e596c248f332
 SHA1 (patch-bf) = e945b13fbffc1239a4c459a2c6be543e67e883f9
@@ -52,3 +52,4 @@ SHA1 (patch-mcs_class_System.Web_System.
 SHA1 (patch-mcs_class_System.Web_System.Web_WebROCollection.cs) = ff95c3898df3aa4809d1222c29f9bf81e87e9af1
 SHA1 (patch-mono_profiler_proflog.c) = 2f7826873ab7fdb858db3d39606028ee87a34a46
 SHA1 (patch-mono_utils_mono-compiler.h) = 0dce7994bdb350f7080464f416b725cbe3e7e293
+SHA1 (patch-mono_utils_mono-tls.h) = 6230428437c77123227c2f9b5fd859c09b9fb471

Index: pkgsrc/lang/mono2/patches/patch-bc
diff -u pkgsrc/lang/mono2/patches/patch-bc:1.1 pkgsrc/lang/mono2/patches/patch-bc:1.2
--- pkgsrc/lang/mono2/patches/patch-bc:1.1      Mon Jun 17 12:43:28 2013
+++ pkgsrc/lang/mono2/patches/patch-bc  Fri Feb 17 17:07:32 2017
@@ -1,8 +1,16 @@
-$NetBSD: patch-bc,v 1.1 2013/06/17 12:43:28 wiz Exp $
+$NetBSD: patch-bc,v 1.2 2017/02/17 17:07:32 joerg Exp $
 
---- mono/mini/Makefile.in.orig 2005-12-22 18:35:16.000000000 +0100
+--- mono/mini/Makefile.in.orig 2012-02-01 20:48:03.000000000 +0000
 +++ mono/mini/Makefile.in
-@@ -1200,15 +1200,15 @@ mbench: test.exe
+@@ -1570,6 +1570,7 @@ genmdesc$(EXEEXT): $(genmdesc_OBJECTS) $
+ mono$(EXEEXT): $(mono_OBJECTS) $(mono_DEPENDENCIES) 
+       @rm -f mono$(EXEEXT)
+       $(mono_LINK) $(mono_OBJECTS) $(mono_LDADD) $(LIBS)
++      ${PAXCTL} +m mono$(EXEEXT)
+ mono-sgen$(EXEEXT): $(mono_sgen_OBJECTS) $(mono_sgen_DEPENDENCIES) 
+       @rm -f mono-sgen$(EXEEXT)
+       $(mono_sgen_LINK) $(mono_sgen_OBJECTS) $(mono_sgen_LDADD) $(LIBS)
+@@ -5035,15 +5036,15 @@ mbench: test.exe
  
  stat1: mono bench.exe
        $(RUNTIME) --verbose --statfile stats.pl --regression bench.exe

Added files:

Index: pkgsrc/lang/mono2/patches/patch-mono_utils_mono-tls.h
diff -u /dev/null pkgsrc/lang/mono2/patches/patch-mono_utils_mono-tls.h:1.1
--- /dev/null   Fri Feb 17 17:07:32 2017
+++ pkgsrc/lang/mono2/patches/patch-mono_utils_mono-tls.h       Fri Feb 17 17:07:32 2017
@@ -0,0 +1,16 @@
+$NetBSD: patch-mono_utils_mono-tls.h,v 1.1 2017/02/17 17:07:32 joerg Exp $
+
+Thread destructor will still try to update the key, even after destructor.
+Prefer leaking memory to crashes.
+
+--- mono/utils/mono-tls.h.orig 2017-02-16 23:12:51.591610250 +0000
++++ mono/utils/mono-tls.h
+@@ -38,7 +38,7 @@ mono_native_tls_alloc (MonoNativeTlsKey 
+ static inline void
+ mono_native_tls_free (MonoNativeTlsKey key)
+ {
+-      pthread_key_delete (key);
++      //pthread_key_delete (key);
+ }
+ 
+ static inline int



Home | Main Index | Thread Index | Old Index