summaryrefslogtreecommitdiffstats
path: root/devel/libgtop2/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgtop2/files/patch-ah')
-rw-r--r--devel/libgtop2/files/patch-ah38
1 files changed, 0 insertions, 38 deletions
diff --git a/devel/libgtop2/files/patch-ah b/devel/libgtop2/files/patch-ah
deleted file mode 100644
index bbffe4a0c..000000000
--- a/devel/libgtop2/files/patch-ah
+++ /dev/null
@@ -1,38 +0,0 @@
---- sysdeps/freebsd/procmap.c.orig Wed Mar 10 21:23:52 2004
-+++ sysdeps/freebsd/procmap.c Thu Mar 11 21:45:33 2004
-@@ -104,7 +104,7 @@
- glibtop_map_entry *maps;
- #if defined __FreeBSD__
- struct vnode vnode;
--#if __FreeBSD_version >= 500039
-+#if __FreeBSD_version < 500039
- struct inode inode;
- #endif
- #endif
-@@ -122,8 +122,10 @@
-
- /* Get the process data */
- pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count);
-- if ((pinfo == NULL) || (count < 1))
-+ if ((pinfo == NULL) || (count < 1)) {
- glibtop_error_io_r (server, "kvm_getprocs (%d)", pid);
-+ return NULL;
-+ }
-
- /* Now we get the memory maps. */
-
-@@ -280,13 +282,9 @@
- &inode, sizeof (inode)) != sizeof (inode))
- 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)");
--#endif
- maps [i-1].inode = inode.i_number;
- maps [i-1].device = inode.i_dev;
-+#endif
- #endif
- } while (entry.next != first);
-