diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-06-04 07:56:02 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-06-04 07:56:02 (GMT) |
commit | ee20d3e0246bf5909845fc00be9eec0af8fe2266 (patch) | |
tree | d843917b4cb4340662e19c61b765dba5cf5aee87 /src/libxslt-1-fixes.patch | |
parent | 7629bf9a82c01581dc63a45416b4fae1fce0a02e (diff) | |
download | mxe-ee20d3e0246bf5909845fc00be9eec0af8fe2266.zip mxe-ee20d3e0246bf5909845fc00be9eec0af8fe2266.tar.gz mxe-ee20d3e0246bf5909845fc00be9eec0af8fe2266.tar.bz2 |
packages libxslt xmlwrapp: enable mingw-w64 builds
Diffstat (limited to 'src/libxslt-1-fixes.patch')
-rw-r--r-- | src/libxslt-1-fixes.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/libxslt-1-fixes.patch b/src/libxslt-1-fixes.patch new file mode 100644 index 0000000..78b797c --- /dev/null +++ b/src/libxslt-1-fixes.patch @@ -0,0 +1,27 @@ +This file is part of MXE. +See index.html for further information. + +Contains ad hoc patches for cross building. + +From 5cdef88cc0bd288b4814509062234b72d27dc176 Mon Sep 17 00:00:00 2001 +From: MXE +Date: Tue, 4 Jun 2013 17:28:16 +1000 +Subject: [PATCH] fix for deprecated mkdir + + +diff --git a/libxslt/security.c b/libxslt/security.c +index 965175f..be36f4b 100644 +--- a/libxslt/security.c ++++ b/libxslt/security.c +@@ -343,7 +343,7 @@ xsltCheckWritePath(xsltSecurityPrefsPtr sec, + } + ret = xsltCheckWritePath(sec, ctxt, directory); + if (ret == 1) +- ret = mkdir(directory, 0755); ++ ret = _mkdir(directory, 0755); + } + xmlFree(directory); + if (ret < 0) +-- +1.8.2.3 + |