summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-08-15 03:25:24 +0000
committerminskim <minskim@pkgsrc.org>2004-08-15 03:25:24 +0000
commite667b50bd3ce67073131bd4ecf9792030adc7fc8 (patch)
tree664af1acb1bd249d3ea2e651f4d0a216fce40c3d /x11
parentcd66d2897bdf3d8be6729f0a1d03f8be56b54c54 (diff)
downloadpkgsrc-e667b50bd3ce67073131bd4ecf9792030adc7fc8.tar.gz
Use statvfs instead of statfs on NetBSD>=2.0D.
Diffstat (limited to 'x11')
-rw-r--r--x11/filerunner/distinfo3
-rw-r--r--x11/filerunner/patches/patch-ab16
2 files changed, 18 insertions, 1 deletions
diff --git a/x11/filerunner/distinfo b/x11/filerunner/distinfo
index 0306ae17b38..b7cad7de506 100644
--- a/x11/filerunner/distinfo
+++ b/x11/filerunner/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2003/09/25 22:01:26 recht Exp $
+$NetBSD: distinfo,v 1.4 2004/08/15 03:25:24 minskim Exp $
SHA1 (FileRunner-2.5.1.tar.gz) = ef607b3229491c1a6608fac67ce584d01a50c69d
Size (FileRunner-2.5.1.tar.gz) = 122795 bytes
SHA1 (patch-aa) = 3e929372fee6620c23022e5eaecd33830d9151f7
+SHA1 (patch-ab) = 88076263693fc7e379adccd6dac4c17e66519d46
SHA1 (patch-ac) = fdef8612ff1ea187fbe26cb203f8f3f006032ef3
SHA1 (patch-ad) = cf7999d58ec441b03a3baa5d8097b26781bd00eb
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");