summaryrefslogtreecommitdiff
path: root/extra/lftp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lftp/PKGBUILD')
-rw-r--r--extra/lftp/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/lftp/PKGBUILD b/extra/lftp/PKGBUILD
index 30961851c..53c5482b6 100644
--- a/extra/lftp/PKGBUILD
+++ b/extra/lftp/PKGBUILD
@@ -6,17 +6,21 @@ pkgname=lftp
pkgver=4.3.8
pkgrel=1
pkgdesc="Sophisticated command line based FTP client"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
optdepends=('perl: needed for convert-netscape-cookies and verify-file')
url="http://lftp.yar.ru/"
backup=('etc/lftp.conf')
-source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('adced9c3e0f6b96821811dc87c0a1eeb')
+source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2
+ lftp-4.3.8-gets.patch)
+md5sums=('adced9c3e0f6b96821811dc87c0a1eeb'
+ '932db2d498846be7ba90780ee4fcb158')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # A patch from Gentoo fixing build with newer glibc.
+ patch -Np1 -i "$srcdir/lftp-4.3.8-gets.patch"
./configure --prefix=/usr --with-gnutls \
--without-openssl --disable-static
make