Skip to content

Commit

Permalink
dev-lisp/sbcl: Fix sandbox violation.
Browse files Browse the repository at this point in the history
Thanks to Nicholas Vinson <[email protected]> for the original patch.

Bug: 572478

Package-Manager: portage-2.2.27
  • Loading branch information
ulm committed Feb 13, 2016
1 parent a138981 commit cd295fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev-lisp/sbcl/sbcl-1.1.18.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit cd295fd

Please sign in to comment.