[arch-commits] Commit in lftp/trunk (PKGBUILD compilefix.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Nov 11 20:12:11 UTC 2008


    Date: Tuesday, November 11, 2008 @ 15:12:10
  Author: andyrtr
Revision: 18932

upgpkg: lftp 3.7.5-1

Added:
  lftp/trunk/compilefix.patch
Modified:
  lftp/trunk/PKGBUILD

------------------+
 PKGBUILD         |   15 +++++++++------
 compilefix.patch |   10 ++++++++++
 2 files changed, 19 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-11-11 08:14:59 UTC (rev 18931)
+++ PKGBUILD	2008-11-11 20:12:10 UTC (rev 18932)
@@ -1,21 +1,24 @@
 # $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
 # Contributor: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=lftp
-pkgver=3.7.4
-pkgrel=2.1
+pkgver=3.7.5
+pkgrel=1
 pkgdesc="Sophisticated command line based FTP client"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=(gcc-libs readline 'openssl>=0.9.8h-3' 'expat>=2.0.1')
+depends=('gcc-libs' 'readline' 'openssl>=0.9.8i-1' 'expat>=2.0.1-2' 'perl')
 url="http://lftp.yar.ru/"
 backup=('etc/lftp.conf')
-source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('56f3b47f13788f4d97ed288857e4282a')
+source=(http://ftp.yars.free.net/pub/source/lftp/${pkgname}-${pkgver}.tar.bz2
+	compilefix.patch)
+md5sums=('08f577dc1fac96bcf24a847e8ce64554'
+         '4251c4be4d1345396c1b94363a9a49ec')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np0 -i ${srcdir}/compilefix.patch || return 1
   ./configure --prefix=/usr --without-gnutls \
 	--with-openssl
   make || return 1

Added: compilefix.patch
===================================================================
--- compilefix.patch	                        (rev 0)
+++ compilefix.patch	2008-11-11 20:12:10 UTC (rev 18932)
@@ -0,0 +1,10 @@
+--- src/commands.cc	2008-11-06 10:56:35.000000000 +0000
++++ src/commands.cc.new	2008-11-11 20:06:45.848555689 +0000
+@@ -30,6 +30,7 @@
+ #include <ctype.h>
+ #include <pwd.h>
+ #include <sys/types.h>
++#include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <assert.h>




More information about the arch-commits mailing list