svn commit: r546203 - in head/net/tcpick: . files

MANTANI Nobutaka nobutaka at FreeBSD.org
Tue Aug 25 17:41:58 UTC 2020


Author: nobutaka
Date: Tue Aug 25 17:41:56 2020
New Revision: 546203
URL: https://svnweb.freebsd.org/changeset/ports/546203

Log:
  - Fix build error with -fno-common (default of Clang 11 and GCC 10).
  - Add LICENSE.

Added:
  head/net/tcpick/files/patch-src_conn.h   (contents, props changed)
  head/net/tcpick/files/patch-src_tracker.c   (contents, props changed)
Modified:
  head/net/tcpick/Makefile

Modified: head/net/tcpick/Makefile
==============================================================================
--- head/net/tcpick/Makefile	Tue Aug 25 17:39:53 2020	(r546202)
+++ head/net/tcpick/Makefile	Tue Aug 25 17:41:56 2020	(r546203)
@@ -10,6 +10,8 @@ MASTER_SITES=	SF
 MAINTAINER=	nobutaka at FreeBSD.org
 COMMENT=	Text-based TCP stream sniffer
 
+LICENSE=	GPLv2
+
 GNU_CONFIGURE=	yes
 USE_CSTD=	gnu89
 

Added: head/net/tcpick/files/patch-src_conn.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tcpick/files/patch-src_conn.h	Tue Aug 25 17:41:56 2020	(r546203)
@@ -0,0 +1,10 @@
+--- src/conn.h.orig	2020-08-25 17:08:29 UTC
++++ src/conn.h
+@@ -80,5 +80,5 @@ struct CONN
+ };
+ 
+ 
+-struct ip * ip_last_header; /* FIXME: check */
+-struct tcphdr * tcp_last_header;
++extern struct ip * ip_last_header; /* FIXME: check */
++extern struct tcphdr * tcp_last_header;

Added: head/net/tcpick/files/patch-src_tracker.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tcpick/files/patch-src_tracker.c	Tue Aug 25 17:41:56 2020	(r546203)
@@ -0,0 +1,12 @@
+--- src/tracker.c.orig	2020-08-25 17:17:55 UTC
++++ src/tracker.c
+@@ -28,8 +28,7 @@
+ #include "tcpick.h"
+ #include "extern.h"
+ 
+-struct CONN * first_conn = NULL; /*all connections, ends on a 0*/
+-struct CONN * last_conn  = NULL; 
++
+ 
+ int 
+ status_switch(struct CONN * prev, enum STATUS status) 


More information about the svn-ports-head mailing list