From 32e46369d9045f0359cd31f1ae126bf4a55e2b1f Mon Sep 17 00:00:00 2001 From: Austin Lund Date: Mon, 5 Feb 2018 14:06:49 +1000 Subject: [PATCH] Add patch for implicit fallthrough build failure --- trunk/PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index b837eb7ec..5ac0bfbf9 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -10,11 +10,17 @@ arch=('x86_64') url='https://tukaani.org/xz/' license=('GPL' 'LGPL' 'custom') depends=('sh') -source=("https://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}) +source=("https://tukaani.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig} + 'implicit-fallthrough.patch::https://git.tukaani.org/?p=xz.git;a=patch;h=94e3f986aa4e14b4ff01ac24857f499630d6d180') md5sums=('ef68674fb47a8b8e741b34e429d86e9d' - 'SKIP') + 'SKIP' + '1c92dcfbd5b5a145ec2daf7ffc235101') validpgpkeys=('3690C240CE51B4670D30AD1C38EE757D69184620') +prepare() { + patch -p1 -d "${srcdir}/${pkgname}-${pkgver}" -i "$srcdir/implicit-fallthrough.patch" +} + build() { cd ${srcdir}/${pkgname}-${pkgver} -- 2.16.1