summaryrefslogtreecommitdiff
path: root/community/curlftpfs
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-08 10:54:13 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-08 10:54:13 -0300
commite0981df8c5fce1353e1499a5085e27f92afddcea (patch)
tree06de6ad8de74d4b7b040d67f050c1fd43fe83a33 /community/curlftpfs
parent97a74a6a87ccbeb5649f226377d0c10ae824f1e1 (diff)
parent0f9e4ba23bb6296d8bb8010f70d868fd08db9c54 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/curlftpfs/PKGBUILD core/libcap/PKGBUILD core/libsasl/PKGBUILD core/udev/PKGBUILD extra/cyrus-sasl/PKGBUILD extra/dbus/PKGBUILD extra/fluidsynth/PKGBUILD extra/mercurial/PKGBUILD extra/redland/PKGBUILD extra/soprano/PKGBUILD multilib/lib32-curl/PKGBUILD multilib/lib32-freetype2/PKGBUILD multilib/lib32-mesa/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'community/curlftpfs')
-rw-r--r--community/curlftpfs/PKGBUILD11
-rw-r--r--community/curlftpfs/ioerror.patch11
2 files changed, 18 insertions, 4 deletions
diff --git a/community/curlftpfs/PKGBUILD b/community/curlftpfs/PKGBUILD
index c72583cfb..722cd9659 100644
--- a/community/curlftpfs/PKGBUILD
+++ b/community/curlftpfs/PKGBUILD
@@ -1,22 +1,25 @@
-# $Id: PKGBUILD 17286 2010-05-22 17:59:00Z cbrannon $
+# $Id: PKGBUILD 53536 2011-08-05 12:01:25Z cbrannon $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: Philip Nilsson <leffeman@gmail.com>
pkgname=curlftpfs
pkgver=0.9.2
-pkgrel=2
+pkgrel=3
pkgdesc="A filesystem for acessing FTP hosts based on FUSE and libcurl."
url="http://curlftpfs.sourceforge.net/"
license=('GPL')
depends=('curl>=7.15.4' 'fuse' 'glib2')
makedepends=('pkgconfig>=0.9.0')
arch=('i686' 'x86_64' 'mips64el')
-source=(http://downloads.sourceforge.net/sourceforge/curlftpfs/$pkgname-$pkgver.tar.gz)
-md5sums=('b452123f755114cd4461d56c648d9f12')
+source=(http://downloads.sourceforge.net/sourceforge/curlftpfs/$pkgname-$pkgver.tar.gz
+ ioerror.patch)
+md5sums=('b452123f755114cd4461d56c648d9f12'
+ '7a8db686293463ba3148c7032871c883')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 < "$srcdir/ioerror.patch"
./configure --prefix=/usr || return 1
make || return 1
}
diff --git a/community/curlftpfs/ioerror.patch b/community/curlftpfs/ioerror.patch
new file mode 100644
index 000000000..6ca1afb4f
--- /dev/null
+++ b/community/curlftpfs/ioerror.patch
@@ -0,0 +1,11 @@
+--- curlftpfs-0.9.2.orig/ftpfs.c 2008-04-30 03:05:47.000000000 +0400
++++ curlftpfs-0.9.2.orig/ftpfs.c 2011-01-20 20:33:38.000000000 +0300
+@@ -503,7 +503,7 @@ static void *ftpfs_write_thread(void *da
+
+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path);
+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1);
+- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1);
++ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, (curl_off_t)-1);
+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg);
+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh);
+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);