Skip to content

Commit

Permalink
dev-lang/gprolog: do not write outside of sandbox during tests
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
keriharris committed Sep 1, 2018
1 parent 30e6853 commit 1b2c707
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dev-lang/gprolog/files/gprolog-1.4.5-check-boot.patch
Original file line number Diff line number Diff line change
@@ -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)
}


1 change: 1 addition & 0 deletions dev-lang/gprolog/gprolog-1.4.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1b2c707

Please sign in to comment.