net-misc/iputils: remove unused patches
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Thu, 17 May 2018 08:31:41 +0000 (10:31 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 17 May 2018 09:14:50 +0000 (11:14 +0200)
Closes: https://github.com/gentoo/gentoo/pull/8451

net-misc/iputils/files/021109-uclibc-no-ether_ntohost.patch [deleted file]
net-misc/iputils/files/iputils-20100418-so_mark.patch [deleted file]

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 (file)
index e790d2b..0000000
+++ /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 (file)
index ad92254..0000000
+++ /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