summaryrefslogtreecommitdiff
path: root/lang/mono2/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'lang/mono2/patches/patch-am')
-rw-r--r--lang/mono2/patches/patch-am12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/mono2/patches/patch-am b/lang/mono2/patches/patch-am
new file mode 100644
index 00000000000..4c4c5d29c6e
--- /dev/null
+++ b/lang/mono2/patches/patch-am
@@ -0,0 +1,12 @@
+$NetBSD: patch-am,v 1.1 2013/06/17 12:43:28 wiz Exp $
+--- mono/io-layer/io.c.orig 2011-06-10 05:45:49.000000000 +0300
++++ mono/io-layer/io.c 2011-06-10 05:50:38.000000000 +0300
+@@ -3589,7 +3589,7 @@ guint32 GetTempPath (guint32 len, gunich
+ return(ret);
+ }
+
+-#ifdef HAVE_GETFSSTAT
++#if (defined(HAVE_GETFSSTAT) && defined(HAVE_SYS_STATFS_H))
+ /* Darwin has getfsstat */
+ gint32 GetLogicalDriveStrings (guint32 len, gunichar2 *buf)
+ {