summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-12-21 23:01:33 +0000
committerMarkus Meier <maekke@gentoo.org>2008-12-21 23:01:33 +0000
commitea98bad1ced3477e08c7676ae6ae199a2a85a4c9 (patch)
tree104756c381d0783b61f810df67c91b41a07f670c /media-gfx/yafray
parentBump to 2.24.2. Restored translation of logout dialog and fix bug #249514 and... (diff)
downloadgentoo-2-ea98bad1ced3477e08c7676ae6ae199a2a85a4c9.tar.gz
gentoo-2-ea98bad1ced3477e08c7676ae6ae199a2a85a4c9.tar.bz2
gentoo-2-ea98bad1ced3477e08c7676ae6ae199a2a85a4c9.zip
fix building with --as-needed, bug #247741
(Portage version: 2.1.6.2/cvs/Linux 2.6.28-rc9 i686)
Diffstat (limited to 'media-gfx/yafray')
-rw-r--r--media-gfx/yafray/ChangeLog6
-rw-r--r--media-gfx/yafray/files/yafray-0.0.9-asneeded.patch11
-rw-r--r--media-gfx/yafray/yafray-0.0.9-r1.ebuild5
3 files changed, 19 insertions, 3 deletions
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 <maekke@gentoo.org>
+ +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 <drac@gentoo.org>
+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."
}