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