diff options
author | minskim <minskim> | 2004-08-15 03:25:24 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-08-15 03:25:24 +0000 |
commit | f9b1b67ddb53dcaffb86ea996bc6c9b75f268433 (patch) | |
tree | 664af1acb1bd249d3ea2e651f4d0a216fce40c3d /x11/filerunner/patches | |
parent | 3a82929f404a58e480149de9e50a11b5efee9b29 (diff) | |
download | pkgsrc-f9b1b67ddb53dcaffb86ea996bc6c9b75f268433.tar.gz |
Use statvfs instead of statfs on NetBSD>=2.0D.
Diffstat (limited to 'x11/filerunner/patches')
-rw-r--r-- | x11/filerunner/patches/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/filerunner/patches/patch-ab b/x11/filerunner/patches/patch-ab new file mode 100644 index 00000000000..9163dc056f1 --- /dev/null +++ b/x11/filerunner/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.4 2004/08/15 03:25:24 minskim Exp $ + +--- ext.c.orig 1999-12-30 11:21:49.000000000 -0600 ++++ ext.c +@@ -654,7 +654,11 @@ GetDF(ClientData clientData, Tcl_Interp* + int argc, char* argv[]) + { + int i; ++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */ ++ struct statvfs stat; ++#else + struct statfs stat; ++#endif + double b, x; + char tmp[5]; + HANDLE2(argc != 2, "Wrong # of args"); |