dev-lang/gprolog: do not write outside of sandbox during tests

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Keri Harris
2018-09-01 13:04:22 +02:00
parent 30e6853140
commit 1b2c707195
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- gprolog-1.4.5.orig/src/Pl2Wam/check_boot 2012-12-07 03:09:23.000000000 +0100
+++ gprolog-1.4.5/src/Pl2Wam/check_boot 2018-09-01 12:56:38.385276112 +0200
@@ -13,7 +13,7 @@
rm_make() {
rm -f $*
- make >/tmp/make.log 2>&1 || (echo /tmp/make.log ; exit 1)
+ make >make.log 2>&1 || (echo make.log ; exit 1)
}

View File

@@ -23,6 +23,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-links.patch
epatch "${FILESDIR}"/${P}-nodocs.patch
epatch "${FILESDIR}"/${P}-txt-file.patch
epatch "${FILESDIR}"/${P}-check-boot.patch
eapply_user
}