| OLD | NEW |
| 1 Name: libxslt | 1 Name: libxslt |
| 2 URL: http://xmlsoft.org/XSLT | 2 URL: http://xmlsoft.org/XSLT |
| 3 Version: 8345634c5482ca04293ae1862d52fa9dd764aeca | 3 Version: 96c9c644f30ed762735802a27784cc522cff1643 |
| 4 Security Critical: yes | 4 Security Critical: yes |
| 5 License: MIT | 5 License: MIT |
| 6 License File: Copyright | 6 License File: Copyright |
| 7 | 7 |
| 8 Description: | 8 Description: |
| 9 | 9 |
| 10 libxslt from libxml.org. | 10 libxslt from libxml.org. |
| 11 | 11 |
| 12 Modifications: | 12 Modifications: |
| 13 | 13 |
| 14 - GetFileAttributes -> GetFileAttributesA in libxslt\security.c | 14 - GetFileAttributes -> GetFileAttributesA in libxslt\security.c |
| 15 | 15 |
| 16 - Apply patch contributed here: | 16 - Apply patch contributed here: |
| 17 https://bugs.chromium.org/p/chromium/issues/detail?id=583171#c17 | 17 https://bugs.chromium.org/p/chromium/issues/detail?id=583171#c17 |
| 18 | 18 |
| 19 - Apply patch contributed here: | |
| 20 https://crbug.com/619006 | |
| 21 | |
| 22 To import a new version: | 19 To import a new version: |
| 23 | 20 |
| 24 On Linux, get the latest tar via libxml.org and extract and replace | 21 On Linux, get the latest tar via libxml.org and extract and replace |
| 25 libxslt/ with libxslt-X.Y.Z/ or clone git://git.gnome.org/libxslt | 22 libxslt/ with libxslt-X.Y.Z/ or clone git://git.gnome.org/libxslt |
| 26 remove .gitignore and archive it. | 23 remove .gitignore and archive it. |
| 27 | 24 |
| 28 mkdir linux && cd linux | 25 mkdir linux && cd linux |
| 29 ../configure --without-debug --without-mem-debug --without-debugger --without-pl
ugins --with-libxml-src=../../libxml/linux/ | 26 ../configure --without-debug --without-mem-debug --without-debugger --without-pl
ugins --with-libxml-src=../../libxml/linux/ |
| 30 | 27 |
| 31 Patch to not define HAVE_CLOCK_GETTIME. | 28 Patch to not define HAVE_CLOCK_GETTIME, HAVE_ASCTIME, HAVE_LOCALTIME |
| 29 or HAVE_MKTIME. |
| 32 | 30 |
| 33 Disable both branches of locale support in libxslt/xsltconfig.h. This | 31 Disable both branches of locale support in libxslt/xsltconfig.h. This |
| 34 file is shared between all platforms and there is no common locale | 32 file is shared between all platforms and there is no common locale |
| 35 support. In particular, Android supports neither xlocale nor, | 33 support. In particular, Android supports neither xlocale nor, |
| 36 unsurprisingly, Win32 locales. | 34 unsurprisingly, Win32 locales. |
| 37 | 35 |
| 38 Do the same on Mac and copy the mac/config.h to Linux. | 36 Do the same on Mac and copy the mac/config.h to Linux. |
| 39 | 37 |
| 40 On Windows: | 38 On Windows: |
| 41 | 39 |
| 42 In win32\ run | 40 In win32\ run |
| 43 cscript //E:jscript configure.js compiler=msvc iconv=no xslt_debug=no mem_debug=
no debugger=no modules=no | 41 cscript //E:jscript configure.js compiler=msvc iconv=no xslt_debug=no mem_debug=
no debugger=no modules=no |
| 44 and copy config.h to Linux in win32/ | 42 and copy config.h to Linux in win32/ |
| 45 | 43 |
| 46 Remove: | 44 Remove: |
| 47 doc/ | 45 doc/ |
| 48 examples/ | 46 examples/ |
| 49 python/ | 47 python/ |
| 50 tests/ | 48 tests/ |
| 51 vms/ | 49 vms/ |
| 50 |
| 51 This roll was done using a script: |
| 52 <https://github.com/dominiccooney/blink-tools/blob/bb28df6/roll.py> |
| OLD | NEW |