From ea98bad1ced3477e08c7676ae6ae199a2a85a4c9 Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Sun, 21 Dec 2008 23:01:33 +0000 Subject: fix building with --as-needed, bug #247741 (Portage version: 2.1.6.2/cvs/Linux 2.6.28-rc9 i686) --- media-gfx/yafray/ChangeLog | 6 +++++- media-gfx/yafray/files/yafray-0.0.9-asneeded.patch | 11 +++++++++++ media-gfx/yafray/yafray-0.0.9-r1.ebuild | 5 +++-- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 media-gfx/yafray/files/yafray-0.0.9-asneeded.patch (limited to 'media-gfx') diff --git a/media-gfx/yafray/ChangeLog b/media-gfx/yafray/ChangeLog index 0a89d07917db..84f4fa0d652d 100644 --- a/media-gfx/yafray/ChangeLog +++ b/media-gfx/yafray/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/yafray # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.50 2008/04/29 15:00:19 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/ChangeLog,v 1.51 2008/12/21 23:01:33 maekke Exp $ + + 21 Dec 2008; Markus Meier + +files/yafray-0.0.9-asneeded.patch, yafray-0.0.9-r1.ebuild: + fix building with --as-needed, bug #247741 29 Apr 2008; Samuli Suominen +files/yafray-0.0.9-gcc43.patch, yafray-0.0.9-r1.ebuild: diff --git a/media-gfx/yafray/files/yafray-0.0.9-asneeded.patch b/media-gfx/yafray/files/yafray-0.0.9-asneeded.patch new file mode 100644 index 000000000000..bbd0e5ab5130 --- /dev/null +++ b/media-gfx/yafray/files/yafray-0.0.9-asneeded.patch @@ -0,0 +1,11 @@ +diff -ru yafray.orig/src/yafraycore/SConscript yafray/src/yafraycore/SConscript +--- yafray.orig/src/yafraycore/SConscript 2008-12-21 23:57:48.000000000 +0100 ++++ yafray/src/yafraycore/SConscript 2008-12-21 23:57:34.000000000 +0100 +@@ -48,6 +48,6 @@ + + core_env.Install(config.libpath, + core_env.SharedLibrary (target='yafraycore', source=source_files, +- LIBS=config.pthread.libs + config.exr.libs)) ++ LIBS=config.pthread.libs + config.exr.libs + config.dynload.libs)) + + core_env.Alias('install_core',config.libpath) diff --git a/media-gfx/yafray/yafray-0.0.9-r1.ebuild b/media-gfx/yafray/yafray-0.0.9-r1.ebuild index e074d808d255..6d9d7e067a53 100644 --- a/media-gfx/yafray/yafray-0.0.9-r1.ebuild +++ b/media-gfx/yafray/yafray-0.0.9-r1.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/media-gfx/yafray/yafray-0.0.9-r1.ebuild,v 1.6 2008/04/29 15:00:19 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/yafray-0.0.9-r1.ebuild,v 1.7 2008/12/21 23:01:33 maekke Exp $ inherit eutils multilib python @@ -27,7 +27,8 @@ src_unpack() { epatch "${FILESDIR}"/${P}-scons.patch \ "${FILESDIR}"/${P}-libdir.patch \ "${FILESDIR}"/${P}-etc.patch \ - "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-asneeded.patch sed -i -e "s:-O3:${CXXFLAGS} -fsigned-char:g" *-settings.py || die "sed failed." } -- cgit v1.2.3-65-gdbad