pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/libgtop2 statvfs fix for NetBSD-current>=2.0D.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeedebe5dc8d
branches:  trunk
changeset: 474747:aeedebe5dc8d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue May 04 23:36:16 2004 +0000

description:
statvfs fix for NetBSD-current>=2.0D.

diffstat:

 sysutils/libgtop2/distinfo         |   5 +++--
 sysutils/libgtop2/patches/patch-aa |  17 +++++++++++++----
 sysutils/libgtop2/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 32 insertions(+), 6 deletions(-)

diffs (62 lines):

diff -r c8464c0f13f9 -r aeedebe5dc8d sysutils/libgtop2/distinfo
--- a/sysutils/libgtop2/distinfo        Tue May 04 21:58:43 2004 +0000
+++ b/sysutils/libgtop2/distinfo        Tue May 04 23:36:16 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2004/04/12 15:53:42 jmmv Exp $
+$NetBSD: distinfo,v 1.4 2004/05/04 23:36:16 minskim Exp $
 
 SHA1 (libgtop-2.6.0.tar.bz2) = e6c61a3f7d458b8afa6c9361e71bbdadeafe7e3b
 Size (libgtop-2.6.0.tar.bz2) = 946822 bytes
-SHA1 (patch-aa) = 5ebb407abdaedb77ed02c01adbaba70113b333b6
+SHA1 (patch-aa) = 5fe5ccdf8444b3efaaa1bc3cff4c2d4944729f1e
 SHA1 (patch-ab) = a8eebfb379887dfc338d7422a70821511b79f94e
+SHA1 (patch-ac) = dea1b6fba42d77a4fe6b2e9269cdab0521d3a305
diff -r c8464c0f13f9 -r aeedebe5dc8d sysutils/libgtop2/patches/patch-aa
--- a/sysutils/libgtop2/patches/patch-aa        Tue May 04 21:58:43 2004 +0000
+++ b/sysutils/libgtop2/patches/patch-aa        Tue May 04 23:36:16 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/04/02 12:09:16 jmmv Exp $
+$NetBSD: patch-aa,v 1.2 2004/05/04 23:36:16 minskim Exp $
 
---- configure.orig     2003-12-13 08:32:17.000000000 +0100
-+++ configure  2003-12-13 08:33:16.000000000 +0100
-@@ -19717,13 +19717,13 @@
+--- configure.orig     2004-04-07 05:19:43.000000000 -0500
++++ configure
+@@ -20463,13 +20463,13 @@ echo $ECHO_N "checking for libgtop sysde
          libgtop_sysdeps_dir=freebsd
          libgtop_use_machine_h=yes
          libgtop_need_server=yes
@@ -18,3 +18,12 @@
          ;;
          aix*)
          libgtop_sysdeps_dir=aix
+@@ -30110,7 +30110,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+ 
+ _ACEOF
+ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+-  $EGREP "f_type;" >/dev/null 2>&1; then
++  $EGREP "f_type;|struct statvfs" >/dev/null 2>&1; then
+   ok=yes
+ fi
+ rm -f conftest*
diff -r c8464c0f13f9 -r aeedebe5dc8d sysutils/libgtop2/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libgtop2/patches/patch-ac        Tue May 04 23:36:16 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2004/05/04 23:36:16 minskim Exp $
+
+--- sysdeps/common/mountlist.c.orig    2003-10-20 09:29:03.000000000 -0500
++++ sysdeps/common/mountlist.c
+@@ -334,7 +334,11 @@ read_filesystem_list (need_fs_type, all_
+ 
+ #ifdef MOUNTED_GETMNTINFO     /* 4.4BSD.  */
+   {
++#ifdef STAT_STATVFS
++    struct statvfs *fsp;
++#else
+     struct statfs *fsp;
++#endif
+     int entries;
+ 
+     entries = getmntinfo (&fsp, MNT_NOWAIT);



Home | Main Index | Thread Index | Old Index