ports/net/hping3/files/patch-hping2.h
Eugene Grosbein a68e1ff133 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
2020-08-20 08:22:13 +00:00

11 lines
342 B
C

--- 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 */