Date: Thu, 20 Aug 2020 08:22:14 +0000 (UTC) From: Eugene Grosbein <eugen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545508 - head/net/hping3/files Message-ID: <202008200822.07K8MEid079082@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008200822.07K8MEid079082>