diff options
author | ade <ade@FreeBSD.org> | 2000-12-09 05:09:50 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-12-09 05:09:50 +0800 |
commit | b144c7ab035267e1ff24b3b5cbb8ac9ef4fd69bc (patch) | |
tree | 4cf613cd11c293c2e5e9c702f433a06fb87acd59 /devel/libgtop | |
parent | 0fc557da5406674b8d7c7e684b0d55433bd521ec (diff) | |
download | freebsd-ports-gnome-b144c7ab035267e1ff24b3b5cbb8ac9ef4fd69bc.tar.gz freebsd-ports-gnome-b144c7ab035267e1ff24b3b5cbb8ac9ef4fd69bc.tar.zst freebsd-ports-gnome-b144c7ab035267e1ff24b3b5cbb8ac9ef4fd69bc.zip |
struct mount was hidden from userland on -current a short while ago
No idea why libgtop wanted it, since the information was never used.
Diffstat (limited to 'devel/libgtop')
-rw-r--r-- | devel/libgtop/Makefile | 1 | ||||
-rw-r--r-- | devel/libgtop/files/patch-ah | 20 |
2 files changed, 15 insertions, 6 deletions
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile index 2766326b0483..e42e08df09b3 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 3a24572bdaaf..4d013402ac73 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 <sys/proc.h> - #include <sys/resource.h> +--- 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 <vm/vm_object.h> +#if (__FreeBSD_version >= 400011) +#include <vm/vm.h> @@ -10,8 +8,18 @@ #include <vm/vm_prot.h> +#endif #include <vm/vm_map.h> +@@ -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 <sys/vnode.h> --- 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 @@ |