| OLD | NEW |
| 1 Name: libxslt | 1 Name: libxslt |
| 2 URL: http://xmlsoft.org/XSLT | 2 URL: http://xmlsoft.org/XSLT |
| 3 Version: 96c9c644f30ed762735802a27784cc522cff1643 | 3 Version: ac341cbd792ee572941cc9a66e73800219a1a386 |
| 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 upstream, details here: | 19 - Apply patch contributed upstream, details here: |
| 20 https://crbug.com/676623#c18 | 20 https://crbug.com/676623#c18 |
| 21 | 21 |
| 22 To import a new version: | 22 To import a new version: |
| 23 | 23 https://docs.google.com/document/d/18gD61GGEUjFiGqFot4WeV97eyyCa17dTg6r6r7r6ZFE/
edit |
| 24 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 | |
| 26 remove .gitignore and archive it. | |
| 27 | |
| 28 mkdir linux && cd linux | |
| 29 ../configure --without-debug --without-mem-debug --without-debugger --without-pl
ugins --with-libxml-src=../../libxml/linux/ | |
| 30 | |
| 31 Patch to not define HAVE_CLOCK_GETTIME, HAVE_ASCTIME, HAVE_LOCALTIME | |
| 32 or HAVE_MKTIME. | |
| 33 | |
| 34 Disable both branches of locale support in libxslt/xsltconfig.h. This | |
| 35 file is shared between all platforms and there is no common locale | |
| 36 support. In particular, Android supports neither xlocale nor, | |
| 37 unsurprisingly, Win32 locales. | |
| 38 | |
| 39 Do the same on Mac and copy the mac/config.h to Linux. | |
| 40 | |
| 41 On Windows: | |
| 42 | |
| 43 In win32\ run | |
| 44 cscript //E:jscript configure.js compiler=msvc iconv=no xslt_debug=no mem_debug=
no debugger=no modules=no | |
| 45 and copy config.h to Linux in win32/ | |
| 46 | |
| 47 Remove: | |
| 48 doc/ | |
| 49 examples/ | |
| 50 python/ | |
| 51 tests/ | |
| 52 vms/ | |
| 53 | 24 |
| 54 This roll was done using a script: | 25 This roll was done using a script: |
| 55 <https://github.com/dominiccooney/blink-tools/blob/bb28df6/roll.py> | 26 https://github.com/dominiccooney/blink-tools/blob/ac9f8e093ec3d00267d67927a37956
e5e8993961/roll.py |
| OLD | NEW |