diff options
author | minskim <minskim@pkgsrc.org> | 2004-09-16 17:57:02 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-09-16 17:57:02 +0000 |
commit | fcafeb86c62a98c3cec1e16560ddbb47919aa23e (patch) | |
tree | 525a398f1a8512d01d91937e45d8cb097acf17c2 /net/sharity-light | |
parent | accbdd9e0e4f48a47d0973705eaff403973e4d5c (diff) | |
download | pkgsrc-fcafeb86c62a98c3cec1e16560ddbb47919aa23e.tar.gz |
Use statvfs on NetBSD>=2.0D.
Diffstat (limited to 'net/sharity-light')
-rw-r--r-- | net/sharity-light/distinfo | 5 | ||||
-rw-r--r-- | net/sharity-light/patches/patch-ab | 11 | ||||
-rw-r--r-- | net/sharity-light/patches/patch-ad | 15 |
3 files changed, 25 insertions, 6 deletions
diff --git a/net/sharity-light/distinfo b/net/sharity-light/distinfo index b933e44cb7f..0c111f11375 100644 --- a/net/sharity-light/distinfo +++ b/net/sharity-light/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 11:23:32 wiz Exp $ +$NetBSD: distinfo,v 1.3 2004/09/16 17:57:02 minskim Exp $ SHA1 (Sharity-Light.1.2.tar.gz) = 4a8e93695b1772005e401c2aafbd3f5f70a3b30e Size (Sharity-Light.1.2.tar.gz) = 76481 bytes SHA1 (patch-aa) = 349384306807e8d0e16334a2d9a7e7e0002ef8d1 -SHA1 (patch-ab) = 42c29cb072b38d887231f546a967ebd85b708048 +SHA1 (patch-ab) = c3f4ad2b57b5b93915bfb59e846cdf9175bbf728 SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949 +SHA1 (patch-ad) = 1daa21a239d5922e8c51a85e5340ea5596583d6b diff --git a/net/sharity-light/patches/patch-ab b/net/sharity-light/patches/patch-ab index 580d05642ad..22ab908355c 100644 --- a/net/sharity-light/patches/patch-ab +++ b/net/sharity-light/patches/patch-ab @@ -1,13 +1,16 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/03/09 16:09:36 wiz Exp $ +$NetBSD: patch-ab,v 1.2 2004/09/16 17:57:02 minskim Exp $ ---- nfs/syscalls.c.orig Thu Mar 8 11:29:41 2001 -+++ nfs/syscalls.c Thu Mar 8 11:29:55 2001 -@@ -19,6 +19,10 @@ +--- nfs/syscalls.c.orig 1998-06-30 07:24:56.000000000 -0500 ++++ nfs/syscalls.c +@@ -19,6 +19,13 @@ #include <arpa/inet.h> #include "my_defines.h" +#ifdef __NetBSD__ +#include <nfs/nfsmount.h> ++#if __NetBSD_Version__ >= 200040000 ++#define statfs statvfs ++#endif +#endif + /* --------------------------- general constants --------------------------- */ diff --git a/net/sharity-light/patches/patch-ad b/net/sharity-light/patches/patch-ad new file mode 100644 index 00000000000..5fb200b71d5 --- /dev/null +++ b/net/sharity-light/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1 2004/09/16 17:57:02 minskim Exp $ + +--- ../unshlight/unshlight.c.orig 2001-03-09 10:09:36.000000000 -0600 ++++ ../unshlight/unshlight.c +@@ -8,6 +8,10 @@ + #include <stdlib.h> + #include <signal.h> + ++#if defined(__NetBSD__) && __NetBSD_Version__ >= 200040000 ++#define statfs statvfs ++#endif ++ + static void usage(void); + + int |