summaryrefslogtreecommitdiff
path: root/sysutils/libgtop/patches/patch-ba
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-11-05 19:06:02 +0000
committerdrochner <drochner@pkgsrc.org>2007-11-05 19:06:02 +0000
commit4d7f1acf90e889b0a0a7d788a84c824c7028aec3 (patch)
tree48bc6f54d6be75cd739bc4702e129545ad897922 /sysutils/libgtop/patches/patch-ba
parentb0c37064d82b991d76b8d2d4a228f3d8b6b66e2b (diff)
downloadpkgsrc-4d7f1acf90e889b0a0a7d788a84c824c7028aec3.tar.gz
update to 2.20.0
This switches to the new gnome-2.20 branch. pkgsrc notes: -System dependant parts were reorganized upstream, in particular there if a subtree for FreeBSD now, and one for the other BSDs. I didn't pull in the DragonFly patches because I can't decide whether to base them on the freebsd or the rest. -I've changed the NetBSD code to use kinfo_proc2 almost completely. Some vm statistics reporting might be less accurate now because some fields in proc2 seem to be unmaintained by the current kernel (eg ixrss). -Also, some libgtop functions might be able to run in the non-privileged part now, but dealing with this would require even more #ifdefs, so we should consider setting up a private subtree as FreeBSD did. -I didn't verify with older NetBSDs; kvm_getproc2() has been in the tree for quite some time so I hope it will just work without the need for excessive "#if __NetBSD_Version__ > t".
Diffstat (limited to 'sysutils/libgtop/patches/patch-ba')
-rw-r--r--sysutils/libgtop/patches/patch-ba34
1 files changed, 0 insertions, 34 deletions
diff --git a/sysutils/libgtop/patches/patch-ba b/sysutils/libgtop/patches/patch-ba
deleted file mode 100644
index c8a6499f258..00000000000
--- a/sysutils/libgtop/patches/patch-ba
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2007/09/20 21:12:13 wiz Exp $
-
-From FreeBSD's GNOME development repository.
-
---- lib/read.c.orig 2006-04-10 10:41:46.000000000 +0200
-+++ lib/read.c
-@@ -22,6 +22,7 @@
- */
-
- #include <config.h>
-+#include <errno.h>
- #include <glibtop/read.h>
- #include <glibtop/error.h>
- #include <glib/gi18n-lib.h>
-@@ -56,14 +57,18 @@ glibtop_read_l (glibtop *server, size_t
- fprintf (stderr, "LIBRARY: really reading %d bytes.\n", (int)size);
- #endif
-
-+retry:
- if (server->socket) {
- do_read (server->socket, buf, size);
- } else {
-- if(read (server->input [0], buf, size) < 0)
-+ if(read (server->input [0], buf, size) < 0) {
-+ if (errno == EINTR)
-+ goto retry;
- glibtop_error_io_r (
- server,
- ngettext ("read %d byte",
- "read %d bytes", size),
- (int)size);
-+ }
- }
- }