From 0a5c254fdca9235a62e59a1d18bca089ee916b90 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Thu, 16 Aug 2007 00:54:11 +0000 Subject: Force proper permissions on font files to prevent application segfaults. Bug #187774 --- eclass/font.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'eclass') 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 @@ -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 -- cgit v1.2.3-65-gdbad