summaryrefslogtreecommitdiffstats
path: root/devel/libgtop2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-08 04:04:50 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-08 04:04:50 +0800
commit08f5df9be7c06920aa49cf273c51a147a6038f7c (patch)
tree7750aed8e965546c630188f2152d15672cfeea9a /devel/libgtop2
parent9deb46570b120b77463ad70cd7d727dcce69738f (diff)
downloadmarcuscom-ports-08f5df9be7c06920aa49cf273c51a147a6038f7c.tar
marcuscom-ports-08f5df9be7c06920aa49cf273c51a147a6038f7c.tar.gz
marcuscom-ports-08f5df9be7c06920aa49cf273c51a147a6038f7c.tar.bz2
marcuscom-ports-08f5df9be7c06920aa49cf273c51a147a6038f7c.tar.lz
marcuscom-ports-08f5df9be7c06920aa49cf273c51a147a6038f7c.tar.xz
marcuscom-ports-08f5df9be7c06920aa49cf273c51a147a6038f7c.tar.zst
marcuscom-ports-08f5df9be7c06920aa49cf273c51a147a6038f7c.zip
Correct a stupid typo that broke gnome-system-monitor.
Reported by: many git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2631 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop2')
-rw-r--r--devel/libgtop2/Makefile1
-rw-r--r--devel/libgtop2/files/patch-lib::read.c12
2 files changed, 10 insertions, 3 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index 5c6275ff4..d349ef247 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgtop2
PORTVERSION= 2.7.90
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.7
diff --git a/devel/libgtop2/files/patch-lib::read.c b/devel/libgtop2/files/patch-lib::read.c
index 3568f9361..53d091a32 100644
--- a/devel/libgtop2/files/patch-lib::read.c
+++ b/devel/libgtop2/files/patch-lib::read.c
@@ -1,5 +1,5 @@
--- lib/read.c.orig Fri Jun 18 04:03:55 2004
-+++ lib/read.c Tue Jul 20 21:46:23 2004
++++ lib/read.c Sat Aug 7 16:05:41 2004
@@ -22,6 +22,7 @@
*/
@@ -8,7 +8,7 @@
#include <glibtop/read.h>
#include "libgtop-i18n.h"
-@@ -56,10 +57,13 @@
+@@ -56,14 +57,18 @@
fprintf (stderr, "LIBRARY: really reading %d bytes.\n", size);
#endif
@@ -16,9 +16,15 @@
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(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),
+ size);
++ }
+ }
+ }