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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 969801581FB for ; Wed, 28 Aug 2024 15:14:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3D7CE2A44; Wed, 28 Aug 2024 15:14:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACC72E29E9 for ; Wed, 28 Aug 2024 15:14:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E299233BF3B for ; Wed, 28 Aug 2024 15:14:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4442514D8 for ; Wed, 28 Aug 2024 15:14:23 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1724858040.08a69400ed7aa6f0b3d522f012924f547f31e4bb.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/refind/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/refind/refind-0.14.2-r2.ebuild X-VCS-Directories: sys-boot/refind/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 08a69400ed7aa6f0b3d522f012924f547f31e4bb X-VCS-Branch: master Date: Wed, 28 Aug 2024 15:14:23 +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: 3b1105ee-a11b-49b8-8b4a-6c08e6bf6f84 X-Archives-Hash: 1b78bc3d1e467eea94edfb4522ac6d9a commit: 08a69400ed7aa6f0b3d522f012924f547f31e4bb Author: Viorel Munteanu gentoo org> AuthorDate: Wed Aug 28 15:07:24 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Wed Aug 28 15:14:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a69400 sys-boot/refind: fix compilation on different locales Bug: https://bugs.gentoo.org/938580 Signed-off-by: Viorel Munteanu gentoo.org> sys-boot/refind/refind-0.14.2-r2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-boot/refind/refind-0.14.2-r2.ebuild b/sys-boot/refind/refind-0.14.2-r2.ebuild index 5755a725f1bf..cad032fc658b 100644 --- a/sys-boot/refind/refind-0.14.2-r2.ebuild +++ b/sys-boot/refind/refind-0.14.2-r2.ebuild @@ -41,7 +41,7 @@ checktools() { # llvm-objcopy does not support EFI target, try to use binutils objcopy or fail tc-export OBJCOPY OBJCOPY="${OBJCOPY/llvm-/}" - LANG=C LC_ALL=C "${OBJCOPY}" --help | grep -q '\ /dev/null | grep ^install: | cut -f2 -d' ')/include + local -x CPPINCLUDEDIR=$(LC_ALL=C ${CC} -print-search-dirs 2> /dev/null | grep ^install: | cut -f2 -d' ')/include elif tc-is-clang; then - local -x CPPINCLUDEDIR=$(LANG=C ${CC} -print-resource-dir 2> /dev/null)/include + local -x CPPINCLUDEDIR=$(LC_ALL=C ${CC} -print-resource-dir 2> /dev/null)/include local -x EXTRACFLAGS=-D__DEFINED_wchar_t fi