svn commit: r545508 - head/net/hping3/files

Eugene Grosbein eugen at FreeBSD.org
Thu Aug 20 08:22:14 UTC 2020


Author: eugen
Date: Thu Aug 20 08:22:13 2020
New Revision: 545508
URL: https://svnweb.freebsd.org/changeset/ports/545508

Log:
  net/hping3: fix build with -fno-common (clang 11 and gcc 10)
  
  PORTREVISION not bumped as it fixes build for FreeBSD 13.
  
  Reported by:	pkg-fallout

Added:
  head/net/hping3/files/patch-hping2.h   (contents, props changed)

Added: head/net/hping3/files/patch-hping2.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/hping3/files/patch-hping2.h	Thu Aug 20 08:22:13 2020	(r545508)
@@ -0,0 +1,11 @@
+--- hping2.h.orig	2004-06-04 15:22:38.000000000 +0800
++++ hping2.h	2020-08-20 15:19:32.827593000 +0700
+@@ -353,7 +353,7 @@ struct delaytable_element {
+ 	int status;
+ };
+ 
+-volatile struct delaytable_element delaytable[TABLESIZE];
++extern volatile struct delaytable_element delaytable[TABLESIZE];
+ 
+ /* protos */
+ void	nop(void);				/* nop */


More information about the svn-ports-head mailing list