summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-05-05 13:41:59 +0000
committerRémi Cardona <remi@gentoo.org>2008-05-05 13:41:59 +0000
commitec359f937785bcbec95165c1a31c8448f806fd7d (patch)
treedb9ae6b1a489dde53bc2666317377cda3fefef95
parentAdd ~amd64 keyword (diff)
downloadgentoo-2-ec359f937785bcbec95165c1a31c8448f806fd7d.tar.gz
gentoo-2-ec359f937785bcbec95165c1a31c8448f806fd7d.tar.bz2
gentoo-2-ec359f937785bcbec95165c1a31c8448f806fd7d.zip
net-misc/whois: Add patch to fix --as-needed (see bug #220351)
(Portage version: 2.1.5_rc6)
-rw-r--r--net-misc/whois/ChangeLog6
-rw-r--r--net-misc/whois/files/whois-4.7.26-fix-as-needed.patch15
-rw-r--r--net-misc/whois/whois-4.7.26.ebuild3
3 files changed, 22 insertions, 2 deletions
diff --git a/net-misc/whois/ChangeLog b/net-misc/whois/ChangeLog
index 50386d1b2d33..f703f8b4caf6 100644
--- a/net-misc/whois/ChangeLog
+++ b/net-misc/whois/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/whois
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.107 2008/05/05 04:55:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.108 2008/05/05 13:41:58 remi Exp $
+
+ 05 May 2008; Rémi Cardona <remi@gentoo.org>
+ +files/whois-4.7.26-fix-as-needed.patch, whois-4.7.26.ebuild:
+ Add patch to fix --as-needed (see bug #220351)
*whois-4.7.26 (05 May 2008)
diff --git a/net-misc/whois/files/whois-4.7.26-fix-as-needed.patch b/net-misc/whois/files/whois-4.7.26-fix-as-needed.patch
new file mode 100644
index 000000000000..46e190749baf
--- /dev/null
+++ b/net-misc/whois/files/whois-4.7.26-fix-as-needed.patch
@@ -0,0 +1,15 @@
+--- Makefile 2008-05-05 14:32:24.000000000 +0200
++++ Makefile 2008-05-05 14:33:24.000000000 +0200
+@@ -33,10 +33,10 @@
+ $(CC) $(CFLAGS) $(OPTS) -c $<
+
+ whois: whois.o utils.o
+- $(CC) $(LDFLAGS) $(whois_LDADD) -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^ $(whois_LDADD)
+
+ mkpasswd: mkpasswd.o utils.o
+- $(CC) $(LDFLAGS) $(mkpasswd_LDADD) -o $@ $^
++ $(CC) $(LDFLAGS) -o $@ $^ $(mkpasswd_LDADD)
+
+ ##############################################################################
+ as_del.h: as_del_list make_as_del.pl
diff --git a/net-misc/whois/whois-4.7.26.ebuild b/net-misc/whois/whois-4.7.26.ebuild
index adae4b288707..36b82eb287e6 100644
--- a/net-misc/whois/whois-4.7.26.ebuild
+++ b/net-misc/whois/whois-4.7.26.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.26.ebuild,v 1.1 2008/05/05 04:55:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.26.ebuild,v 1.2 2008/05/05 13:41:58 remi Exp $
inherit eutils toolchain-funcs
@@ -24,6 +24,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${PN}-4.7.26-gentoo-security.patch
epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
+ epatch "${FILESDIR}/${PN}-4.7.26-fix-as-needed.patch"
if use nls ; then
cd po