diff --git a/libxml2/trunk/PKGBUILD b/libxml2/trunk/PKGBUILD index 6339c317..8fc1bd3d 100644 --- a/libxml2/trunk/PKGBUILD +++ b/libxml2/trunk/PKGBUILD @@ -5,7 +5,7 @@ pkgname=libxml2 pkgver=2.9.10 -pkgrel=9 +pkgrel=10 pkgdesc='XML parsing library, version 2' url='http://www.xmlsoft.org/' arch=(x86_64) @@ -14,6 +14,7 @@ depends=(zlib readline ncurses xz icu) makedepends=(python2 python git) _commit=41a34e1f4ffae2ce401600dbb5fe43f8fe402641 # tags/v2.9.10^0 source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit" + "https://gitlab.gnome.org/GNOME/libxml2/-/commit/babe750.patch" libxml2-2.9.8-python3-unicode-errors.patch fix-relaxed-approach-to-nested-documents.patch libxml2-2.9.10-CVE-2019-20388.patch @@ -24,6 +25,7 @@ source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit" libxml2-2.9.10-icu68.patch https://www.w3.org/XML/Test/xmlts20130923.tar.gz) sha256sums=('SKIP' + '8a047f3d44a86eeade61f907d7c9f45d732aa35fd1523b36a05ee429e4174019' '37eb81a8ec6929eed1514e891bff2dd05b450bcf0c712153880c485b7366c17c' '50f04807b86a179d051fb86755e82f55ba7aac9d0c005eefea93d2599a911d01' 'cfe1b3e0f026df6f979dbd77c1dcd1268e60acf3d7a8ff3f480b4e67bfcc19d6' @@ -54,6 +56,9 @@ prepare() { patch -Np1 -i ../libxml2-2.9.10-icu68.patch + # CVE-2021-3537 + patch -Np1 -i ../babe750.patch + NOCONFIGURE=1 ./autogen.sh }