[gnumeric] win32: handle mkdir problem.



commit c8075ad8b648fac92cb5805036fde90a6039257d
Author: Morten Welinder <terra gnome org>
Date:   Mon Mar 29 20:23:48 2010 -0400

    win32: handle mkdir problem.

 tools/win32/moduleset.in          |    3 +++
 tools/win32/patches/libxslt.patch |   11 +++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/tools/win32/moduleset.in b/tools/win32/moduleset.in
index ee7a033..a61fc4e 100644
--- a/tools/win32/moduleset.in
+++ b/tools/win32/moduleset.in
@@ -243,6 +243,9 @@
 
     <tarball id="libxslt" version="1.1.26">
 	<source href="ftp://xmlsoft.org/libxslt/libxslt-1.1.26.tar.gz"/>
+	<patches>
+	  <patch file="&patch_dir;libxslt.patch"/>
+	</patches>
 	<dependencies>
 	    <dep package="libxml2"/>
 	</dependencies>
diff --git a/tools/win32/patches/libxslt.patch b/tools/win32/patches/libxslt.patch
new file mode 100644
index 0000000..918b37f
--- /dev/null
+++ b/tools/win32/patches/libxslt.patch
@@ -0,0 +1,11 @@
+--- libxslt/security.c~	2010-03-26 19:49:36.000000000 -0400
++++ libxslt/security.c	2010-03-29 20:11:52.000000000 -0400
+@@ -343,7 +343,7 @@
+ 	    }
+ 	    ret = xsltCheckWritePath(sec, ctxt, directory);
+ 	    if (ret == 1)
+-		ret = mkdir(directory, 0755);
++		ret = _mkdir(directory);
+ 	}
+ 	xmlFree(directory);
+ 	if (ret < 0)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]