Files
pkgsrc-ng/net/sharity-light/patches/patch-ad
2013-09-26 17:14:40 +02:00

20 lines
407 B
Plaintext

$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