From cd295fdf21d6afba9018e518f92e6e8c94e1c457 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Sat, 13 Feb 2016 16:08:40 +0100 Subject: [PATCH] dev-lisp/sbcl: Fix sandbox violation. Thanks to Nicholas Vinson for the original patch. Bug: 572478 Package-Manager: portage-2.2.27 --- dev-lisp/sbcl/sbcl-1.1.18.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 } -- 2.26.2