From 0ceaf7275251a3d3c33d72414ae958e297ca5b65 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 22 Aug 2010 01:00:58 +0000 Subject: Fix cross compilation (Portage version: 2.1.8.3/cvs/Linux x86_64) --- net-misc/iputils/ChangeLog | 6 +++++- .../iputils/files/iputils-20100418-proper-libs.patch | 18 ++++++++++++++++++ net-misc/iputils/iputils-20100418.ebuild | 3 ++- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 net-misc/iputils/files/iputils-20100418-proper-libs.patch (limited to 'net-misc/iputils') diff --git a/net-misc/iputils/ChangeLog b/net-misc/iputils/ChangeLog index e1381a217374..b81dc8475b87 100644 --- a/net-misc/iputils/ChangeLog +++ b/net-misc/iputils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/iputils # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/ChangeLog,v 1.79 2010/08/14 13:56:28 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/ChangeLog,v 1.80 2010/08/22 01:00:58 lu_zero Exp $ + + 22 Aug 2010; Luca Barbato + +files/iputils-20100418-proper-libs.patch, iputils-20100418.ebuild: + Fix cross compilation 14 Aug 2010; Diego E. Pettenò iputils-20100418.ebuild: diff --git a/net-misc/iputils/files/iputils-20100418-proper-libs.patch b/net-misc/iputils/files/iputils-20100418-proper-libs.patch new file mode 100644 index 000000000000..457ca39ce1e7 --- /dev/null +++ b/net-misc/iputils/files/iputils-20100418-proper-libs.patch @@ -0,0 +1,18 @@ +--- Makefile.orig 2010-08-22 02:51:52.000000000 +0200 ++++ Makefile 2010-08-22 02:47:48.000000000 +0200 +@@ -28,10 +28,13 @@ + ping6: LDLIBS += -lidn + endif + ++arping: LDLIBS += -lsysfs ++ping6: LDLIBS += -lresolv -lcrypto ++ + tftpd: tftpd.o tftpsubs.o +-arping: arping.o -lsysfs ++arping: arping.o + ping: ping.o ping_common.o +-ping6: ping6.o ping_common.o -lresolv -lcrypto ++ping6: ping6.o ping_common.o + ping.o ping6.o ping_common.o: ping_common.h + tftpd.o tftpsubs.o: tftp.h + diff --git a/net-misc/iputils/iputils-20100418.ebuild b/net-misc/iputils/iputils-20100418.ebuild index 1523224cf099..cfd0f9e84d52 100644 --- a/net-misc/iputils/iputils-20100418.ebuild +++ b/net-misc/iputils/iputils-20100418.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-20100418.ebuild,v 1.2 2010/08/14 13:56:28 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-20100418.ebuild,v 1.3 2010/08/22 01:00:58 lu_zero Exp $ inherit flag-o-matic eutils toolchain-funcs @@ -28,6 +28,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/021109-uclibc-no-ether_ntohost.patch epatch "${FILESDIR}"/${PN}-20100418-makefile.patch + epatch "${FILESDIR}"/${PN}-20100418-proper-libs.patch epatch "${FILESDIR}"/${PN}-20100418-printf-size.patch epatch "${FILESDIR}"/${PN}-20100418-aliasing.patch epatch "${FILESDIR}"/${PN}-20071127-kernel-ifaddr.patch -- cgit v1.2.3-65-gdbad