diff options
author | Matthias Maier <tamiko@gentoo.org> | 2016-02-28 09:52:42 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2016-02-28 09:58:08 -0600 |
commit | 93a409d4eb7f22d1bc4644b02a93af2bf3c017b0 (patch) | |
tree | bf7ae96a1ebb147c44f41d8450c6e391f59e0af4 /app-doc | |
parent | a9c535bd3629892adcbda419ef3f2d13a40b7e60 (diff) | |
download | gentoo-93a409d4eb7f22d1bc4644b02a93af2bf3c017b0.tar.gz gentoo-93a409d4eb7f22d1bc4644b02a93af2bf3c017b0.tar.xz |
app-doc/doxygen: Avoid a sandbox violation with (bug #564944)
Export VARTEXFONTS="${T}/fonts" such that kpathsea does not try to write to
/var/cache/fonts/pk/... during doc generation.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/doxygen/doxygen-1.8.10-r1.ebuild | 6 | ||||
-rw-r--r-- | app-doc/doxygen/doxygen-1.8.11.ebuild | 6 | ||||
-rw-r--r-- | app-doc/doxygen/doxygen-9999.ebuild | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/app-doc/doxygen/doxygen-1.8.10-r1.ebuild b/app-doc/doxygen/doxygen-1.8.10-r1.ebuild index 86e2e326d46..17b7a1c6680 100644 --- a/app-doc/doxygen/doxygen-1.8.10-r1.ebuild +++ b/app-doc/doxygen/doxygen-1.8.10-r1.ebuild @@ -139,9 +139,11 @@ src_compile() { cmake-utils_src_compile # generate html and pdf documents. errors here are not considered - # fatal, hence the ewarn message TeX's font caching in /var/cache/fonts - # causes sandbox warnings, so we allow it. + # fatal, hence the ewarn message. + if use doc; then + export VARTEXFONTS="${T}/fonts" # bug #564944 + if ! use dot; then sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \ {Doxyfile,doc/Doxyfile} \ diff --git a/app-doc/doxygen/doxygen-1.8.11.ebuild b/app-doc/doxygen/doxygen-1.8.11.ebuild index fefba30fbd0..cdc0d9ab9dd 100644 --- a/app-doc/doxygen/doxygen-1.8.11.ebuild +++ b/app-doc/doxygen/doxygen-1.8.11.ebuild @@ -141,9 +141,11 @@ src_compile() { cmake-utils_src_compile # generate html and pdf documents. errors here are not considered - # fatal, hence the ewarn message TeX's font caching in /var/cache/fonts - # causes sandbox warnings, so we allow it. + # fatal, hence the ewarn message. + if use doc; then + export VARTEXFONTS="${T}/fonts" # bug #564944 + if ! use dot; then sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \ {Doxyfile,doc/Doxyfile} \ diff --git a/app-doc/doxygen/doxygen-9999.ebuild b/app-doc/doxygen/doxygen-9999.ebuild index 6be87bcb1ac..24343d46489 100644 --- a/app-doc/doxygen/doxygen-9999.ebuild +++ b/app-doc/doxygen/doxygen-9999.ebuild @@ -140,9 +140,11 @@ src_compile() { cmake-utils_src_compile # generate html and pdf documents. errors here are not considered - # fatal, hence the ewarn message TeX's font caching in /var/cache/fonts - # causes sandbox warnings, so we allow it. + # fatal, hence the ewarn message. + if use doc; then + export VARTEXFONTS="${T}/fonts" # bug #564944 + if ! use dot; then sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \ {Doxyfile,doc/Doxyfile} \ |