pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/filerunner Use statvfs instead of statfs on NetBSD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9df825f69c8
branches:  trunk
changeset: 479465:c9df825f69c8
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Aug 15 03:25:24 2004 +0000

description:
Use statvfs instead of statfs on NetBSD>=2.0D.

diffstat:

 x11/filerunner/distinfo         |   3 ++-
 x11/filerunner/patches/patch-ab |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r ef224ccb3658 -r c9df825f69c8 x11/filerunner/distinfo
--- a/x11/filerunner/distinfo   Sun Aug 15 01:33:58 2004 +0000
+++ b/x11/filerunner/distinfo   Sun Aug 15 03:25:24 2004 +0000
@@ -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 -r ef224ccb3658 -r c9df825f69c8 x11/filerunner/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/filerunner/patches/patch-ab   Sun Aug 15 03:25:24 2004 +0000
@@ -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");



Home | Main Index | Thread Index | Old Index