diff options
author | krion <krion@FreeBSD.org> | 2004-06-20 09:14:50 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-06-20 09:14:50 +0000 |
commit | 18f9684bb98bb93ce2bebfa1a3a8de385a41a39a (patch) | |
tree | 774c11464ced8b4771d3b8aa7f6163e1f86b5304 /net-p2p | |
parent | 1df76520fda16fbe6e032695daada60679722f3e (diff) | |
download | FreeBSD-ports-18f9684bb98bb93ce2bebfa1a3a8de385a41a39a.zip FreeBSD-ports-18f9684bb98bb93ce2bebfa1a3a8de385a41a39a.tar.gz |
- Fix build on amd64
Reported by: pointyhat via kris
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/gnunet/files/patch-src_applications_afs_gtkui_main.c | 32 | ||||
-rw-r--r-- | net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.h | 17 |
2 files changed, 49 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 0000000..c39afaa --- /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 0000000..3c2d5ef --- /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(); + + |