aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-07-26 17:54:36 +0000
committerSteve Wills <swills@FreeBSD.org>2018-07-26 17:54:36 +0000
commit580db765b242a6607e90fa0300b595be345985ce (patch)
tree9c7801f31aeb0c194d469b203fbd914fa7f9a7f3
parent11de37c6f3765c5460c873886476b52f1175a6be (diff)
downloadports-580db765b242a6607e90fa0300b595be345985ce.tar.gz
ports-580db765b242a6607e90fa0300b595be345985ce.zip
Notes
-rw-r--r--net-mgmt/nstat/files/patch-nstat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-mgmt/nstat/files/patch-nstat.c b/net-mgmt/nstat/files/patch-nstat.c
new file mode 100644
index 000000000000..a9672689308e
--- /dev/null
+++ b/net-mgmt/nstat/files/patch-nstat.c
@@ -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; \