abuild: allow passing custom flags to patch(1) in prepare

To do so you need to set the patch_args variable to your desired
command line flags.
This commit is contained in:
Sören Tempel 2016-03-14 15:09:10 +01:00
parent 575cece65e
commit d8dabed4aa
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ default_prepare() {
case $i in
*.patch)
msg "$i"
patch -p1 -i "$srcdir/$i" || return 1
patch "${patch_args:--p1}" -i "$srcdir/$i" || return 1
;;
esac
done