diff options
author | ohauer <ohauer@FreeBSD.org> | 2012-11-04 08:03:05 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2012-11-04 08:03:05 +0800 |
commit | c72d63dadfcce81b31251b0e8d3497616a36bc05 (patch) | |
tree | 076d95075aa3c6844d205141c80b2aebb86c0b0f | |
parent | 95254c05422d639f9cd009152ed33874f7e48afb (diff) | |
download | freebsd-ports-gnome-c72d63dadfcce81b31251b0e8d3497616a36bc05.tar.gz freebsd-ports-gnome-c72d63dadfcce81b31251b0e8d3497616a36bc05.tar.zst freebsd-ports-gnome-c72d63dadfcce81b31251b0e8d3497616a36bc05.zip |
- fix the patch, we need the time in milliseconds not in micorseconds
- noted by Erik Sejr, and on the check-mk list
Feature safe: yes
-rw-r--r-- | net-mgmt/mk-livestatus/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/mk-livestatus/files/patch-src__livecheck.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/mk-livestatus/Makefile b/net-mgmt/mk-livestatus/Makefile index e8887dd56d2e..162d1580301a 100644 --- a/net-mgmt/mk-livestatus/Makefile +++ b/net-mgmt/mk-livestatus/Makefile @@ -3,6 +3,7 @@ PORTNAME= mk-livestatus PORTVERSION= 1.2.0p3 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://mathias-kettner.de/download/ \ LOCAL/ohauer diff --git a/net-mgmt/mk-livestatus/files/patch-src__livecheck.c b/net-mgmt/mk-livestatus/files/patch-src__livecheck.c index a7487fe60e63..82657a6330ae 100644 --- a/net-mgmt/mk-livestatus/files/patch-src__livecheck.c +++ b/net-mgmt/mk-livestatus/files/patch-src__livecheck.c @@ -55,9 +55,9 @@ end.millitm, +#else + (int)start.tv_sec, -+ start.tv_usec, ++ start.tv_usec / 1000, + (int)end.tv_sec, -+ end.tv_usec, ++ end.tv_usec / 1000, +#endif return_code, output); |