summaryrefslogtreecommitdiff
path: root/system/patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-05-04 16:07:58 +0000
committerZach van Rijn <me@zv.io>2022-05-06 12:37:31 -0500
commitffc9796da04c86c21664b5fa82df65052c5512b2 (patch)
tree62925211789653bc4cd47314b66d4a6c92dac231 /system/patch
parentb0f7304cd3b64dc6001bc0591c78cb2ccb96919c (diff)
downloadpackages-ffc9796da04c86c21664b5fa82df65052c5512b2.tar.gz
packages-ffc9796da04c86c21664b5fa82df65052c5512b2.tar.bz2
packages-ffc9796da04c86c21664b5fa82df65052c5512b2.tar.xz
packages-ffc9796da04c86c21664b5fa82df65052c5512b2.zip
system/patch: support newer autotools. fixes #664.
Diffstat (limited to 'system/patch')
-rw-r--r--system/patch/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/patch/APKBUILD b/system/patch/APKBUILD
index 579b5633b..995d02859 100644
--- a/system/patch/APKBUILD
+++ b/system/patch/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=patch
pkgver=2.7.6
-pkgrel=4
+pkgrel=5
pkgdesc="Utility to apply diffs to files"
url="https://www.gnu.org/software/patch/patch.html"
arch="all"
@@ -29,6 +29,11 @@ source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
# - CVE-2019-13636
# - CVE-2019-13638
+prepare() {
+ default_prepare
+ aclocal && autoheader && autoconf && automake --add-missing
+}
+
build() {
./configure \
--build=$CBUILD \