summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2010-08-22 01:00:58 +0000
committerLuca Barbato <lu_zero@gentoo.org>2010-08-22 01:00:58 +0000
commit0ceaf7275251a3d3c33d72414ae958e297ca5b65 (patch)
tree9ea5dcdc0146b1515a794db2cbe11bdcd248a0d7 /net-misc/iputils
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-0ceaf7275251a3d3c33d72414ae958e297ca5b65.tar.gz
gentoo-2-0ceaf7275251a3d3c33d72414ae958e297ca5b65.tar.bz2
gentoo-2-0ceaf7275251a3d3c33d72414ae958e297ca5b65.zip
Fix cross compilation
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/iputils')
-rw-r--r--net-misc/iputils/ChangeLog6
-rw-r--r--net-misc/iputils/files/iputils-20100418-proper-libs.patch18
-rw-r--r--net-misc/iputils/iputils-20100418.ebuild3
3 files changed, 25 insertions, 2 deletions
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 <lu_zero@gentoo.org>
+ +files/iputils-20100418-proper-libs.patch, iputils-20100418.ebuild:
+ Fix cross compilation
14 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
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