summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2004-08-15 03:25:24 +0000
committerminskim <minskim>2004-08-15 03:25:24 +0000
commit76cfc632ad0023feb36becf753aa9663554dbd23 (patch)
tree664af1acb1bd249d3ea2e651f4d0a216fce40c3d
parent64f43adb137d40095065453ff42354c98cccfc85 (diff)
downloadpkgsrc-76cfc632ad0023feb36becf753aa9663554dbd23.tar.gz
Use statvfs instead of statfs on NetBSD>=2.0D.
-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");