summaryrefslogtreecommitdiff
path: root/core/diffutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/diffutils/PKGBUILD')
-rw-r--r--core/diffutils/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/diffutils/PKGBUILD b/core/diffutils/PKGBUILD
index 9108c4999..5d1dbc730 100644
--- a/core/diffutils/PKGBUILD
+++ b/core/diffutils/PKGBUILD
@@ -12,11 +12,15 @@ license=('GPL3')
groups=('base')
depends=('glibc' 'sh')
install=diffutils.install
-source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
-md5sums=('26ff64c332429c830c154be46b393382')
+source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz
+ gnulib-no-gets.patch)
+md5sums=('26ff64c332429c830c154be46b393382'
+ '97b8845dad2ca6017fc4ef54f0a4562b')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # Based on commit 66712c23388e93e5c518ebc8515140fa0c807348 from gnulib.
+ patch -p1 -i "$srcdir/gnulib-no-gets.patch"
./configure --prefix=/usr
make
}