summaryrefslogtreecommitdiff
path: root/net/sharity-light/patches/patch-ad
blob: 04565e864e5d8545c47977f7a71a01bd6e46406b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ad,v 1.3 2005/12/18 20:14:03 joerg Exp $

--- ../unshlight/unshlight.c.orig	2001-03-09 16:09:36.000000000 +0000
+++ ../unshlight/unshlight.c
@@ -8,6 +8,14 @@
 #include <stdlib.h>
 #include <signal.h>
 
+#if defined(__NetBSD__) && __NetBSD_Version__ >= 299000900
+#define statfs statvfs
+#endif
+
+#if defined(__DragonFly__)
+#define MOUNT_NFS "nfs"
+#endif
+
 static void usage(void);
 
 int