diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-20 09:14:50 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-20 09:14:50 +0000 |
commit | e1d31626c7bc6efe6348425a19f0b56c9bd81a3e (patch) | |
tree | 1400d7a560bab4faac57cc6bf2463dcb6ac912e9 | |
parent | 6fcb6686071e8bc3e8f9462539f2f9eb30e828a3 (diff) | |
download | ports-e1d31626c7bc6efe6348425a19f0b56c9bd81a3e.tar.gz ports-e1d31626c7bc6efe6348425a19f0b56c9bd81a3e.zip |
Notes
4 files changed, 98 insertions, 0 deletions
diff --git a/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_main.c b/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_main.c new file mode 100644 index 000000000000..c39afaa1cd51 --- /dev/null +++ b/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_main.c @@ -0,0 +1,32 @@ + +$FreeBSD$ + +--- src/applications/afs/gtkui/main.c.orig Sun Jun 20 11:00:49 2004 ++++ src/applications/afs/gtkui/main.c Sun Jun 20 11:01:30 2004 +@@ -247,22 +247,22 @@ + { "/File/Plot gnunetd stats/_Connectivity", + NULL, + displayStatistics, +- (long) "Connectivity", ++ STAT_CONNECTIVITY, + NULL }, + { "/File/Plot gnunetd stats/C_PU Load", + NULL, + displayStatistics, +- (long) "CPU load", ++ STAT_CPU_LOAD, + NULL }, + { "/File/Plot gnunetd stats/_Inbound Traffic", + NULL, + displayStatistics, +- (long) "Inbound Traffic", ++ STAT_IN_TRAFFIC, + NULL }, + { "/File/Plot gnunetd stats/_Outbound Traffic", + NULL, + displayStatistics, +- (long) "Outbound Traffic", ++ STAT_OUT_TRAFFIC, + NULL }, + { "/File/sep1", + NULL, diff --git a/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.h b/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.h new file mode 100644 index 000000000000..3c2d5ef99cfc --- /dev/null +++ b/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.h @@ -0,0 +1,17 @@ + +$FreeBSD$ + +--- src/applications/afs/gtkui/statistics.h.orig Sun Jun 20 11:05:37 2004 ++++ src/applications/afs/gtkui/statistics.h Sun Jun 20 11:06:11 2004 +@@ -41,6 +41,11 @@ + + void initGTKStatistics(); + ++#define STAT_CONNECTIVITY 0 ++#define STAT_CPU_LOAD 1 ++#define STAT_IN_TRAFFIC 2 ++#define STAT_OUT_TRAFFIC 3 ++ + void doneGTKStatistics(); + + diff --git a/net/gnunet/files/patch-src_applications_afs_gtkui_main.c b/net/gnunet/files/patch-src_applications_afs_gtkui_main.c new file mode 100644 index 000000000000..c39afaa1cd51 --- /dev/null +++ b/net/gnunet/files/patch-src_applications_afs_gtkui_main.c @@ -0,0 +1,32 @@ + +$FreeBSD$ + +--- src/applications/afs/gtkui/main.c.orig Sun Jun 20 11:00:49 2004 ++++ src/applications/afs/gtkui/main.c Sun Jun 20 11:01:30 2004 +@@ -247,22 +247,22 @@ + { "/File/Plot gnunetd stats/_Connectivity", + NULL, + displayStatistics, +- (long) "Connectivity", ++ STAT_CONNECTIVITY, + NULL }, + { "/File/Plot gnunetd stats/C_PU Load", + NULL, + displayStatistics, +- (long) "CPU load", ++ STAT_CPU_LOAD, + NULL }, + { "/File/Plot gnunetd stats/_Inbound Traffic", + NULL, + displayStatistics, +- (long) "Inbound Traffic", ++ STAT_IN_TRAFFIC, + NULL }, + { "/File/Plot gnunetd stats/_Outbound Traffic", + NULL, + displayStatistics, +- (long) "Outbound Traffic", ++ STAT_OUT_TRAFFIC, + NULL }, + { "/File/sep1", + NULL, diff --git a/net/gnunet/files/patch-src_applications_afs_gtkui_statistics.h b/net/gnunet/files/patch-src_applications_afs_gtkui_statistics.h new file mode 100644 index 000000000000..3c2d5ef99cfc --- /dev/null +++ b/net/gnunet/files/patch-src_applications_afs_gtkui_statistics.h @@ -0,0 +1,17 @@ + +$FreeBSD$ + +--- src/applications/afs/gtkui/statistics.h.orig Sun Jun 20 11:05:37 2004 ++++ src/applications/afs/gtkui/statistics.h Sun Jun 20 11:06:11 2004 +@@ -41,6 +41,11 @@ + + void initGTKStatistics(); + ++#define STAT_CONNECTIVITY 0 ++#define STAT_CPU_LOAD 1 ++#define STAT_IN_TRAFFIC 2 ++#define STAT_OUT_TRAFFIC 3 ++ + void doneGTKStatistics(); + + |