Created attachment 195475 [details] Fix build if timespecadd is already defined A change to base will soon expose timespecadd(3) to userspace. nstat should not assume that it is undefined.
A commit references this bug: Author: swills Date: Thu Jul 26 17:54:36 UTC 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 Changes: head/net-mgmt/nstat/files/ head/net-mgmt/nstat/files/patch-nstat.c
Committed, but can you please send this upstream too? Thanks!
Here you go: https://github.com/gallatin/nstat/pull/1
Thanks for fixing this so quickly. Could you also please MFH? Otherwise the quarterly branch will start failing to build on head once I make the change to src.
A commit references this bug: Author: swills Date: Fri Jul 27 20:59:03 UTC 2018 New revision: 475462 URL: https://svnweb.freebsd.org/changeset/ports/475462 Log: MFH: r475392 net-mgmt/nstat: don't assume timespecadd is undefined PR: 230058 Submitted by: asomers Approved by: ports-secteam (implicit) Changes: _U branches/2018Q3/ branches/2018Q3/net-mgmt/nstat/files/
Done