summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2007-08-16 00:54:11 +0000
committerRyan Hill <dirtyepic@gentoo.org>2007-08-16 00:54:11 +0000
commit0a5c254fdca9235a62e59a1d18bca089ee916b90 (patch)
tree829985324c04139cf2603748fa130f1c7eff2028 /eclass
parentversion bump (diff)
downloadgentoo-2-0a5c254fdca9235a62e59a1d18bca089ee916b90.tar.gz
gentoo-2-0a5c254fdca9235a62e59a1d18bca089ee916b90.tar.bz2
gentoo-2-0a5c254fdca9235a62e59a1d18bca089ee916b90.zip
Force proper permissions on font files to prevent application segfaults. Bug #187774
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index afa99af2cea9..9fbbe37aa086 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.26 2007/08/04 06:04:07 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.27 2007/08/16 00:54:11 dirtyepic Exp $
# Author: foser <foser@gentoo.org>
@@ -83,6 +83,8 @@ font_src_install() {
insinto "${FONTDIR}"
for suffix in ${FONT_SUFFIX}; do
+ # ensure fonts are world readable to prevent fontconfig segfaults
+ chmod 0644 *.${suffix}
doins *.${suffix}
done