pkgsrc/net/sharity-light/patches/patch-ad
2005-12-18 20:14:03 +00:00

19 lines
407 B
Text

$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