1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

struct mount was hidden from userland on -current a short while ago

No idea why libgtop wanted it, since the information was never used.
This commit is contained in:
Ade Lovett 2000-12-08 21:09:50 +00:00
parent 3cfabaf6e6
commit ef749f745b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35781
4 changed files with 30 additions and 12 deletions

View File

@ -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

View File

@ -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 @@

View File

@ -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

View File

@ -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 @@