pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/cfs make this build on NetBSD >=2.0E with sta...
details: https://anonhg.NetBSD.org/pkgsrc/rev/593424fc337f
branches: trunk
changeset: 478536:593424fc337f
user: grant <grant%pkgsrc.org@localhost>
date: Sun Jul 25 11:59:27 2004 +0000
description:
make this build on NetBSD >=2.0E with statvfs().
diffstat:
security/cfs/distinfo | 3 ++-
security/cfs/patches/patch-ag | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 08b40eee6242 -r 593424fc337f security/cfs/distinfo
--- a/security/cfs/distinfo Sun Jul 25 09:12:39 2004 +0000
+++ b/security/cfs/distinfo Sun Jul 25 11:59:27 2004 +0000
@@ -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-ad) = 2ed5967d59d8f91948b2dd9ed4b18c5073d63615
SHA1 (patch-ae) = 68b440cda27353d1035bae3002a83d8131087a24
SHA1 (patch-af) = 19bbedcf0c37356dab747087c64617608ff91838
+SHA1 (patch-ag) = 1bd0d57f0f1f0f32cfcd51cc40b5dbdd345c828d
diff -r 08b40eee6242 -r 593424fc337f security/cfs/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cfs/patches/patch-ag Sun Jul 25 11:59:27 2004 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index