Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 720090 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]
v2 fix USE=compile-locales
v2-0001-sys-libs-glibc-unbreak-USE-compile-locales.patch (text/plain), 1.24 KB, created by
Joakim Tjernlund
on 2021-06-29 09:00:12 UTC
(
hide
)
Description:
v2 fix USE=compile-locales
Filename:
MIME Type:
Creator:
Joakim Tjernlund
Created:
2021-06-29 09:00:12 UTC
Size:
1.24 KB
patch
obsolete
>From 4264f58238aef4cdbaeb20052c7dbcd399e6aa3f Mon Sep 17 00:00:00 2001 >From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> >Date: Tue, 29 Jun 2021 10:51:46 +0200 >Subject: [PATCH v2] 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 using ESYSROOT when building locales instead >of EROOT as the latter is not allowed in src_install. >Also point to locale src using I18NPATH variable > >Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> >--- > sys-libs/glibc/glibc-2.33.ebuild | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/sys-libs/glibc/glibc-2.33.ebuild b/sys-libs/glibc/glibc-2.33.ebuild >index c97ef6b4c66..2db16e8e66b 100644 >--- a/sys-libs/glibc/glibc-2.33.ebuild >+++ b/sys-libs/glibc/glibc-2.33.ebuild >@@ -1175,9 +1175,10 @@ run_locale_gen() { > if [[ "${root}" == "--inplace-glibc" ]] ; then > inplace="--inplace-glibc" > root="$2" >+ export I18NPATH="${ED}"/usr/share/i18n > fi > >- local locale_list="${root}/etc/locale.gen" >+ local locale_list="${ESYSROOT}/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