commit:     5abcac7a564f555ad2d414de3e1c8d6c62fc19d3
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  7 21:11:27 2018 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Sat Apr  7 21:11:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5abcac7a

dev-lisp/gcl: Set VARTEXFONTS to prevent sandbox violations

Closes: https://bugs.gentoo.org/652024
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-lisp/gcl/gcl-2.6.10.ebuild | 11 ++++++-----
 dev-lisp/gcl/gcl-2.6.11.ebuild | 11 ++++++-----
 dev-lisp/gcl/gcl-2.6.12.ebuild | 10 +++++-----
 3 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/dev-lisp/gcl/gcl-2.6.10.ebuild b/dev-lisp/gcl/gcl-2.6.10.ebuild
index 6b2fd2d6d60..55fc3ee2e42 100644
--- a/dev-lisp/gcl/gcl-2.6.10.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.10.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
+
 inherit elisp-common eutils flag-o-matic
 
 DESCRIPTION="GNU Common Lisp"
@@ -17,10 +18,10 @@ IUSE="+ansi athena emacs +readline tk X"
 RESTRICT="strip"
 
 RDEPEND="emacs? ( virtual/emacs )
-       readline? ( sys-libs/readline )
+       readline? ( sys-libs/readline:= )
        athena? ( x11-libs/libXaw )
-       >=dev-libs/gmp-4.1
-       tk? ( dev-lang/tk )
+       >=dev-libs/gmp-4.1:=
+       tk? ( dev-lang/tk:= )
        X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
        virtual/latex-base"
 DEPEND="${RDEPEND}
@@ -85,7 +86,7 @@ src_configure() {
 
 src_compile() {
        emake -j1
-       emake -C info gcl.info
+       VARTEXFONTS="${T}"/fonts emake -C info gcl.info
        if use athena; then
                pushd xgcl-2 > /dev/null
                pdflatex dwdoc.tex

diff --git a/dev-lisp/gcl/gcl-2.6.11.ebuild b/dev-lisp/gcl/gcl-2.6.11.ebuild
index a49d2af852f..3a5b2a82ad5 100644
--- a/dev-lisp/gcl/gcl-2.6.11.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.11.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
+
 inherit elisp-common eutils flag-o-matic
 
 DESCRIPTION="GNU Common Lisp"
@@ -17,10 +18,10 @@ IUSE="+ansi athena emacs +readline tk X"
 RESTRICT="strip"
 
 RDEPEND="emacs? ( virtual/emacs )
-       readline? ( sys-libs/readline )
+       readline? ( sys-libs/readline:= )
        athena? ( x11-libs/libXaw )
-       >=dev-libs/gmp-4.1
-       tk? ( dev-lang/tk )
+       >=dev-libs/gmp-4.1:=
+       tk? ( dev-lang/tk:= )
        X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
        virtual/latex-base"
 DEPEND="${RDEPEND}
@@ -82,7 +83,7 @@ src_configure() {
 
 src_compile() {
        emake -j1
-       emake -C info gcl.info
+       VARTEXFONTS="${T}"/fonts emake -C info gcl.info
        if use athena; then
                pushd xgcl-2 > /dev/null
                pdflatex dwdoc.tex

diff --git a/dev-lisp/gcl/gcl-2.6.12.ebuild b/dev-lisp/gcl/gcl-2.6.12.ebuild
index 1d4449e6009..b8fee9e3528 100644
--- a/dev-lisp/gcl/gcl-2.6.12.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -17,10 +17,10 @@ IUSE="+ansi athena emacs +readline tk X"
 RESTRICT="strip"
 
 RDEPEND="emacs? ( virtual/emacs )
-       readline? ( sys-libs/readline )
+       readline? ( sys-libs/readline:= )
        athena? ( x11-libs/libXaw )
-       >=dev-libs/gmp-4.1
-       tk? ( dev-lang/tk )
+       >=dev-libs/gmp-4.1:=
+       tk? ( dev-lang/tk:= )
        X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
        virtual/latex-base"
 DEPEND="${RDEPEND}
@@ -82,7 +82,7 @@ src_configure() {
 
 src_compile() {
        emake -j1
-       emake -C info gcl.info
+       VARTEXFONTS="${T}"/fonts emake -C info gcl.info
        if use athena; then
                pushd xgcl-2 > /dev/null
                pdflatex dwdoc.tex

Reply via email to