diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-31 20:21:25 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-31 20:21:45 +0000 |
commit | 9ebe8ef1151790213ca655507bf18d38fe06b96e (patch) | |
tree | b253eaa1f60901b329577853aefbca5106502af2 /dev-util | |
parent | sys-process/bpytop-1.0.54: Version bump (diff) | |
download | gentoo-9ebe8ef1151790213ca655507bf18d38fe06b96e.tar.gz gentoo-9ebe8ef1151790213ca655507bf18d38fe06b96e.tar.bz2 gentoo-9ebe8ef1151790213ca655507bf18d38fe06b96e.zip |
dev-util/ccache: Avoid non-ASCII in man pages
Some locales, like LANG=fr_FR.iso885915@euro can't handle
UTF-8 single and double quotes. Interestingly LANG=C can
handle it. Let's stick to ASCII variants.
Reported-by: Christophe PEREZ
Closes: https://bugs.gentoo.org/762814
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/ccache/ccache-4.1.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-util/ccache/ccache-4.1.ebuild b/dev-util/ccache/ccache-4.1.ebuild index 0e307b9c7221..11644f232e31 100644 --- a/dev-util/ccache/ccache-4.1.ebuild +++ b/dev-util/ccache/ccache-4.1.ebuild @@ -46,6 +46,14 @@ src_prepare() { -e "/^EPREFIX=/s:'':'${EPREFIX}':" \ "${FILESDIR}"/ccache-config-3 > ccache-config || die + # Avoid non-ASCII double quotes as they fail on + # LANG=fr_FR.iso885915@euro: #762814. + sed \ + -e 's/\xE2\x80\x99/'\''/g' \ + -e 's/\xE2\x80\x9C/"/g' \ + -e 's/\xE2\x80\x9D/"/g' \ + -i doc/MANUAL.adoc || die + # mainly used in tests tc-export CC OBJDUMP } |