mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-01 11:51:16 +02:00
35 lines
809 B
Diff
35 lines
809 B
Diff
--- ./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);
|