diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2020-08-20 08:22:13 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2020-08-20 08:22:13 +0000 |
commit | a68e1ff13376a2268c77f7d667292f0f5ec9c6c8 (patch) | |
tree | 6f24f345e05c326bcbeac37de20484598f2bf4f3 /net/hping3/files/patch-hping2.h | |
parent | net/mpd5: import r2272 from upstream (diff) |
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
Notes
Notes:
svn path=/head/; revision=545508
Diffstat (limited to 'net/hping3/files/patch-hping2.h')
-rw-r--r-- | net/hping3/files/patch-hping2.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/hping3/files/patch-hping2.h b/net/hping3/files/patch-hping2.h new file mode 100644 index 000000000000..e62d308c5d37 --- /dev/null +++ b/net/hping3/files/patch-hping2.h @@ -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 */ |