blob: 1f421b5ce3847d894b413587cb58fcecd7dc1548 [file] [log] [blame]
Name: libxslt
URL: http://xmlsoft.org/XSLT
Version: 87c3d9ea214fc0503fd8130b6dd97431d69cc066
Security Critical: yes
License: MIT
License File: Copyright
Description:
libxslt from libxml.org.
Modifications:
- GetFileAttributes -> GetFileAttributesA in libxslt\security.c
- Apply patch contributed here:
https://bugs.chromium.org/p/chromium/issues/detail?id=583171#c17
To import a new version:
On Linux, get the latest tar via libxml.org and extract and replace
libxslt/ with libxslt-X.Y.Z/ or clone git://git.gnome.org/libxslt
remove .gitignore and archive it.
mkdir linux && cd linux
../configure --without-debug --without-mem-debug --without-debugger --without-plugins --with-libxml-src=../../libxml/linux/
Patch to not define HAVE_CLOCK_GETTIME.
Disable both branches of locale support in libxslt/xsltconfig.h. This
file is shared between all platforms and there is no common locale
support. In particular, Android supports neither xlocale nor,
unsurprisingly, Win32 locales.
Do the same on Mac and copy the mac/config.h to Linux.
On Windows:
In win32\ run
cscript //E:jscript configure.js compiler=msvc iconv=no xslt_debug=no mem_debug=no debugger=no modules=no
and copy config.h to Linux in win32/
Remove:
doc/
examples/
python/
tests/
vms/