summaryrefslogtreecommitdiff
path: root/core/diffutils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/diffutils/PKGBUILD')
-rw-r--r--core/diffutils/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/core/diffutils/PKGBUILD b/core/diffutils/PKGBUILD
index 44b02060d..5d1dbc730 100644
--- a/core/diffutils/PKGBUILD
+++ b/core/diffutils/PKGBUILD
@@ -4,19 +4,23 @@
pkgname=diffutils
pkgver=3.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Utility programs used for creating patch files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/diffutils"
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
}