diff options
author | Gordon Malm <gengor@gentoo.org> | 2009-01-27 02:41:11 +0000 |
---|---|---|
committer | Gordon Malm <gengor@gentoo.org> | 2009-01-27 02:41:11 +0000 |
commit | b814b03a8495407155ed5c399f0eb8d86abe04f4 (patch) | |
tree | 089cdefc2908a89e104f7d1a742882fbfaf4ac64 /media-gfx | |
parent | Version bump (diff) | |
download | gentoo-2-b814b03a8495407155ed5c399f0eb8d86abe04f4.tar.gz gentoo-2-b814b03a8495407155ed5c399f0eb8d86abe04f4.tar.bz2 gentoo-2-b814b03a8495407155ed5c399f0eb8d86abe04f4.zip |
Disable stack-protector on C++ for <gcc-4, bug #230119.
(Portage version: 2.1.6.4/cvs/Linux 2.6.28-hardened-rc1-2009012401 i686)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/k3d/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/k3d/k3d-0.6.7.0-r1.ebuild | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog index b7147b1508f4..d81ead376998 100644 --- a/media-gfx/k3d/ChangeLog +++ b/media-gfx/k3d/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/k3d # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.38 2009/01/05 17:55:56 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.39 2009/01/27 02:41:11 gengor Exp $ + + 27 Jan 2009; Gordon Malm <gengor@gentoo.org> k3d-0.6.7.0-r1.ebuild: + Disable stack-protector on C++ for <gcc-4, bug #230119. 05 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> -k3d-0.6.7.0.ebuild: remove old, dep-broken ebuild diff --git a/media-gfx/k3d/k3d-0.6.7.0-r1.ebuild b/media-gfx/k3d/k3d-0.6.7.0-r1.ebuild index 2d8e04cf044e..b3756930bd68 100644 --- a/media-gfx/k3d/k3d-0.6.7.0-r1.ebuild +++ b/media-gfx/k3d/k3d-0.6.7.0-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.6.7.0-r1.ebuild,v 1.1 2008/05/13 07:24:50 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.6.7.0-r1.ebuild,v 1.2 2009/01/27 02:41:11 gengor Exp $ -inherit eutils +inherit flag-o-matic DESCRIPTION="A free 3D modeling, animation, and rendering system" HOMEPAGE="http://www.k-3d.org/" @@ -50,6 +50,10 @@ src_unpack() { } src_compile() { + if [[ $(gcc-major-version) -lt 4 ]]; then + append-cxxflags -fno-stack-protector + fi + local myconf="--with-ngui" if use expat || ! use xml ; then myconf="--without-libxml2" |