Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2023 19:34:29 GMT
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1dd6bda76a5c - main - Mk/Uses/kde.mk: set up UTF-8 locale as default on build environment (+)
Message-ID:  <202303171934.32HJYTCt070314@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1dd6bda76a5cf1dddd2615b2d0ee48e4fcf738f2

commit 1dd6bda76a5cf1dddd2615b2d0ee48e4fcf738f2
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-03-17 19:23:47 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-03-17 19:23:47 +0000

    Mk/Uses/kde.mk: set up UTF-8 locale as default on build environment (+)
    
    Recently we discovered a bug with plasma apps parsing non-latin strings when
    pure C locale was used at compile stage which leads to save and display
    broken strings full of "?" symbols.
    
    Fix it by set a full UTF-8 locale for the build process.
    
    Idea:   arrowd
    Tests:  fluffy
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 Mk/Uses/kde.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Mk/Uses/kde.mk b/Mk/Uses/kde.mk
index 716e0abef6ba..21a541dc5a66 100644
--- a/Mk/Uses/kde.mk
+++ b/Mk/Uses/kde.mk
@@ -189,6 +189,8 @@ IGNORE?=		unknown CATEGORY value '${_KDE_CATEGORY}' #'
 .    endif #defined(_KDE_CATEGORY)
 
 # ==============================================================================
+# === SET UP LOCALE ENVIRONMENT =================================================
+USE_LOCALE?=	en_US.UTF-8
 
 # === SET UP CMAKE ENVIRONMENT =================================================
 # Help cmake to find files when testing ports with non-default PREFIX.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303171934.32HJYTCt070314>