blob: 056d1961ee974f708960dfb3e8524b75c4a9c0f4 [file] [log] [blame]
Name: libxslt
URL: http://xmlsoft.org/XSLT
Version: 891681e3e948f31732229f53cb6db7215f740fc7
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/