aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-12 10:39:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-12 10:39:38 +0000
commit190418a078b1eb7ea3c5d38a08bdab3cbd422086 (patch)
treebb336ccecde7052d26d3d8d8c97238744a373aad /sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
parent6b0c40606cac591d75b88d05c7276bd16c369035 (diff)
downloadports-190418a078b1eb7ea3c5d38a08bdab3cbd422086.tar.gz
ports-190418a078b1eb7ea3c5d38a08bdab3cbd422086.zip
Notes
Diffstat (limited to 'sysutils/gnomesystemmonitor/files/patch-src_openfiles.c')
-rw-r--r--sysutils/gnomesystemmonitor/files/patch-src_openfiles.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c b/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
new file mode 100644
index 000000000000..efdcef5f7882
--- /dev/null
+++ b/sysutils/gnomesystemmonitor/files/patch-src_openfiles.c
@@ -0,0 +1,32 @@
+--- src/openfiles.c.orig Fri Jan 21 18:35:43 2005
++++ src/openfiles.c Tue Jan 25 19:02:29 2005
+@@ -8,6 +8,7 @@
+ #include <netdb.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include "procman.h"
+ #include "openfiles.h"
+@@ -143,7 +144,7 @@
+ const glibtop_open_files_entry *o2 = b;
+
+ /* Falta manejar los diferentes tipos! */
+- return (o1->fd == o2->fd) && (o1->type == o1->type); // XXX!
++ return (o1->fd == o2->fd) && (o1->type == o1->type); /* XXX! */
+ }
+
+
+@@ -152,10 +153,10 @@
+ {
+ ProcInfo *info;
+ GtkTreeModel *model;
+- glibtop_open_files_entry *openfiles;
+- glibtop_proc_open_files procmap;
+ GHashTable *new_maps;
+ gint i;
++ glibtop_open_files_entry *openfiles;
++ glibtop_proc_open_files procmap;
+
+ info = g_object_get_data (G_OBJECT (tree), "selected_info");
+ g_return_if_fail (info);