aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/uclibc-language.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-30 09:19:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-30 09:19:52 +0000
commit152e22d13fee521a7ad51e50855b2cafd06c8245 (patch)
tree1b3bcb0d33d4ad348e6ccea8f02b832c719851ec /testing/lightdm/uclibc-language.patch
parenta698043a5c26a506b78e6d3c11ffc8114954f653 (diff)
downloadaports-152e22d13fee521a7ad51e50855b2cafd06c8245.tar.bz2
aports-152e22d13fee521a7ad51e50855b2cafd06c8245.tar.xz
testing/lightdm: upgrade to 1.4.0
Diffstat (limited to 'testing/lightdm/uclibc-language.patch')
-rw-r--r--testing/lightdm/uclibc-language.patch34
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);