[Pkg-mono-svn-commits] rev 3193 - in mono/trunk/debian: . patches

Sebastian Dröge slomo at alioth.debian.org
Tue Jun 12 18:15:31 UTC 2007


Author: slomo
Date: 2007-06-12 18:15:31 +0000 (Tue, 12 Jun 2007)
New Revision: 3193

Added:
   mono/trunk/debian/patches/g_thread_init.dpatch
Modified:
   mono/trunk/debian/changelog
   mono/trunk/debian/patches/00list
Log:
* debian/patches/g_thread_init.dpatch:
  + Call g_thread_init() as early as possible as this is required for newer
    glib versions. See:
    http://bugzilla.ximian.com/show_bug.cgi?id=81862
    http://bugzilla.gnome.org/show_bug.cgi?id=331853
    Patch from upstream SVN, rev. 78018.

Modified: mono/trunk/debian/changelog
===================================================================
--- mono/trunk/debian/changelog	2007-06-12 08:52:59 UTC (rev 3192)
+++ mono/trunk/debian/changelog	2007-06-12 18:15:31 UTC (rev 3193)
@@ -1,3 +1,14 @@
+mono (1.2.4-4) unstable; urgency=low
+
+  * debian/patches/g_thread_init.dpatch:
+    + Call g_thread_init() as early as possible as this is required for newer
+      glib versions. See:
+      http://bugzilla.ximian.com/show_bug.cgi?id=81862
+      http://bugzilla.gnome.org/show_bug.cgi?id=331853
+      Patch from upstream SVN, rev. 78018.
+
+ -- Sebastian Dröge <slomo at debian.org>  Tue, 12 Jun 2007 20:11:05 +0200
+
 mono (1.2.4-3) unstable; urgency=low
 
   * Mirco 'meebey' Bauer:

Modified: mono/trunk/debian/patches/00list
===================================================================
--- mono/trunk/debian/patches/00list	2007-06-12 08:52:59 UTC (rev 3192)
+++ mono/trunk/debian/patches/00list	2007-06-12 18:15:31 UTC (rev 3193)
@@ -5,3 +5,4 @@
 fix-mono.pc.in
 fix-mono-cairo.pc.in
 #dont_remap_non-runtime_libs
+g_thread_init.dpatch

Added: mono/trunk/debian/patches/g_thread_init.dpatch
===================================================================
--- mono/trunk/debian/patches/g_thread_init.dpatch	                        (rev 0)
+++ mono/trunk/debian/patches/g_thread_init.dpatch	2007-06-12 18:15:31 UTC (rev 3193)
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+ at DPATCH@
+
+--- mono/mono/mini/driver.c	2007/05/24 17:28:21	77922
++++ mono/mono/mini/driver.c	2007/05/27 20:11:48	78018
+@@ -695,6 +695,9 @@
+ 
+ 	setlocale (LC_ALL, "");
+ 
++	if (!g_thread_supported ())
++		g_thread_init (NULL);
++
+ 	if (mono_running_on_valgrind () && getenv ("MONO_VALGRIND_LEAK_CHECK")) {
+ 		GMemVTable mem_vtable;
+ 
+


Property changes on: mono/trunk/debian/patches/g_thread_init.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-mono-svn-commits mailing list