Index: libraries/osx/build-osx-libs.sh =================================================================== --- libraries/osx/build-osx-libs.sh +++ libraries/osx/build-osx-libs.sh @@ -23,7 +23,8 @@ ZLIB_VERSION="zlib-1.2.11" CURL_VERSION="curl-7.54.0" ICONV_VERSION="libiconv-1.15" -XML2_VERSION="libxml2-2.9.4" +# Use a developmental snapshot to fix potentially exploitable vulnerabilities in libxml2 2.9.4 +XML2_VERSION="libxml2-932cc9896ab41475d4aa429c27d9afd175959d74" SDL2_VERSION="SDL2-2.0.5" BOOST_VERSION="boost_1_64_0" # NOTE: remember to also update LIB_URL below when changing version @@ -239,7 +240,7 @@ LIB_VERSION="${XML2_VERSION}" LIB_ARCHIVE="$LIB_VERSION.tar.gz" LIB_DIRECTORY="$LIB_VERSION" -LIB_URL="ftp://xmlsoft.org/libxml2/" +LIB_URL="https://git.gnome.org/browse/libxml2/snapshot/" mkdir -p libxml2 pushd libxml2 > /dev/null