summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2007-08-16 00:54:11 +0000
committerRyan Hill <rhill@gentoo.org>2007-08-16 00:54:11 +0000
commit9a4f7e5cee2a649ca1df9b2098a542002d20758e (patch)
tree3c3d244f3ba892e27ca4b488f5472606504810de /eclass/font.eclass
parentversion bump (diff)
downloadhistorical-9a4f7e5cee2a649ca1df9b2098a542002d20758e.tar.gz
historical-9a4f7e5cee2a649ca1df9b2098a542002d20758e.tar.bz2
historical-9a4f7e5cee2a649ca1df9b2098a542002d20758e.zip
Force proper permissions on font files to prevent application segfaults. Bug #187774
Diffstat (limited to 'eclass/font.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