summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-01-07 02:06:02 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-01-07 02:06:02 +0000
commitdfed2e1015dc69550e671e6eecb8f78809d54b2e (patch)
tree145295ee31046df7f6e2d681a328cbcd1ebdcadb /sci-visualization
parentAdding abort for tests run as root, behaviour has changed upstream. (diff)
downloadgentoo-2-dfed2e1015dc69550e671e6eecb8f78809d54b2e.tar.gz
gentoo-2-dfed2e1015dc69550e671e6eecb8f78809d54b2e.tar.bz2
gentoo-2-dfed2e1015dc69550e671e6eecb8f78809d54b2e.zip
Fixed possible sandbox violation (bug #299954)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/extrema/ChangeLog5
-rw-r--r--sci-visualization/extrema/extrema-4.4.2.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/sci-visualization/extrema/ChangeLog b/sci-visualization/extrema/ChangeLog
index 52902f15e1af..b61ff53f5d9d 100644
--- a/sci-visualization/extrema/ChangeLog
+++ b/sci-visualization/extrema/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-visualization/extrema
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/ChangeLog,v 1.6 2010/01/06 04:13:27 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/ChangeLog,v 1.7 2010/01/07 02:06:02 bicatali Exp $
+
+ 07 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> extrema-4.4.2.ebuild:
+ Fixed possible sandbox violation (bug #299954)
*extrema-4.4.2 (06 Jan 2010)
diff --git a/sci-visualization/extrema/extrema-4.4.2.ebuild b/sci-visualization/extrema/extrema-4.4.2.ebuild
index a9e2caaab5dc..11f97cf92613 100644
--- a/sci-visualization/extrema/extrema-4.4.2.ebuild
+++ b/sci-visualization/extrema/extrema-4.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/extrema-4.4.2.ebuild,v 1.1 2010/01/06 04:13:27 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/extrema/extrema-4.4.2.ebuild,v 1.2 2010/01/07 02:06:02 bicatali Exp $
EAPI=2
WX_GTK_VER="2.8"
@@ -20,6 +20,12 @@ RDEPEND="!sci-chemistry/psi
dev-util/desktop-file-utils"
DEPEND="${RDEPEND}"
+src_prepare() {
+ sed -i \
+ -e 's/$(pkgdatadir)/$(DESTDIR)$(pkgdatadir)/g' \
+ src/Makefile.in || die
+}
+
src_configure() {
# extrema cannot be compiled with versions of minuit
# available in portage