components/libxml2/patches/globals-fix.patch
changeset 148 33ca3897ae25
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxml2/patches/globals-fix.patch	Thu Mar 24 12:44:50 2011 -0700
@@ -0,0 +1,11 @@
+--- libxml2-2.7.6/globals.c.fix	Tue Oct 13 20:13:06 2009
++++ libxml2-2.7.6/globals.c	Tue Oct 13 20:13:28 2009
+@@ -46,7 +46,7 @@
+  */
+ void xmlInitGlobals(void)
+ {
+-    if (xmlThrDefMutex != NULL)
++    if (xmlThrDefMutex == NULL)
+         xmlThrDefMutex = xmlNewMutex();
+ }
+