Apply patch only once

Apply patch only once and don't stop package build if the patch fail, specially when resuming from a previous build. And makepkg will inform if the patch is broken anyways.
This commit is contained in:
hipersayanX 2018-01-13 14:58:08 -03:00 committed by GitHub
parent 80f9f10af0
commit b859b210fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ prepare() {
# Apply patches; further descriptions can be found in patch files itself
for patch in "$srcdir/"*.patch; do
patch -p1 -i "$patch"
patch -Np1 -i "$patch" || true
done
# Make sure the Qt5 build system uses our external ANGLE library