Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 718281 Details for
Bug 785406
sys-libs/glibc[compile-locales]: use local locales instead of installed locales
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix USE=compile-locales
0001-sys-libs-glibc-unbreak-USE-compile-locales.patch (text/plain), 1.49 KB, created by
Joakim Tjernlund
on 2021-06-23 18:47:59 UTC
(
hide
)
Description:
fix USE=compile-locales
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2021-06-23 18:47:59 UTC
Size:
1.49 KB
patch
obsolete
>From 1d19e36ea385356b333c07f2005b1fabedcb1ce1 Mon Sep 17 00:00:00 2001 >From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> >Date: Wed, 23 Jun 2021 20:39:58 +0200 >Subject: [PATCH] sys-libs/glibc: unbreak USE=compile-locales > >USE=compile-locales has two errors: >1) Looks for locale.gen in the build tree where there is none. >2) Looks for locale src in the host tree, which may be old or non existent. > >This fixes those problems by saving a copy of EROOT in pkg_setup for later >use when building locales. Also point to locale src using I18NPATH variable > >Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> >--- > sys-libs/glibc/glibc-2.33.ebuild | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/sys-libs/glibc/glibc-2.33.ebuild b/sys-libs/glibc/glibc-2.33.ebuild >index c97ef6b4c66..b825881b66c 100644 >--- a/sys-libs/glibc/glibc-2.33.ebuild >+++ b/sys-libs/glibc/glibc-2.33.ebuild >@@ -724,6 +724,7 @@ pkg_pretend() { > pkg_setup() { > # see bug 682570 > [[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup >+ LOCALE_GEN_ROOT="${EROOT}" # For locale-gen later > } > > # src_unpack >@@ -1175,9 +1176,12 @@ run_locale_gen() { > if [[ "${root}" == "--inplace-glibc" ]] ; then > inplace="--inplace-glibc" > root="$2" >+ # Use locale src in build tree >+ export I18NPATH="${ED}"/usr/share/i18n > fi > >- local locale_list="${root}/etc/locale.gen" >+ # Always use hosts(EROOT) locale config >+ local locale_list="${LOCALE_GEN_ROOT}/etc/locale.gen" > > pushd "${ED}"/$(get_libdir) >/dev/null > >-- >2.31.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 785406
:
718281
|
720090