summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2016-02-13 16:08:40 +0100
committerUlrich Müller <ulm@gentoo.org>2016-02-13 16:13:03 +0100
commitcd295fdf21d6afba9018e518f92e6e8c94e1c457 (patch)
treed2619224860118b794097c325cc5f872eddc48b7 /dev-lisp/sbcl
parentdev-libs/xapian: remove older unstable in 1.2 branch (diff)
downloadgentoo-cd295fdf21d6afba9018e518f92e6e8c94e1c457.tar.gz
gentoo-cd295fdf21d6afba9018e518f92e6e8c94e1c457.tar.bz2
gentoo-cd295fdf21d6afba9018e518f92e6e8c94e1c457.zip
dev-lisp/sbcl: Fix sandbox violation.
Thanks to Nicholas Vinson <nvinson234@gmail.com> for the original patch. Bug: 572478 Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-lisp/sbcl')
-rw-r--r--dev-lisp/sbcl/sbcl-1.1.18.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-lisp/sbcl/sbcl-1.1.18.ebuild b/dev-lisp/sbcl/sbcl-1.1.18.ebuild
index 0b14a4900a21..926737a771d6 100644
--- a/dev-lisp/sbcl/sbcl-1.1.18.ebuild
+++ b/dev-lisp/sbcl/sbcl-1.1.18.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -108,6 +108,10 @@ src_prepare() {
# #define SBCL_HOME ...
sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
+ # Avoid sandbox violation, bug #572478
+ sed -i -e "/(sb-posix:rmdir /s%\"/\"%\"${WORKDIR}\"%" \
+ contrib/sb-posix/posix-tests.lisp || die
+
find . -type f -name .cvsignore -delete
}