packages: mono/mono.spec, mono/mono-concurrent-sweep.patch (NEW)=?UTF-8?Q?=20?=- fix conc...

pluto pluto at pld-linux.org
Mon Apr 23 10:56:22 CEST 2012


Author: pluto                        Date: Mon Apr 23 08:56:22 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix concurrent sweep thread start code to actually work.
- release 1.

---- Files affected:
packages/mono:
   mono.spec (1.290 -> 1.291) , mono-concurrent-sweep.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mono/mono.spec
diff -u packages/mono/mono.spec:1.290 packages/mono/mono.spec:1.291
--- packages/mono/mono.spec:1.290	Sat Apr 21 10:29:14 2012
+++ packages/mono/mono.spec	Mon Apr 23 10:56:16 2012
@@ -19,7 +19,7 @@
 Summary(pl.UTF-8):	Implementacja Common Language Infrastructure
 Name:		mono
 Version:	2.11.1
-Release:	0.1
+Release:	1
 License:	LGPL v2 (VM), MIT X11/GPL v2 (C# compilers), MIT X11 (classes, tools), GPL v2 (tools)
 Group:		Development/Languages
 # latest downloads summary at http://download.mono-project.com/sources-stable/
@@ -32,6 +32,7 @@
 Patch4:		%{name}-console-no-utf8-bom.patch
 Patch5:		%{name}-pc.patch
 Patch6:		%{name}-ARG_MAX.patch
+Patch7:		%{name}-concurrent-sweep.patch
 URL:		http://www.mono-project.com/
 %if %(test -r /dev/random; echo $?)
 BuildRequires:	ACCESSIBLE_/dev/random
@@ -222,6 +223,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 # for jay
 cat >> mcs/build/config-default.make <<'EOF'
@@ -732,6 +734,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.291  2012/04/23 08:56:16  pluto
+- fix concurrent sweep thread start code to actually work.
+- release 1.
+
 Revision 1.290  2012/04/21 08:29:14  pluto
 - updated to 2.11.1, release 0.1 for testing.
 

================================================================
Index: packages/mono/mono-concurrent-sweep.patch
diff -u /dev/null packages/mono/mono-concurrent-sweep.patch:1.1
--- /dev/null	Mon Apr 23 10:56:22 2012
+++ packages/mono/mono-concurrent-sweep.patch	Mon Apr 23 10:56:16 2012
@@ -0,0 +1,19 @@
+commit 5b3f143191d599c1fcca89125793405150c79424
+Author: Rodrigo Kumpera <kumpera at gmail.com>
+Date:   Sun Apr 22 21:02:59 2012 -0300
+
+    Fix concurrent sweep thread start code to actually work.
+
+diff --git a/mono/metadata/sgen-marksweep.c b/mono/metadata/sgen-marksweep.c
+index 15e2767..78bc368 100644
+--- a/mono/metadata/sgen-marksweep.c
++++ b/mono/metadata/sgen-marksweep.c
+@@ -1960,7 +1960,7 @@ static void
+ post_param_init (void)
+ {
+ 	if (concurrent_sweep) {
+-		if (mono_native_thread_create (&ms_sweep_thread, ms_sweep_thread_func, NULL)) {
++		if (!mono_native_thread_create (&ms_sweep_thread, ms_sweep_thread_func, NULL)) {
+ 			fprintf (stderr, "Error: Could not create sweep thread.\n");
+ 			exit (1);
+ 		}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/mono/mono.spec?r1=1.290&r2=1.291



More information about the pld-cvs-commit mailing list