From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A6CD1382C5 for ; Thu, 31 Dec 2020 20:21:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53DF8E0863; Thu, 31 Dec 2020 20:21:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AB65E0863 for ; Thu, 31 Dec 2020 20:21:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0089E340D88 for ; Thu, 31 Dec 2020 20:21:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9645253 for ; Thu, 31 Dec 2020 20:21:51 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1609446105.9ebe8ef1151790213ca655507bf18d38fe06b96e.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ccache/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/ccache/ccache-4.1.ebuild X-VCS-Directories: dev-util/ccache/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 9ebe8ef1151790213ca655507bf18d38fe06b96e X-VCS-Branch: master Date: Thu, 31 Dec 2020 20:21:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8cafe4e1-8619-40e4-b8c3-ae1e10c2391a X-Archives-Hash: 07d20a3ef2823f3c783c276eefea3d37 commit: 9ebe8ef1151790213ca655507bf18d38fe06b96e Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Dec 31 20:21:25 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Dec 31 20:21:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebe8ef1 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 gentoo.org> dev-util/ccache/ccache-4.1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-util/ccache/ccache-4.1.ebuild b/dev-util/ccache/ccache-4.1.ebuild index 0e307b9c722..11644f232e3 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 }