From f5d402fca18ef11ec54639271fd3f67400343fe2 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 21 Mar 2019 19:25:48 +0100 Subject: [PATCH] curlftpfs: fix musl, trigger rebuild --- srcpkgs/curlftpfs/patches/fix-musl.patch | 29 ++++++++++++++++++++++++ srcpkgs/curlftpfs/template | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/curlftpfs/patches/fix-musl.patch diff --git a/srcpkgs/curlftpfs/patches/fix-musl.patch b/srcpkgs/curlftpfs/patches/fix-musl.patch new file mode 100644 index 00000000000..f853b4b2994 --- /dev/null +++ b/srcpkgs/curlftpfs/patches/fix-musl.patch @@ -0,0 +1,29 @@ +--- ftpfs.c.orig 2019-03-21 19:21:55.591218591 +0100 ++++ ftpfs.c 2019-03-21 19:22:10.270696908 +0100 +@@ -687,7 +687,7 @@ static int test_exists(const char* path) + return ftpfs_getattr(path, &sbuf); + } + +-static __off_t test_size(const char* path) ++static off_t test_size(const char* path) + { + struct stat sbuf; + int err = ftpfs_getattr(path, &sbuf); +@@ -952,7 +952,7 @@ static int ftpfs_truncate(const char* pa + + /* fix openoffice problem, truncating exactly to file length */ + +- __off_t size = (long long int)test_size(path); ++ off_t size = (long long int)test_size(path); + DEBUG(1, "ftpfs_truncate: %s check filesize=%lld\n", path, (long long int)size); + + if (offset == size) +@@ -980,7 +980,7 @@ static int ftpfs_ftruncate(const char * + } + /* fix openoffice problem, truncating exactly to file length */ + +- __off_t size = test_size(path); ++ off_t size = test_size(path); + DEBUG(1, "ftpfs_ftruncate: %s check filesize=%lld\n", path, (long long int)size); + + if (offset == size) diff --git a/srcpkgs/curlftpfs/template b/srcpkgs/curlftpfs/template index 40509aa04b6..765c104f420 100644 --- a/srcpkgs/curlftpfs/template +++ b/srcpkgs/curlftpfs/template @@ -1,7 +1,7 @@ # Template file for 'curlftpfs' pkgname=curlftpfs version=0.9.2 -revision=5 +revision=6 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libglib-devel fuse-devel libcurl-devel"