shaka-packager/packager/third_party/libxml
KongQun Yang 5f48cbb0c1 Fix build failures in MacOS 10.12.6 with XCode 9.0
- Update curl to 7.57.0
- Roll clang, which is needed due to MacOS / XCode update
- Fixes and suppress compilation errors due to clang update

Fixes #285

Change-Id: Ibac3288c641861605c3c0500d34d27373e6eecfe
2018-01-05 12:21:41 -08:00
..
build Get rid of svn dependencies 2015-10-16 20:11:20 +00:00
chromium Get rid of svn dependencies 2015-10-16 20:11:20 +00:00
linux Updated libxml. 2016-08-02 19:11:17 -07:00
mac Updated libxml. 2016-08-02 19:11:17 -07:00
patches Get rid of svn dependencies 2015-10-16 20:11:20 +00:00
src Updated libxml. 2016-08-02 19:11:17 -07:00
win32 Updated libxml. 2016-08-02 19:11:17 -07:00
BUILD.gn Updated libxml. 2016-08-02 19:11:17 -07:00
DEPS Updated libxml. 2016-08-02 19:11:17 -07:00
OWNERS Updated libxml. 2016-08-02 19:11:17 -07:00
README.chromium Updated libxml. 2016-08-02 19:11:17 -07:00
libxml.gyp Fix build failures in MacOS 10.12.6 with XCode 9.0 2018-01-05 12:21:41 -08:00

README.chromium

Name: libxml
URL: http://xmlsoft.org
Version: bdec2183f34b37ee89ae1d330c6ad2bb4d76605f
License: MIT
License File: src/Copyright
Security Critical: yes

Description:

libxml2 from libxml.org.

Modifications:
- Add helper classes in chromium/libxml_utils.cc and
  chromium/include/libxml/libxml_utils.h.
- Fix printf format specifiers, https://chromium.googlesource.com/chromium/src/+/d31995076e55f1aac2f935c53b585a90ece27a11
- Add second workaround for VS 2015 Update 2 code-gen bug - crbug.com/599427
- Apply patch contributed here: https://crbug.com/623378#c7
- Apply patch contributed here: https://crbug.com/624011

This import was generated by this script: https://goo.gl/72CTWf

To import a new snapshot:

On Linux, get the latest tar, untar, and replace src/ with libxml2-X.Y.Z/.

Generate config.h, include/libxml/xmlversion.h, and xml2-config:

cd linux
../src/configure --without-iconv --with-icu --without-ftp --without-http \
    --without-lzma
cd ..
Patch config.h to not define HAVE_RAND_R since we use this file on Android
and it does not have it.

On a Mac, do the same in the mac/ subdir for config.h and
include/libxml/xmlversion.h and copy those to the Linux box in mac/

On a Windows box:
cd libxml2-2.9.2\win32
cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no
Then copy VC10/config.h and include/libxml/xmlversion.h to win32/ on Linux.

Remove:
  src/doc/
  src/example/
  src/macos/libxml2.mcp.xml.sit.hqx
  src/os400/
  src/python/
  src/result/
  src/test/
  src/vms/
  src/win32/wince
  src/VxWorks/

Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc.