packages libxslt xmlwrapp: enable mingw-w64 builds

pull/210/head
Tony Theodore 11 years ago
parent 7629bf9a82
commit ee20d3e024

@ -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

@ -28,6 +28,3 @@ define $(PKG)_BUILD
--without-plugins
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
$(PKG)_BUILD_x86_64-w64-mingw32 =
$(PKG)_BUILD_i686-w64-mingw32 =

@ -23,6 +23,3 @@ define $(PKG)_BUILD
PKG_CONFIG='$(TARGET)-pkg-config'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA=
endef
$(PKG)_BUILD_x86_64-w64-mingw32 =
$(PKG)_BUILD_i686-w64-mingw32 =

Loading…
Cancel
Save