svn commit: r306945 - in head/net-mgmt/mk-livestatus: . files

Olli Hauer ohauer at FreeBSD.org
Sun Nov 4 00:03:06 UTC 2012


Author: ohauer
Date: Sun Nov  4 00:03:05 2012
New Revision: 306945
URL: http://svn.freebsd.org/changeset/ports/306945

Log:
  - 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

Modified:
  head/net-mgmt/mk-livestatus/Makefile
  head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c

Modified: head/net-mgmt/mk-livestatus/Makefile
==============================================================================
--- head/net-mgmt/mk-livestatus/Makefile	Sat Nov  3 23:52:56 2012	(r306944)
+++ head/net-mgmt/mk-livestatus/Makefile	Sun Nov  4 00:03:05 2012	(r306945)
@@ -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

Modified: head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c
==============================================================================
--- head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c	Sat Nov  3 23:52:56 2012	(r306944)
+++ head/net-mgmt/mk-livestatus/files/patch-src__livecheck.c	Sun Nov  4 00:03:05 2012	(r306945)
@@ -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);


More information about the svn-ports-head mailing list