public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/refind/
Date: Wed, 28 Aug 2024 15:14:23 +0000 (UTC)	[thread overview]
Message-ID: <1724858040.08a69400ed7aa6f0b3d522f012924f547f31e4bb.ceamac@gentoo> (raw)

commit:     08a69400ed7aa6f0b3d522f012924f547f31e4bb
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 15:07:24 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> 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 <ceamac <AT> 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 '\<pei-' || die "${OBJCOPY} (objcopy) does not support EFI target"
+		LC_ALL=C "${OBJCOPY}" --help | grep -q '\<pei-' || die "${OBJCOPY} (objcopy) does not support EFI target"
 
 		tc-is-gcc || tc-is-clang || die "Unsupported compiler"
 	fi
@@ -106,9 +106,9 @@ src_compile() {
 	# see the comments in "${FILESDIR}"/${P}-fix-freestanding-on-musl.patch
 	tc-export CC
 	if tc-is-gcc; then
-		local -x CPPINCLUDEDIR=$(LANG=C ${CC} -print-search-dirs 2> /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
 


             reply	other threads:[~2024-08-28 15:14 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-28 15:14 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-25  9:51 [gentoo-commits] repo/gentoo:master commit in: sys-boot/refind/ Arthur Zamarin
2024-08-25  9:51 Arthur Zamarin
2024-06-17 19:01 Viorel Munteanu
2024-06-05  4:47 Viorel Munteanu
2024-06-05  4:47 Viorel Munteanu
2024-06-05  4:47 Viorel Munteanu
2023-10-17  6:09 Joonas Niilola
2023-10-17  6:09 Joonas Niilola
2023-09-07  9:58 Viorel Munteanu
2023-07-20 11:33 Andrew Ammerlaan
2022-05-18 15:30 Joonas Niilola
2021-12-07  6:26 Agostino Sarubbo
2021-12-05 22:04 Sam James
2021-03-23  9:21 Joonas Niilola
2021-01-20  9:29 Sam James
2021-01-19 14:24 Sam James
2021-01-10 18:30 Sam James
2020-12-07  7:36 Joonas Niilola
2020-07-30 21:12 Marek Szuba
2020-04-30 12:00 Joonas Niilola
2020-04-30 12:00 Joonas Niilola
2019-11-12 10:45 Agostino Sarubbo
2019-11-12 10:05 Agostino Sarubbo
2018-09-02  0:46 Sam Jorna
2018-08-30  9:12 Sam Jorna
2018-08-30  9:12 Sam Jorna
2018-04-27  9:23 Sam Jorna
2018-04-23 13:01 Sam Jorna
2018-03-25 17:57 Mikle Kolyada
2018-01-03 13:43 Patrice Clement
2017-07-11 13:10 Michael Palimaka
2017-05-15 11:02 Sam Jorna
2017-04-28  0:36 Sam Jorna
2017-04-23 23:29 Sam Jorna
2016-12-22  5:10 Aaron Bauman
2016-12-14 22:38 Sam Jorna
2016-12-14 22:38 Sam Jorna
2016-12-14 22:38 Sam Jorna
2016-11-06 16:24 Göktürk Yüksek
2016-11-06 16:24 Göktürk Yüksek
2016-11-06 16:24 Göktürk Yüksek
2016-10-25  2:48 Göktürk Yüksek
2016-10-25  2:48 Göktürk Yüksek
2016-10-25  2:48 Göktürk Yüksek
2016-10-25  2:48 Göktürk Yüksek
2016-03-15  8:53 Sam Jorna
2016-03-14 23:37 Sam Jorna
2015-09-21  3:54 Ian Delaney
2015-09-17 14:46 Ian Delaney
2015-08-26  5:15 Ian Delaney
2015-08-26  3:46 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1724858040.08a69400ed7aa6f0b3d522f012924f547f31e4bb.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox