summaryrefslogtreecommitdiff
path: root/net/sharity-light/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-09-16 17:57:02 +0000
committerminskim <minskim@pkgsrc.org>2004-09-16 17:57:02 +0000
commitecda9586778d7ce7473ca62b1f3c0ef9432e511b (patch)
tree525a398f1a8512d01d91937e45d8cb097acf17c2 /net/sharity-light/patches
parent885b1bec332c93cd10870d262e9547ff17762c99 (diff)
downloadpkgsrc-ecda9586778d7ce7473ca62b1f3c0ef9432e511b.tar.gz
Use statvfs on NetBSD>=2.0D.
Diffstat (limited to 'net/sharity-light/patches')
-rw-r--r--net/sharity-light/patches/patch-ab11
-rw-r--r--net/sharity-light/patches/patch-ad15
2 files changed, 22 insertions, 4 deletions
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