summaryrefslogtreecommitdiff
path: root/security/cfs
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-07-25 11:59:27 +0000
committergrant <grant@pkgsrc.org>2004-07-25 11:59:27 +0000
commit6d3c089bb152c1181bcc6a78eeaf3b58308ecf70 (patch)
tree9e407b1f32ba76ec4d406d939d331b61525e04c9 /security/cfs
parent6b7e168e5fcbd3e52ab05433b0a5fb39eba45d57 (diff)
downloadpkgsrc-6d3c089bb152c1181bcc6a78eeaf3b58308ecf70.tar.gz
make this build on NetBSD >=2.0E with statvfs().
Diffstat (limited to 'security/cfs')
-rw-r--r--security/cfs/distinfo3
-rw-r--r--security/cfs/patches/patch-ag17
2 files changed, 19 insertions, 1 deletions
diff --git a/security/cfs/distinfo b/security/cfs/distinfo
index af5bbdb7b05..bed8cac3223 100644
--- a/security/cfs/distinfo
+++ b/security/cfs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2004/07/25 04:51:26 grant Exp $
+$NetBSD: distinfo,v 1.6 2004/07/25 11:59:27 grant Exp $
SHA1 (cfs-1.4.1.tar.gz) = be3f73b233149477b739456498c71b120d5f2fb5
Size (cfs-1.4.1.tar.gz) = 98943 bytes
@@ -8,3 +8,4 @@ SHA1 (patch-ac) = 354290ff606fab97b73980e6e512f10ef1397f01
SHA1 (patch-ad) = 2ed5967d59d8f91948b2dd9ed4b18c5073d63615
SHA1 (patch-ae) = 68b440cda27353d1035bae3002a83d8131087a24
SHA1 (patch-af) = 19bbedcf0c37356dab747087c64617608ff91838
+SHA1 (patch-ag) = 1bd0d57f0f1f0f32cfcd51cc40b5dbdd345c828d
diff --git a/security/cfs/patches/patch-ag b/security/cfs/patches/patch-ag
new file mode 100644
index 00000000000..b3f0bb32064
--- /dev/null
+++ b/security/cfs/patches/patch-ag
@@ -0,0 +1,17 @@
+$NetBSD: patch-ag,v 1.1 2004/07/25 11:59:27 grant Exp $
+
+--- cfs_attach.c.orig 2004-07-25 21:55:56.000000000 +1000
++++ cfs_attach.c
+@@ -81,8 +81,12 @@ main(argc,argv)
+ struct fs_data sfb;
+ #define f_blocks fd_req.btot
+ #else
++#if defined(__NetBSD_Version__) && __NetBSD_Version__ >= 200050000
++ struct statvfs sfb;
++#else
+ struct statfs sfb;
+ #endif
++#endif
+ char *flg;
+ int ciph;
+ FILE *fp;