svn commit: r475392 - head/net-mgmt/nstat/files

Steve Wills swills at FreeBSD.org
Thu Jul 26 17:54:37 UTC 2018


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;				\


More information about the svn-ports-all mailing list