1 |
font.eclass has some racy code in pkg_postinst() that changes |
2 |
permissions of already-installed files. I want to remove that to avoid |
3 |
the race. This is the only package that installs fonts with permissions |
4 |
other than 0644, so override that in src_install(). |
5 |
|
6 |
The claim in font.eclass is that fontconfig segfaults if fonts are |
7 |
unreadable, but that claim dates to 2007 (bug #187774). Additionally, |
8 |
0444 is readable, but who knows. Let's just keep things working how they |
9 |
have been since 2007. |
10 |
|
11 |
Bug: https://bugs.gentoo.org/187774 |
12 |
Signed-off-by: Matt Turner <mattst88@g.o> |
13 |
--- |
14 |
media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild |
18 |
index 70ad93064b5..f24d067c412 100644 |
19 |
--- a/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild |
20 |
+++ b/media-fonts/x11fonts-jmk/x11fonts-jmk-3.0-r4.ebuild |
21 |
@@ -32,6 +32,6 @@ src_configure() { |
22 |
} |
23 |
|
24 |
src_install() { |
25 |
- emake install INSTALL_DIR="${ED}/usr/share/fonts/jmk" |
26 |
+ emake install INSTDATFLAGS="-m 0644" INSTALL_DIR="${ED}/usr/share/fonts/jmk" |
27 |
einstalldocs |
28 |
} |
29 |
-- |
30 |
2.37.4 |