[maemo-commits] [maemo-commits] r12538 - in projects/haf/trunk/osso-gnome-vfs2/debian: . patches

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Jun 29 11:06:55 EEST 2007
Author: richard
Date: 2007-06-29 11:06:41 +0300 (Fri, 29 Jun 2007)
New Revision: 12538

Added:
   projects/haf/trunk/osso-gnome-vfs2/debian/patches/32-daemon-gthread-init.patch
Modified:
   projects/haf/trunk/osso-gnome-vfs2/debian/changelog
Log:
NB#62096

Modified: projects/haf/trunk/osso-gnome-vfs2/debian/changelog
===================================================================
--- projects/haf/trunk/osso-gnome-vfs2/debian/changelog	2007-06-28 14:19:03 UTC (rev 12537)
+++ projects/haf/trunk/osso-gnome-vfs2/debian/changelog	2007-06-29 08:06:41 UTC (rev 12538)
@@ -1,3 +1,9 @@
+osso-gnome-vfs2 (2.16.3-1osso21) unstable; urgency=low
+
+  * Fixes: NB#62096, gnomevfs daemon shall call g_thread_init()
+
+ -- Richard Hult <richard at imendio.com>  Fri, 29 Jun 2007 09:49:57 +0200
+
 osso-gnome-vfs2 (2.16.3-1osso20) unstable; urgency=low
 
   * Use the slot_name property that HAL provides to identity the MMC cards

Added: projects/haf/trunk/osso-gnome-vfs2/debian/patches/32-daemon-gthread-init.patch
===================================================================
--- projects/haf/trunk/osso-gnome-vfs2/debian/patches/32-daemon-gthread-init.patch	2007-06-28 14:19:03 UTC (rev 12537)
+++ projects/haf/trunk/osso-gnome-vfs2/debian/patches/32-daemon-gthread-init.patch	2007-06-29 08:06:41 UTC (rev 12538)
@@ -0,0 +1,15 @@
+Index: daemon/vfs-daemon.c
+===================================================================
+--- daemon/vfs-daemon.c	(revision 12537)
++++ daemon/vfs-daemon.c	(arbetskopia)
+@@ -923,6 +923,10 @@ main (int argc, char *argv[])
+ 	}
+ 
+ 	setlocale(LC_ALL, "");
++
++	if (!g_thread_supported ()) {
++		g_thread_init (NULL);
++	}
+ 	
+ 	g_type_init ();
+ 


More information about the maemo-commits mailing list