summaryrefslogtreecommitdiff
path: root/filesystems/fuse-curlftpfs
diff options
context:
space:
mode:
authorhans <hans>2011-04-14 19:01:26 +0000
committerhans <hans>2011-04-14 19:01:26 +0000
commit573f9192ba125c592a707f73fc1fd093c4778b34 (patch)
tree7e70c971b74df2793addd83dae0da2c366cf8f58 /filesystems/fuse-curlftpfs
parentefb4714a59c550a3678743a08daed00b2e91e512 (diff)
downloadpkgsrc-573f9192ba125c592a707f73fc1fd093c4778b34.tar.gz
Fix build on SunOS.
Diffstat (limited to 'filesystems/fuse-curlftpfs')
-rw-r--r--filesystems/fuse-curlftpfs/Makefile3
-rw-r--r--filesystems/fuse-curlftpfs/distinfo3
-rw-r--r--filesystems/fuse-curlftpfs/patches/patch-ab12
3 files changed, 16 insertions, 2 deletions
diff --git a/filesystems/fuse-curlftpfs/Makefile b/filesystems/fuse-curlftpfs/Makefile
index d327d1c5ce1..af361f795dc 100644
--- a/filesystems/fuse-curlftpfs/Makefile
+++ b/filesystems/fuse-curlftpfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2010/01/17 12:02:16 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2011/04/14 19:01:26 hans Exp $
#
DISTNAME= curlftpfs-0.9.1
@@ -18,6 +18,7 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
+CFLAGS.SunOS+= --std=c99 -D__EXTENSIONS__
.include "../../devel/glib2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
diff --git a/filesystems/fuse-curlftpfs/distinfo b/filesystems/fuse-curlftpfs/distinfo
index 4a6caa4629c..d994faade34 100644
--- a/filesystems/fuse-curlftpfs/distinfo
+++ b/filesystems/fuse-curlftpfs/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2008/03/27 14:19:34 bjs Exp $
+$NetBSD: distinfo,v 1.5 2011/04/14 19:01:26 hans Exp $
SHA1 (curlftpfs-0.9.1.tar.gz) = 768385f68f7e128ec9e852bbf7860a632e8e3c46
RMD160 (curlftpfs-0.9.1.tar.gz) = bb1a156160ff4bd517410f872f68ba77c8085b11
Size (curlftpfs-0.9.1.tar.gz) = 362542 bytes
SHA1 (patch-aa) = bfa05b8930560ffe25c3a2b12ff9497c0c5d37c4
+SHA1 (patch-ab) = 011005bd7d8e230f825d44b31e7cde6fe45dc419
diff --git a/filesystems/fuse-curlftpfs/patches/patch-ab b/filesystems/fuse-curlftpfs/patches/patch-ab
new file mode 100644
index 00000000000..ffe3083c79c
--- /dev/null
+++ b/filesystems/fuse-curlftpfs/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.3 2011/04/14 19:01:27 hans Exp $
+
+--- ftpfs.h.orig 2007-03-02 00:47:07.000000000 +0100
++++ ftpfs.h 2010-01-08 22:36:58.256798187 +0100
+@@ -14,6 +14,7 @@
+ #include <pthread.h>
+ #include <glib.h>
+ #include <pthread.h>
++#include <limits.h>
+
+ struct ftpfs {
+ char* host;