diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2020-08-20 09:06:14 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2020-08-20 09:06:14 +0000 |
commit | 16b5a48d6cbdd027ec8a7a1652fb3402c0636625 (patch) | |
tree | e58931760dcfa435a5ee8c054e7a24b93d75d3bc /net/echoping/files/patch-echoping.c | |
parent | net/hping3: fix build with -fno-common (clang 11 and gcc 10) (diff) |
net/echoping: 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=545509
Diffstat (limited to 'net/echoping/files/patch-echoping.c')
-rw-r--r-- | net/echoping/files/patch-echoping.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/echoping/files/patch-echoping.c b/net/echoping/files/patch-echoping.c new file mode 100644 index 000000000000..d2b246599a41 --- /dev/null +++ b/net/echoping/files/patch-echoping.c @@ -0,0 +1,25 @@ +--- echoping.c.orig 2020-08-20 15:47:00 UTC ++++ echoping.c +@@ -38,6 +38,22 @@ struct result results[MAX_ITERATIONS]; + struct timeval good_results[MAX_ITERATIONS]; + extern int tvcmp(); + ++boolean timeout_flag; ++static char *server; ++#ifdef LIBIDN ++static char *locale_server, *ace_server, *utf8_server; ++#endif ++ ++static init_f plugin_init; ++static start_f plugin_start; ++static start_raw_f plugin_raw_start; ++static execute_f plugin_execute; ++static execute_f plugin_execute; ++static terminate_f plugin_terminate; ++ ++struct timeval null_timeval; ++static struct timeval max_timeval; ++ + int + main(argc, argv) + int argc; |