pkgsrc/misc/kdeutils3/patches/patch-ac
2005-09-06 08:10:57 +00:00

17 lines
456 B
Text

$NetBSD: patch-ac,v 1.6 2005/09/06 08:10:58 abs Exp $
--- ark/arkutils.cpp.orig 2003-11-30 20:50:36.000000000 +1100
+++ ark/arkutils.cpp 2004-05-04 22:57:13.000000000 +1000
@@ -44,6 +44,12 @@
// for statfs:
#ifdef BSD4_4
#include <sys/mount.h>
+#ifdef __NetBSD__
+#if __NetBSD_Version__ >= 299000900 /* 2.99.9 */
+#include <sys/statvfs.h>
+#define STATFS statvfs
+#endif
+#endif
#elif defined(__linux__)
#include <sys/vfs.h>
#elif defined(__sun)