diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/eds/evolution-data-server/0005-Use-LC_MESSAGES-for-address-localization-when-LC_ADD.patch')
-rw-r--r-- | meta-gnome/recipes-gnome/eds/evolution-data-server/0005-Use-LC_MESSAGES-for-address-localization-when-LC_ADD.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/eds/evolution-data-server/0005-Use-LC_MESSAGES-for-address-localization-when-LC_ADD.patch b/meta-gnome/recipes-gnome/eds/evolution-data-server/0005-Use-LC_MESSAGES-for-address-localization-when-LC_ADD.patch new file mode 100644 index 000000000..55ab5a7fc --- /dev/null +++ b/meta-gnome/recipes-gnome/eds/evolution-data-server/0005-Use-LC_MESSAGES-for-address-localization-when-LC_ADD.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 95425206e7317e59b7ca06d7f838ad357cdd200c Mon Sep 17 00:00:00 2001 | ||
2 | From: Piotr Tworek <tworaz@tworaz.net> | ||
3 | Date: Wed, 14 Aug 2019 00:31:54 +0200 | ||
4 | Subject: [PATCH 5/7] Use LC_MESSAGES for address localization when LC_ADDRESS | ||
5 | is not available. | ||
6 | |||
7 | Musl does not define LC_ADDRESS unfortunately. | ||
8 | |||
9 | Upstream-Status: Inappropriate [musl specific] | ||
10 | |||
11 | Signed-off-by: Piotr Tworek <tworaz@tworaz.net> | ||
12 | --- | ||
13 | src/addressbook/libebook-contacts/e-phone-number-private.cpp | 4 ++++ | ||
14 | 1 file changed, 4 insertions(+) | ||
15 | |||
16 | diff --git a/src/addressbook/libebook-contacts/e-phone-number-private.cpp b/src/addressbook/libebook-contacts/e-phone-number-private.cpp | ||
17 | index 4c5aebb..9abcebd 100644 | ||
18 | --- a/src/addressbook/libebook-contacts/e-phone-number-private.cpp | ||
19 | +++ b/src/addressbook/libebook-contacts/e-phone-number-private.cpp | ||
20 | @@ -36,6 +36,10 @@ | ||
21 | #include <phonenumbers/logger.h> | ||
22 | #include <phonenumbers/phonenumberutil.h> | ||
23 | |||
24 | +#ifndef LC_ADDRESS | ||
25 | +#define LC_ADDRESS LC_MESSAGES | ||
26 | +#endif | ||
27 | + | ||
28 | using i18n::phonenumbers::PhoneNumber; | ||
29 | using i18n::phonenumbers::PhoneNumberUtil; | ||
30 | |||
31 | -- | ||
32 | 2.21.0 | ||
33 | |||