commit:     2a16bdf4936d5295ddc382647b67328d4215dfab
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu May 17 08:31:41 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu May 17 09:14:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a16bdf4

net-misc/iputils: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/8451

 .../files/021109-uclibc-no-ether_ntohost.patch     | 24 ----------------------
 .../iputils/files/iputils-20100418-so_mark.patch   | 22 --------------------
 2 files changed, 46 deletions(-)

diff --git a/net-misc/iputils/files/021109-uclibc-no-ether_ntohost.patch 
b/net-misc/iputils/files/021109-uclibc-no-ether_ntohost.patch
deleted file mode 100644
index e790d2b5103..00000000000
--- a/net-misc/iputils/files/021109-uclibc-no-ether_ntohost.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- iputils/rarpd.c.mps        2004-06-10 15:27:01.000000000 +0200
-+++ iputils/rarpd.c    2004-06-10 15:26:29.000000000 +0200
-@@ -42,7 +42,9 @@ int listen_arp;
- char *ifname;
- char *tftp_dir = "/etc/tftpboot";
- 
-+#ifndef __UCLIBC__
- extern int ether_ntohost(char *name, unsigned char *ea);
-+#endif
- void usage(void) __attribute__((noreturn));
- 
- struct iflink
-@@ -305,7 +307,11 @@ struct rarp_map *rarp_lookup(int ifindex
-                               6,
-                       };
- 
-+#ifndef __UCLIBC__
-                       if (ether_ntohost(ename, lladdr) != 0 ||
-+#else
-+                      if (
-+#endif
-                           (hp = gethostbyname(ename)) == NULL) {
-                               if (verbose)
-                                       syslog(LOG_INFO, "not found in 
/etc/ethers");

diff --git a/net-misc/iputils/files/iputils-20100418-so_mark.patch 
b/net-misc/iputils/files/iputils-20100418-so_mark.patch
deleted file mode 100644
index ad92254d6f8..00000000000
--- a/net-misc/iputils/files/iputils-20100418-so_mark.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/335347
-
-fix building with older linux headers that don't define SO_MARK
-
---- ping_common.c
-+++ ping_common.c
-@@ -485,6 +485,7 @@
-                       fprintf(stderr, "Warning: no SO_TIMESTAMP support, 
falling back to SIOCGSTAMP\n");
-       }
- #endif
-+#ifdef SO_MARK
-       if (options & F_MARK) {
-               if (setsockopt(icmp_sock, SOL_SOCKET, SO_MARK,
-                               &mark, sizeof(mark)) == -1) {
-@@ -494,6 +495,7 @@
-                       fprintf(stderr, "Warning: Failed to set mark %d\n", 
mark);
-               }
-       }
-+#endif
- 
-       /* Set some SNDTIMEO to prevent blocking forever
-        * on sends, when device is too slow or stalls. Just put limit

Reply via email to