diff options
author | gahr <gahr@FreeBSD.org> | 2008-04-08 23:57:29 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-04-08 23:57:29 +0800 |
commit | b3e4e63158b832bb51ada909bac7936f6ff966cf (patch) | |
tree | f30c57e85bcb7c735e5d50cfc6cd72683cb18090 | |
parent | 88b1284231e0ed8c39ba99526dcec8f0648a2424 (diff) | |
download | freebsd-ports-gnome-b3e4e63158b832bb51ada909bac7936f6ff966cf.tar.gz freebsd-ports-gnome-b3e4e63158b832bb51ada909bac7936f6ff966cf.tar.zst freebsd-ports-gnome-b3e4e63158b832bb51ada909bac7936f6ff966cf.zip |
- Fix build on sparc64 and amd64
Approved by: maintainer (timeout), miwi (mentor)
-rw-r--r-- | net/relayd/Makefile | 4 | ||||
-rw-r--r-- | net/relayd/files/patch-ctl-relayctl.c | 15 |
2 files changed, 12 insertions, 7 deletions
diff --git a/net/relayd/Makefile b/net/relayd/Makefile index fc8fd525b878..d281d6b73d9c 100644 --- a/net/relayd/Makefile +++ b/net/relayd/Makefile @@ -52,10 +52,6 @@ do-install: .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= Does not compile -.endif - .if ${OSVERSION} < 502106 IGNORE= is of no use for you because your system is too old and doesn't have pf .endif diff --git a/net/relayd/files/patch-ctl-relayctl.c b/net/relayd/files/patch-ctl-relayctl.c index 7aa04fa8810a..478e4a7d68cc 100644 --- a/net/relayd/files/patch-ctl-relayctl.c +++ b/net/relayd/files/patch-ctl-relayctl.c @@ -1,5 +1,5 @@ ---- relayctl/relayctl.c.orig Thu Feb 22 14:59:13 2007 -+++ relayctl/relayctl.c Fri Jun 8 13:00:53 2007 +--- relayctl/relayctl.c.orig 2007-12-20 21:15:43.000000000 +0100 ++++ relayctl/relayctl.c 2008-03-20 17:15:14.000000000 +0100 @@ -20,6 +20,7 @@ */ @@ -8,7 +8,7 @@ #include <sys/socket.h> #include <sys/queue.h> #include <sys/un.h> -@@ -286,7 +287,7 @@ +@@ -297,7 +298,7 @@ imn = monitor_lookup(imsg->hdr.type); printf("%s: imsg type %u len %u peerid %u pid %d\n", imn->name, imsg->hdr.type, imsg->hdr.len, imsg->hdr.peerid, imsg->hdr.pid); @@ -17,3 +17,12 @@ if (imn->type == -1) done = 1; if (imn->func != NULL) +@@ -508,7 +509,7 @@ + printf("\t%8s\ttotal: %llu sessions\n" + "\t%8s\tlast: %u/%us %u/h %u/d sessions\n" + "\t%8s\taverage: %u/%us %u/h %u/d sessions\n", +- "", crs.cnt, ++ "", (long long unsigned)crs.cnt, + "", crs.last, crs.interval, + crs.last_hour, crs.last_day, + "", crs.avg, crs.interval, |