From b144c7ab035267e1ff24b3b5cbb8ac9ef4fd69bc Mon Sep 17 00:00:00 2001 From: ade Date: Fri, 8 Dec 2000 21:09:50 +0000 Subject: struct mount was hidden from userland on -current a short while ago No idea why libgtop wanted it, since the information was never used. --- devel/libgtop/Makefile | 1 + devel/libgtop/files/patch-ah | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'devel/libgtop') diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile index 2766326b048..e42e08df09b 100644 --- a/devel/libgtop/Makefile +++ b/devel/libgtop/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgtop PORTVERSION= 1.0.10 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/libgtop diff --git a/devel/libgtop/files/patch-ah b/devel/libgtop/files/patch-ah index 3a24572bdaa..4d013402ac7 100644 --- a/devel/libgtop/files/patch-ah +++ b/devel/libgtop/files/patch-ah @@ -1,8 +1,6 @@ ---- sysdeps/freebsd/procmap.c.orig Fri May 28 02:56:48 1999 -+++ sysdeps/freebsd/procmap.c Sun Jan 2 16:24:43 2000 -@@ -33,7 +33,11 @@ - #include - #include +--- sysdeps/freebsd/procmap.c.orig Thu May 27 13:56:48 1999 ++++ sysdeps/freebsd/procmap.c Wed Dec 6 21:51:47 2000 +@@ -35,3 +35,7 @@ #include +#if (__FreeBSD_version >= 400011) +#include @@ -10,8 +8,18 @@ #include +#endif #include +@@ -94,3 +98,2 @@ + struct inode inode; +- struct mount mount; + #endif +@@ -253,7 +256,2 @@ + glibtop_error_io_r (server, "kvm_read (inode)"); +- +- if (kvm_read (server->machine.kd, +- (unsigned long) vnode.v_mount, +- &mount, sizeof (mount)) != sizeof (mount)) +- glibtop_error_io_r (server, "kvm_read (mount)"); - #include --- sysdeps/freebsd/sem_limits.c.orig Sun Jan 2 16:32:20 2000 +++ sysdeps/freebsd/sem_limits.c Sun Jan 2 16:35:00 2000 @@ -46,7 +46,7 @@ -- cgit