author | Antonio Rojas
<arojas@archlinux.org> 2021-04-02 18:02:01 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2021-04-02 18:02:01 UTC |
parent | a294e180976a65dcdea111b28db59f998e95ad8a |
PKGBUILD | +9 | -3 |
diff --git a/PKGBUILD b/PKGBUILD index adee140..38c7148 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=qt5-svg _qtver=5.15.2 pkgver=${_qtver/-/} -pkgrel=1 +pkgrel=2 arch=('x86_64') url='https://www.qt.io' license=('GPL3' 'LGPL3' 'FDL' 'custom') @@ -12,11 +12,17 @@ pkgdesc='Classes for displaying the contents of SVG files' depends=('qt5-base') groups=('qt' 'qt5') _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" -source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") -sha256sums=('8bc3c2c1bc2671e9c67d4205589a8309b57903721ad14c60ea21a5d06acb585e') +source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" + CVE-2021-3481a.patch::https://code.qt.io/cgit/qt/qtsvg.git/patch/?id=aceea78c + CVE-2021-3481b.patch::https://code.qt.io/cgit/qt/qtsvg.git/patch/?id=0fa52290) +sha256sums=('8bc3c2c1bc2671e9c67d4205589a8309b57903721ad14c60ea21a5d06acb585e' + '9e2e001d3ee7376ef1729e5fd77b662cb8632a14462b56e5b9181c7bc4e2bce4' + '60c37f206f855f77ac7fa5a3d42166bc349db4b31a088471d9697d297eea4763') prepare() { mkdir -p build + patch -d $_pkgfqn -p1 < CVE-2021-3481a.patch + patch -d $_pkgfqn -p1 < CVE-2021-3481b.patch } build() {