diff options
author | 2010-02-06 13:08:05 +0000 | |
---|---|---|
committer | 2010-02-06 13:08:05 +0000 | |
commit | e4558b61e33556c33e674173bd679e6352c80abe (patch) | |
tree | 6ccb0f304ec1f33e3062c9458054d1e9c5cc8618 /media-libs | |
parent | Stable on amd64 wrt bug #298777 (diff) | |
download | gentoo-2-e4558b61e33556c33e674173bd679e6352c80abe.tar.gz gentoo-2-e4558b61e33556c33e674173bd679e6352c80abe.tar.bz2 gentoo-2-e4558b61e33556c33e674173bd679e6352c80abe.zip |
Fix building with -Wl,--as-needed wrt #247761 by Kacper Kowalik.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/nas/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/nas/files/nas-1.9.2-asneeded.patch | 13 | ||||
-rw-r--r-- | media-libs/nas/nas-1.9.2.ebuild | 12 |
3 files changed, 28 insertions, 5 deletions
diff --git a/media-libs/nas/ChangeLog b/media-libs/nas/ChangeLog index 3646393aa366..5d473efc4223 100644 --- a/media-libs/nas/ChangeLog +++ b/media-libs/nas/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/nas -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.63 2009/07/16 11:41:06 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.64 2010/02/06 13:08:04 ssuominen Exp $ + + 06 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> nas-1.9.2.ebuild, + +files/nas-1.9.2-asneeded.patch: + Fix building with -Wl,--as-needed wrt #247761 by Kacper Kowalik. *nas-1.9.2 (16 Jul 2009) diff --git a/media-libs/nas/files/nas-1.9.2-asneeded.patch b/media-libs/nas/files/nas-1.9.2-asneeded.patch new file mode 100644 index 000000000000..2ac89487a2c8 --- /dev/null +++ b/media-libs/nas/files/nas-1.9.2-asneeded.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/show_bug.cgi?id=247761 + +--- config/NetAudio.tmpl ++++ config/NetAudio.tmpl +@@ -162,7 +162,7 @@ + + AUDIODEPLIBS = $(DEPAULIB) $(DEPXTOOLLIB) $(DEPXLIB) + #ifndef WIN32 +- AUDIOLIBS = $(AULIB) $(XTOOLLIB) $(XLIB) -lm ++ AUDIOLIBS = $(AULIB) $(XTOOLLIB) $(XAUTHLIB) $(XLIB) -lm + #else /* WIN32 */ + AUDIOLIBS = $(AULIB) + #endif /* WIN32 */ diff --git a/media-libs/nas/nas-1.9.2.ebuild b/media-libs/nas/nas-1.9.2.ebuild index 9ba4925b33d7..ae2b5aaf2ba1 100644 --- a/media-libs/nas/nas-1.9.2.ebuild +++ b/media-libs/nas/nas-1.9.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.9.2.ebuild,v 1.1 2009/07/16 11:41:06 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.9.2.ebuild,v 1.2 2010/02/06 13:08:04 ssuominen Exp $ -inherit toolchain-funcs +inherit eutils toolchain-funcs DESCRIPTION="Network Audio System" HOMEPAGE="http://radscan.com/nas.html" @@ -26,6 +26,12 @@ DEPEND="${RDEPEND} app-text/rman x11-proto/xproto" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-asneeded.patch +} + src_compile() { xmkmf || die "xmkmf failed" touch doc/man/lib/tmp.{_man,man} |