mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
- Fix build on amd64
Reported by: pointyhat via kris
This commit is contained in:
parent
6fcb668607
commit
e1d31626c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111850
32
net-p2p/gnunet/files/patch-src_applications_afs_gtkui_main.c
Normal file
32
net-p2p/gnunet/files/patch-src_applications_afs_gtkui_main.c
Normal file
@ -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,
|
@ -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();
|
||||
|
||||
|
32
net/gnunet/files/patch-src_applications_afs_gtkui_main.c
Normal file
32
net/gnunet/files/patch-src_applications_afs_gtkui_main.c
Normal file
@ -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,
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user