summaryrefslogtreecommitdiffstats
path: root/src/libxslt-1-fixes.patch
blob: d590a1e1b95dcbd74c1bac512f971cf8dc0de111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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, 05 Jul 2016 21:12:38 +0300
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);
 	}
 	xmlFree(directory);
 	if (ret < 0)
-- 
1.8.2.3