summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Malm <gengor@gentoo.org>2009-03-24 16:44:52 +0000
committerGordon Malm <gengor@gentoo.org>2009-03-24 16:44:52 +0000
commitaf28bcafd2d70f785528736aae3ae0f858f45c51 (patch)
tree75f5e643d424758f009c9ba560ea7a3c9f54f0d7 /media-gfx
parentclean up (diff)
downloadgentoo-2-af28bcafd2d70f785528736aae3ae0f858f45c51.tar.gz
gentoo-2-af28bcafd2d70f785528736aae3ae0f858f45c51.tar.bz2
gentoo-2-af28bcafd2d70f785528736aae3ae0f858f45c51.zip
Add dropped C++ stack-protector filtering in media-gfx/k3d-0.7.11.0
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/k3d/ChangeLog5
-rw-r--r--media-gfx/k3d/k3d-0.7.11.0.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog
index 20fe4b8d90a3..efe23a09a033 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.42 2009/03/23 22:58:33 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.43 2009/03/24 16:44:52 gengor Exp $
+
+ 24 Mar 2009; Gordon Malm <gengor@gentoo.org> k3d-0.7.11.0.ebuild:
+ Add dropped C++ stack-protector filtering.
*k3d-0.7.11.0 (23 Mar 2009)
diff --git a/media-gfx/k3d/k3d-0.7.11.0.ebuild b/media-gfx/k3d/k3d-0.7.11.0.ebuild
index bdf6c06a01fa..f6c6d645f953 100644
--- a/media-gfx/k3d/k3d-0.7.11.0.ebuild
+++ b/media-gfx/k3d/k3d-0.7.11.0.ebuild
@@ -1,6 +1,6 @@
# 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.7.11.0.ebuild,v 1.2 2009/03/24 15:02:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.7.11.0.ebuild,v 1.3 2009/03/24 16:44:52 gengor Exp $
EAPI="2"
@@ -72,6 +72,10 @@ src_prepare() {
}
src_configure() {
+ if [[ $(gcc-major-version) -lt 4 ]]; then
+ append-cxxflags -fno-stack-protector
+ fi
+
mycmakeargs="
-DK3D_BUILD_SVG_IO_MODULE=ON
-DK3D_BUILD_CGAL_MODULE=OFF