diff options
author | farrokhi <farrokhi@FreeBSD.org> | 2017-12-24 02:13:10 +0800 |
---|---|---|
committer | farrokhi <farrokhi@FreeBSD.org> | 2017-12-24 02:13:10 +0800 |
commit | 64b310e15c5b86e35240463102dd70a38bace026 (patch) | |
tree | 7c3efd7a97dcf5b3a684770ad04b5f924e2e532b /net-mgmt | |
parent | be384b06adcd46d42e810ab9f1a4893386ffcc4e (diff) | |
download | freebsd-ports-gnome-64b310e15c5b86e35240463102dd70a38bace026.tar.gz freebsd-ports-gnome-64b310e15c5b86e35240463102dd70a38bace026.tar.zst freebsd-ports-gnome-64b310e15c5b86e35240463102dd70a38bace026.zip |
- Unbreak build
- Take maintainership
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/fprobe/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/fprobe/files/patch-src_fprobe.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net-mgmt/fprobe/Makefile b/net-mgmt/fprobe/Makefile index 5ba4aeb92971..82cd68360643 100644 --- a/net-mgmt/fprobe/Makefile +++ b/net-mgmt/fprobe/Makefile @@ -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 diff --git a/net-mgmt/fprobe/files/patch-src_fprobe.c b/net-mgmt/fprobe/files/patch-src_fprobe.c new file mode 100644 index 000000000000..268e7ecf9e06 --- /dev/null +++ b/net-mgmt/fprobe/files/patch-src_fprobe.c @@ -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; |