diff options
Diffstat (limited to 'testing/lightdm/uclibc-language.patch')
-rw-r--r-- | testing/lightdm/uclibc-language.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/lightdm/uclibc-language.patch b/testing/lightdm/uclibc-language.patch new file mode 100644 index 0000000000..b1bbe79701 --- /dev/null +++ b/testing/lightdm/uclibc-language.patch @@ -0,0 +1,34 @@ +--- ./liblightdm-gobject/language.c.orig ++++ ./liblightdm-gobject/language.c +@@ -225,6 +225,7 @@ + + if (!priv->name) + { ++#ifndef __UCLIBC__ + gchar *locale = get_locale_name (priv->code); + if (locale) + { +@@ -238,6 +239,7 @@ + + setlocale (LC_ALL, current); + } ++#endif + if (!priv->name) + { + gchar **tokens = g_strsplit_set (priv->code, "_.@", 2); +@@ -268,6 +270,7 @@ + + if (!priv->territory && strchr (priv->code, '_')) + { ++#ifndef __UCLIBC__ + gchar *locale = get_locale_name (priv->code); + if (locale) + { +@@ -281,6 +284,7 @@ + + setlocale (LC_ALL, current); + } ++#endif + if (!priv->territory) + { + gchar **tokens = g_strsplit_set (priv->code, "_.@", 3); |