summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-12-12 14:34:48 +0100
committerDavid Seifert <soap@gentoo.org>2020-12-12 14:34:48 +0100
commitff71922ee25d106ef20079a32b7456cefc4bee9c (patch)
treefc4f9be83c1b86f26f3f3f9886a9be74089221b0 /net-analyzer
parentnet-analyzer/ettercap: remove unused patch (diff)
downloadgentoo-ff71922ee25d106ef20079a32b7456cefc4bee9c.tar.gz
gentoo-ff71922ee25d106ef20079a32b7456cefc4bee9c.tar.bz2
gentoo-ff71922ee25d106ef20079a32b7456cefc4bee9c.zip
net-analyzer/fping: remove unused patches
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/fping/files/fping-2.4_beta2_p161-err.h.patch10
-rw-r--r--net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch47
-rw-r--r--net-analyzer/fping/files/fping-4.1-ipv6.patch15
-rw-r--r--net-analyzer/fping/files/fping-4.2-fno-common.patch11
4 files changed, 0 insertions, 83 deletions
diff --git a/net-analyzer/fping/files/fping-2.4_beta2_p161-err.h.patch b/net-analyzer/fping/files/fping-2.4_beta2_p161-err.h.patch
deleted file mode 100644
index 38946ac38524..000000000000
--- a/net-analyzer/fping/files/fping-2.4_beta2_p161-err.h.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/fping.c
-+++ b/fping.c
-@@ -106,6 +106,7 @@
-
- #include <arpa/inet.h>
- #include <netdb.h>
-+#include <err.h> /* err() warnx() */
-
- /* RS6000 has sys/select.h */
- #ifdef HAVE_SYS_SELECT_H
diff --git a/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch b/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch
deleted file mode 100644
index a101fd4ae0e1..000000000000
--- a/net-analyzer/fping/files/fping-2.4_beta2_p161-min-time.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/fping.c
-+++ b/fping.c
-@@ -25,6 +25,7 @@
- * Original author: Roland Schemers <schemers@stanford.edu>
- * IPv6 Support: Jeroen Massar <jeroen@unfix.org / jeroen@ipng.nl>
- * Bugfixes, byte order & senseful seq.-numbers: Stephan Fuhrmann (stephan.fuhrmann AT 1und1.de)
-+ * Fixes: min_reply_i in splits and compiler warning. Alex Ghoth (alex AT ghoth.net)
- *
- *
- * RCS header information no longer used. It has been moved to the
-@@ -743,7 +744,7 @@
-
- if( ( ping_data_size > MAX_PING_DATA ) || ( ping_data_size < MIN_PING_DATA ) )
- {
-- fprintf( stderr, "%s: data size %u not valid, must be between %u and %u\n",
-+ fprintf( stderr, "%s: data size %u not valid, must be between %lu and %u\n",
- prog, ping_data_size, MIN_PING_DATA, MAX_PING_DATA );
- usage();
-
-@@ -1112,7 +1113,7 @@
- ht = timeval_diff( &current_time, &cursor->last_send_time );
-
- if( report_interval && ( loop_flag || count_flag ) &&
-- ( timeval_diff ( &current_time, &last_report_time ) > report_interval ) )
-+ ( timeval_diff ( &current_time, &last_report_time ) >= report_interval ) )
- {
- print_per_system_splits();
- gettimeofday( &current_time, &tz );
-@@ -1487,8 +1488,8 @@
- }/* IF */
-
- fprintf( stderr, "\n" );
-- h->num_sent_i = h->num_recv_i = h->max_reply_i =
-- h->min_reply_i = h->total_time_i = 0;
-+ h->num_sent_i = h->num_recv_i = h->max_reply_i = h->total_time_i = 0;
-+ h->min_reply_i = 10000000;
-
- }/* FOR */
-
-@@ -2377,6 +2378,7 @@
- p->timeout = timeout;
- p->running = 1;
- p->min_reply = 10000000;
-+ p->min_reply_i = 10000000;
-
- if( strlen( p->host ) > max_hostname_len )
- max_hostname_len = strlen( p->host );
diff --git a/net-analyzer/fping/files/fping-4.1-ipv6.patch b/net-analyzer/fping/files/fping-4.1-ipv6.patch
deleted file mode 100644
index 7889b568a194..000000000000
--- a/net-analyzer/fping/files/fping-4.1-ipv6.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/src/fping.c
-+++ b/src/fping.c
-@@ -687,7 +687,11 @@ int main(int argc, char** argv)
-
- /* validate various option settings */
-
-- if (socket4 < 0 && socket6 < 0) {
-+ if (socket4 < 0
-+#ifdef IPV6
-+ && socket6 < 0
-+#endif
-+ ) {
- crash_and_burn("can't create socket (must run as root?)");
- }
-
diff --git a/net-analyzer/fping/files/fping-4.2-fno-common.patch b/net-analyzer/fping/files/fping-4.2-fno-common.patch
deleted file mode 100644
index d18af66b0637..000000000000
--- a/net-analyzer/fping/files/fping-4.2-fno-common.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/fping.h
-+++ b/src/fping.h
-@@ -11,7 +11,7 @@
- void crash_and_burn( char *message );
- void errno_crash_and_burn( char *message );
- int in_cksum( unsigned short *p, int n );
--int random_data_flag;
-+extern int random_data_flag;
-
- /* socket.c */
- int open_ping_socket_ipv4();