File 2561-pcre-Add-instructions-for-checking-installing-locale.patch of Package erlang

From f6b31ecb8856c7bfdd7c6a1d55bef59e3b89611f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Tue, 28 Apr 2020 15:33:45 +0200
Subject: [PATCH 1/2] pcre: Add instructions for checking/installing locale

---
 erts/emulator/pcre/README.pcre_update.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/erts/emulator/pcre/README.pcre_update.md b/erts/emulator/pcre/README.pcre_update.md
index 5df1e15bde..7703db614d 100644
--- a/erts/emulator/pcre/README.pcre_update.md
+++ b/erts/emulator/pcre/README.pcre_update.md
@@ -244,7 +244,10 @@ To begin with you will need a default table for Latin-1 characters, so:
 
 Compare it to the pcre\_latin\_1\_table.c in the old version, they
 should not differ in any significant way. If they do, it might be
-that you do not have the sv_SE locale installed on your machine.
+that you do not have the `sv_SE` locale installed on your machine.
+
+You can test whether it's installed with `locale -a | grep sv_SE$`, and
+install with `sudo locale-gen sv_SE && sudo update-locale` if needed.
 
 A good starting point is then to try to find all files in the new
 version of the library that have (probably) the same names as the
-- 
2.16.4

openSUSE Build Service is sponsored by