diff options
-rw-r--r-- | net-misc/iputils/files/021109-uclibc-no-ether_ntohost.patch | 24 | ||||
-rw-r--r-- | net-misc/iputils/files/iputils-20100418-so_mark.patch | 22 |
2 files changed, 0 insertions, 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 e790d2b51038..000000000000 --- 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 ad92254d6f8d..000000000000 --- 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 |