1 |
commit: 93a409d4eb7f22d1bc4644b02a93af2bf3c017b0 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 15:52:42 2016 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 15:58:08 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a409d4 |
7 |
|
8 |
app-doc/doxygen: Avoid a sandbox violation with (bug #564944) |
9 |
|
10 |
Export VARTEXFONTS="${T}/fonts" such that kpathsea does not try to write to |
11 |
/var/cache/fonts/pk/... during doc generation. |
12 |
|
13 |
Package-Manager: portage-2.2.26 |
14 |
|
15 |
app-doc/doxygen/doxygen-1.8.10-r1.ebuild | 6 ++++-- |
16 |
app-doc/doxygen/doxygen-1.8.11.ebuild | 6 ++++-- |
17 |
app-doc/doxygen/doxygen-9999.ebuild | 6 ++++-- |
18 |
3 files changed, 12 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/app-doc/doxygen/doxygen-1.8.10-r1.ebuild b/app-doc/doxygen/doxygen-1.8.10-r1.ebuild |
21 |
index 86e2e32..17b7a1c 100644 |
22 |
--- a/app-doc/doxygen/doxygen-1.8.10-r1.ebuild |
23 |
+++ b/app-doc/doxygen/doxygen-1.8.10-r1.ebuild |
24 |
@@ -139,9 +139,11 @@ src_compile() { |
25 |
cmake-utils_src_compile |
26 |
|
27 |
# generate html and pdf documents. errors here are not considered |
28 |
- # fatal, hence the ewarn message TeX's font caching in /var/cache/fonts |
29 |
- # causes sandbox warnings, so we allow it. |
30 |
+ # fatal, hence the ewarn message. |
31 |
+ |
32 |
if use doc; then |
33 |
+ export VARTEXFONTS="${T}/fonts" # bug #564944 |
34 |
+ |
35 |
if ! use dot; then |
36 |
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \ |
37 |
{Doxyfile,doc/Doxyfile} \ |
38 |
|
39 |
diff --git a/app-doc/doxygen/doxygen-1.8.11.ebuild b/app-doc/doxygen/doxygen-1.8.11.ebuild |
40 |
index fefba30..cdc0d9a 100644 |
41 |
--- a/app-doc/doxygen/doxygen-1.8.11.ebuild |
42 |
+++ b/app-doc/doxygen/doxygen-1.8.11.ebuild |
43 |
@@ -141,9 +141,11 @@ src_compile() { |
44 |
cmake-utils_src_compile |
45 |
|
46 |
# generate html and pdf documents. errors here are not considered |
47 |
- # fatal, hence the ewarn message TeX's font caching in /var/cache/fonts |
48 |
- # causes sandbox warnings, so we allow it. |
49 |
+ # fatal, hence the ewarn message. |
50 |
+ |
51 |
if use doc; then |
52 |
+ export VARTEXFONTS="${T}/fonts" # bug #564944 |
53 |
+ |
54 |
if ! use dot; then |
55 |
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \ |
56 |
{Doxyfile,doc/Doxyfile} \ |
57 |
|
58 |
diff --git a/app-doc/doxygen/doxygen-9999.ebuild b/app-doc/doxygen/doxygen-9999.ebuild |
59 |
index 6be87bc..24343d4 100644 |
60 |
--- a/app-doc/doxygen/doxygen-9999.ebuild |
61 |
+++ b/app-doc/doxygen/doxygen-9999.ebuild |
62 |
@@ -140,9 +140,11 @@ src_compile() { |
63 |
cmake-utils_src_compile |
64 |
|
65 |
# generate html and pdf documents. errors here are not considered |
66 |
- # fatal, hence the ewarn message TeX's font caching in /var/cache/fonts |
67 |
- # causes sandbox warnings, so we allow it. |
68 |
+ # fatal, hence the ewarn message. |
69 |
+ |
70 |
if use doc; then |
71 |
+ export VARTEXFONTS="${T}/fonts" # bug #564944 |
72 |
+ |
73 |
if ! use dot; then |
74 |
sed -i -e "s/HAVE_DOT = YES/HAVE_DOT = NO/" \ |
75 |
{Doxyfile,doc/Doxyfile} \ |