| OLD | NEW |
| 1 Name: libxml | 1 Name: libxml |
| 2 URL: http://xmlsoft.org | 2 URL: http://xmlsoft.org |
| 3 Version: 2.9.3 | 3 Version: 8effcb578e0590cc01bbcab0f9dccefc6bdbcdbd |
| 4 License: MIT | 4 License: MIT |
| 5 License File: src/Copyright | 5 License File: src/Copyright |
| 6 Security Critical: yes | 6 Security Critical: yes |
| 7 | 7 |
| 8 Description: | 8 Description: |
| 9 | 9 |
| 10 libxml2 from libxml.org. | 10 libxml2 from libxml.org. |
| 11 | 11 |
| 12 Modifications: | 12 Modifications: |
| 13 - Import https://git.gnome.org/browse/libxml2/commit/?id=a7a94612aa3b16779e2c74e
1fa353b5d9786c602 from upstream | |
| 14 - Add helper classes in chromium/libxml_utils.cc and | 13 - Add helper classes in chromium/libxml_utils.cc and |
| 15 chromium/include/libxml/libxml_utils.h. | 14 chromium/include/libxml/libxml_utils.h. |
| 16 - Include fix for runtime blowups on larger xpath expressions, https://bugzilla.
gnome.org/show_bug.cgi?id=760325 | |
| 17 - Fix printf format specifiers, https://chromium.googlesource.com/chromium/src/+
/d31995076e55f1aac2f935c53b585a90ece27a11 | 15 - Fix printf format specifiers, https://chromium.googlesource.com/chromium/src/+
/d31995076e55f1aac2f935c53b585a90ece27a11 |
| 18 - Add second workaround for VS 2015 Update 2 code-gen bug - crbug.com/599427 | 16 - Add second workaround for VS 2015 Update 2 code-gen bug - crbug.com/599427 |
| 19 - Add patch from https://bugzilla.gnome.org/show_bug.cgi?id=758588 for | 17 - Add patch from https://bugzilla.gnome.org/show_bug.cgi?id=758588 for |
| 20 https://crbug.com/595262#c16 | 18 https://crbug.com/595262#c16 |
| 21 - Fix integer overflow https://crbug.com/602280 | 19 - Fix integer overflow https://crbug.com/602280 |
| 22 | 20 |
| 21 This import was generated by this script: https://goo.gl/Y75Cpf |
| 22 |
| 23 To import a new snapshot: | 23 To import a new snapshot: |
| 24 | 24 |
| 25 On Linux, get the latest tar, untar, and replace src/ with libxml2-X.Y.Z/. | 25 On Linux, get the latest tar, untar, and replace src/ with libxml2-X.Y.Z/. |
| 26 | 26 |
| 27 Generate config.h, include/libxml/xmlversion.h, and xml2-config: | 27 Generate config.h, include/libxml/xmlversion.h, and xml2-config: |
| 28 | 28 |
| 29 cd linux | 29 cd linux |
| 30 ../src/configure --without-iconv --with-icu --without-ftp --without-http \ | 30 ../src/configure --without-iconv --with-icu --without-ftp --without-http \ |
| 31 --without-lzma | 31 --without-lzma |
| 32 cd .. | 32 cd .. |
| 33 Patch config.h to not define HAVE_RAND_R since we use this file on Android | 33 Patch config.h to not define HAVE_RAND_R since we use this file on Android |
| 34 and it does not have it. | 34 and it does not have it. |
| 35 | 35 |
| 36 On a Mac, do the same in the mac/ subdir for config.h and | 36 On a Mac, do the same in the mac/ subdir for config.h and |
| 37 include/libxml/xmlversion.h and copy those to the Linux box in mac/ | 37 include/libxml/xmlversion.h and copy those to the Linux box in mac/ |
| 38 | 38 |
| 39 On a Windows box: | 39 On a Windows box: |
| 40 cd libxml2-2.9.2\win32 | 40 cd libxml2-2.9.2\win32 |
| 41 cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no | 41 cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no |
| 42 Then copy VC10/config.h and include/libxml/xmlversion.h to win32/ on Linux. | 42 Then copy VC10/config.h and include/libxml/xmlversion.h to win32/ on Linux. |
| 43 Patch win32/config.h to wrap the #define snprintf with: | |
| 44 #if _MSC_VER < 1900 | |
| 45 #endif | |
| 46 | 43 |
| 47 Remove: | 44 Remove: |
| 48 src/doc/ | 45 src/doc/ |
| 49 src/example/ | 46 src/example/ |
| 50 src/macos/libxml2.mcp.xml.sit.hqx | 47 src/macos/libxml2.mcp.xml.sit.hqx |
| 51 src/os400/ | 48 src/os400/ |
| 52 src/python/ | 49 src/python/ |
| 53 src/result/ | 50 src/result/ |
| 54 src/test/ | 51 src/test/ |
| 55 src/vms/ | 52 src/vms/ |
| 56 src/win32/wince | 53 src/win32/wince |
| 57 src/VxWorks/ | 54 src/VxWorks/ |
| 58 | 55 |
| 59 Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc. | 56 Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc. |
| OLD | NEW |