diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2005-03-18 18:16:38 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2005-03-18 18:16:38 +0000 |
commit | 0b879af755878065a1f94528ece58a1801dd8ebf (patch) | |
tree | d244dbef699cefdbe0508a0fef7196c7ca88d40d /devel/libgtop2 | |
parent | ac60bf32603445fbe4352d4754741e42ea4929b2 (diff) | |
download | ports-0b879af755878065a1f94528ece58a1801dd8ebf.tar.gz ports-0b879af755878065a1f94528ece58a1801dd8ebf.zip |
Notes
Diffstat (limited to 'devel/libgtop2')
-rw-r--r-- | devel/libgtop2/Makefile | 1 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-systeps::freebsd::prockernel.c | 15 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-systeps::freebsd::procmap.c | 11 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-systeps::freebsd::proctime.c | 15 |
4 files changed, 42 insertions, 0 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile index 5a15a4612020..2b31a5a82165 100644 --- a/devel/libgtop2/Makefile +++ b/devel/libgtop2/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgtop2 PORTVERSION= 2.10.0 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.10 diff --git a/devel/libgtop2/files/patch-systeps::freebsd::prockernel.c b/devel/libgtop2/files/patch-systeps::freebsd::prockernel.c new file mode 100644 index 000000000000..f23b1cdaeb4e --- /dev/null +++ b/devel/libgtop2/files/patch-systeps::freebsd::prockernel.c @@ -0,0 +1,15 @@ +--- sysdeps/freebsd/prockernel.c Mon Jul 19 05:33:56 2004 ++++ sysdeps/freebsd/prockernel.c.orig Sat Mar 19 02:39:47 2005 +@@ -115,8 +115,10 @@ + + /* Get the process information */ + pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count); +- if ((pinfo == NULL) || (count != 1)) +- glibtop_error_io_r (server, "kvm_getprocs (%d)", pid); ++ if ((pinfo == NULL) || (count != 1)) { ++ glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid); ++ return; ++ } + + #if defined(__FreeBSD__) && (__FreeBSD_version >= 500013) + diff --git a/devel/libgtop2/files/patch-systeps::freebsd::procmap.c b/devel/libgtop2/files/patch-systeps::freebsd::procmap.c new file mode 100644 index 000000000000..c8c701e46eca --- /dev/null +++ b/devel/libgtop2/files/patch-systeps::freebsd::procmap.c @@ -0,0 +1,11 @@ +--- sysdeps/freebsd/procmap.c Wed Feb 23 17:20:45 2005 ++++ sysdeps/freebsd/procmap.c.orig Sat Mar 19 02:46:57 2005 +@@ -129,7 +129,7 @@ + /* Get the process data */ + pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count); + if ((pinfo == NULL) || (count < 1)) { +- glibtop_error_io_r (server, "kvm_getprocs (%d)", pid); ++ glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid); + return NULL; + } + diff --git a/devel/libgtop2/files/patch-systeps::freebsd::proctime.c b/devel/libgtop2/files/patch-systeps::freebsd::proctime.c new file mode 100644 index 000000000000..da0908ce778c --- /dev/null +++ b/devel/libgtop2/files/patch-systeps::freebsd::proctime.c @@ -0,0 +1,15 @@ +--- sysdeps/freebsd/proctime.c Wed Feb 23 17:20:45 2005 ++++ sysdeps/freebsd/proctime.c.orig Sat Mar 19 02:38:31 2005 +@@ -146,8 +146,10 @@ + + /* Get the process information */ + pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count); +- if ((pinfo == NULL) || (count != 1)) +- glibtop_error_io_r (server, "kvm_getprocs (%d)", pid); ++ if ((pinfo == NULL) || (count != 1)) { ++ glibtop_warn_io_r (server, "kvm_getprocs (%d)", pid); ++ return; ++ } + + #if defined(__FreeBSD__) && (__FreeBSD_version >= 500013) + buf->rtime = pinfo [0].ki_runtime; |