summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-06-02 13:35:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-06-02 13:35:50 +0000
commit13af1b00bb59d7ce30b95c4772997e488c6121cb (patch)
tree98771ba620d30951bc8977ed827d50da63bb0a4e /net-wireless
parentSparc stable, Bug #272244. (diff)
downloadgentoo-2-13af1b00bb59d7ce30b95c4772997e488c6121cb.tar.gz
gentoo-2-13af1b00bb59d7ce30b95c4772997e488c6121cb.tar.bz2
gentoo-2-13af1b00bb59d7ce30b95c4772997e488c6121cb.zip
Add patch to build with --as-needed by Kevin Pyle, closes bug #248197.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/wavemon/ChangeLog8
-rw-r--r--net-wireless/wavemon/files/wavemon-0.4.0b-asneeded.patch20
-rw-r--r--net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild5
3 files changed, 29 insertions, 4 deletions
diff --git a/net-wireless/wavemon/ChangeLog b/net-wireless/wavemon/ChangeLog
index 054a324a276d..a3f2fb79ddae 100644
--- a/net-wireless/wavemon/ChangeLog
+++ b/net-wireless/wavemon/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/wavemon
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.25 2008/03/12 16:09:40 phreak Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.26 2009/06/02 13:35:50 flameeyes Exp $
+
+ 02 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ wavemon-0.4.0b-r2.ebuild, +files/wavemon-0.4.0b-asneeded.patch:
+ Add patch to build with --as-needed by Kevin Pyle, closes bug #248197.
12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Peter Johanson (latexer, #206688) from metadata.xml.
diff --git a/net-wireless/wavemon/files/wavemon-0.4.0b-asneeded.patch b/net-wireless/wavemon/files/wavemon-0.4.0b-asneeded.patch
new file mode 100644
index 000000000000..b9344ba89fdb
--- /dev/null
+++ b/net-wireless/wavemon/files/wavemon-0.4.0b-asneeded.patch
@@ -0,0 +1,20 @@
+diff -ur a/Makefile.in b/Makefile.in
+--- a/Makefile.in 2002-12-21 08:56:09.000000000 -0600
++++ b/Makefile.in 2009-02-12 23:56:16.000000000 -0600
+@@ -5,7 +5,7 @@
+ mandir = @mandir@
+
+ CC = @CC@
+-LIBS = @LIBS@
++LDLIBS = @LIBS@
+
+ CFLAGS = @CFLAGS@
+
+@@ -14,7 +14,6 @@
+ all: wavemon
+
+ wavemon: wavemon.o $(OBJECTS)
+- $(CC) $(CFLAGS) $(LIBS) -o wavemon wavemon.o $(OBJECTS)
+
+ wavemon.o: wavemon.c defs.h $(OBJECTS)
+
diff --git a/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild b/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild
index b14d5df8d2a9..bc4622e49fed 100644
--- a/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild
+++ b/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild,v 1.5 2007/12/26 10:33:54 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild,v 1.6 2009/06/02 13:35:50 flameeyes Exp $
inherit toolchain-funcs flag-o-matic eutils linux-info
@@ -21,6 +21,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/wavemon-gcc-fixes.patch
epatch "${FILESDIR}"/${P}-includes.patch
+ epatch "${FILESDIR}"/${P}-asneeded.patch
append-flags "-I${KV_DIR}/include"