diff options
author | Ned Ludd <solar@gentoo.org> | 2004-06-15 06:47:46 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-06-15 06:47:46 +0000 |
commit | e9e13421fcee0dab150ab0371cf5491e165e2141 (patch) | |
tree | 4fd1893ad76ec6b962e565fa37309f41b5ee77a5 /net-misc/iputils/files | |
parent | Added sys-libs/gdbm dependency to fix bug #53842. (Manifest recommit) (diff) | |
download | gentoo-2-e9e13421fcee0dab150ab0371cf5491e165e2141.tar.gz gentoo-2-e9e13421fcee0dab150ab0371cf5491e165e2141.tar.bz2 gentoo-2-e9e13421fcee0dab150ab0371cf5491e165e2141.zip |
added patch to allow iputils to compile with uclibc
Diffstat (limited to 'net-misc/iputils/files')
-rw-r--r-- | net-misc/iputils/files/iputils-20020927-no-ether_ntohost.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/iputils/files/iputils-20020927-no-ether_ntohost.patch b/net-misc/iputils/files/iputils-20020927-no-ether_ntohost.patch new file mode 100644 index 000000000000..e790d2b51038 --- /dev/null +++ b/net-misc/iputils/files/iputils-20020927-no-ether_ntohost.patch @@ -0,0 +1,24 @@ +--- 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"); |