Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2017 18:13:10 +0000 (UTC)
From:      Babak Farrokhi <farrokhi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457096 - in head/net-mgmt/fprobe: . files
Message-ID:  <201712231813.vBNIDAtS004790@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: farrokhi
Date: Sat Dec 23 18:13:10 2017
New Revision: 457096
URL: https://svnweb.freebsd.org/changeset/ports/457096

Log:
  - Unbreak build
  - Take maintainership

Added:
  head/net-mgmt/fprobe/files/patch-src_fprobe.c   (contents, props changed)
Modified:
  head/net-mgmt/fprobe/Makefile

Modified: head/net-mgmt/fprobe/Makefile
==============================================================================
--- head/net-mgmt/fprobe/Makefile	Sat Dec 23 17:59:50 2017	(r457095)
+++ head/net-mgmt/fprobe/Makefile	Sat Dec 23 18:13:10 2017	(r457096)
@@ -7,7 +7,7 @@ PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	farrokhi@FreeBSD.org
 COMMENT=	Tool that collects network traffic data
 
 LICENSE=	GPLv2

Added: head/net-mgmt/fprobe/files/patch-src_fprobe.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/fprobe/files/patch-src_fprobe.c	Sat Dec 23 18:13:10 2017	(r457096)
@@ -0,0 +1,20 @@
+--- src/fprobe.c.orig	2017-12-23 18:54:12 UTC
++++ src/fprobe.c
+@@ -393,7 +393,7 @@ void gettime(struct Time *now)
+ 	now->usec = t.tv_usec;
+ }
+ 
+-inline time_t cmpmtime(struct Time *t1, struct Time *t2)
++static inline time_t cmpmtime(struct Time *t1, struct Time *t2)
+ {
+ 	return (t1->sec - t2->sec) * 1000 + (t1->usec - t2->usec) / 1000;
+ }
+@@ -411,7 +411,7 @@ hash_t hash_flow(struct Flow *flow)
+ 	else return hash(flow, sizeof(struct Flow_TL));
+ }
+ 
+-inline void copy_flow(struct Flow *src, struct Flow *dst)
++static inline void copy_flow(struct Flow *src, struct Flow *dst)
+ {
+ 	dst->sip = src->sip;
+ 	dst->dip = src->dip;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712231813.vBNIDAtS004790>