Date: Thu, 26 Jul 2018 17:54:36 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475392 - head/net-mgmt/nstat/files Message-ID: <201807261754.w6QHsaQ0060209@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Thu Jul 26 17:54:36 2018 New Revision: 475392 URL: https://svnweb.freebsd.org/changeset/ports/475392 Log: net-mgmt/nstat: don't assume timespecadd is undefined PR: 230058 Submitted by: asomers Added: head/net-mgmt/nstat/files/ head/net-mgmt/nstat/files/patch-nstat.c (contents, props changed) Added: head/net-mgmt/nstat/files/patch-nstat.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/nstat/files/patch-nstat.c Thu Jul 26 17:54:36 2018 (r475392) @@ -0,0 +1,10 @@ +--- nstat.c.orig 2018-07-26 14:34:20 UTC ++++ nstat.c +@@ -53,6 +53,7 @@ + + + /* why is this only defined in the kernel */ ++#undef timespecadd + #define timespecadd(vvp, uvp) \ + do { \ + (vvp)->tv_sec += (uvp)->tv_sec; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807261754.w6QHsaQ0060209>