aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/musl-language.patch
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2018-04-29 21:23:23 +0300
committerTimo Teräs <timo.teras@iki.fi>2018-07-19 09:48:05 +0300
commit1930b07bb595290270526f94c53591876e0b56c7 (patch)
tree6130c65fe7faee091d666c1c6efdb85e7e172c15 /testing/lightdm/musl-language.patch
parentb5a9835750e46d565040f7dea69c64d577bac166 (diff)
downloadaports-1930b07bb595290270526f94c53591876e0b56c7.tar.bz2
aports-1930b07bb595290270526f94c53591876e0b56c7.tar.xz
testing/lightdm: Upgrade to 1.26.0, improve abuild
* Clarify license * Allow null passwords * Improve APKBUILD, update patches * Add -openrc subpackage
Diffstat (limited to 'testing/lightdm/musl-language.patch')
-rw-r--r--testing/lightdm/musl-language.patch34
1 files changed, 18 insertions, 16 deletions
diff --git a/testing/lightdm/musl-language.patch b/testing/lightdm/musl-language.patch
index 8908bbc511..442e7fb9d5 100644
--- a/testing/lightdm/musl-language.patch
+++ b/testing/lightdm/musl-language.patch
@@ -1,34 +1,36 @@
---- ./liblightdm-gobject/language.c.orig
-+++ ./liblightdm-gobject/language.c
-@@ -224,6 +224,7 @@
+--- a/liblightdm-gobject/language.c
++++ b/liblightdm-gobject/language.c
+@@ -210,6 +210,7 @@
if (!priv->name)
{
-+#if HAVE_LC_IDENTIFICATION
- gchar *locale = get_locale_name (priv->code);
++ #if HAVE_LC_IDENTIFICATION
+ g_autofree gchar *locale = get_locale_name (priv->code);
if (locale)
{
-@@ -238,6 +239,7 @@
+@@ -223,6 +224,8 @@
+
setlocale (LC_ALL, current);
}
++ #endif
++
if (!priv->name)
-+#endif
{
- gchar **tokens = g_strsplit_set (priv->code, "_.@", 2);
- priv->name = g_strdup (tokens[0]);
-@@ -267,6 +269,7 @@
+ g_auto(GStrv) tokens = g_strsplit_set (priv->code, "_.@", 2);
+@@ -250,6 +253,7 @@
if (!priv->territory && strchr (priv->code, '_'))
{
-+#if HAVE_LC_IDENTITIFICATION
- gchar *locale = get_locale_name (priv->code);
++ #if HAVE_LC_IDENTITIFICATION
+ g_autofree gchar *locale = get_locale_name (priv->code);
if (locale)
{
-@@ -281,6 +284,7 @@
+@@ -263,6 +267,8 @@
+
setlocale (LC_ALL, current);
}
++ #endif
++
if (!priv->territory)
-+#endif
{
- gchar **tokens = g_strsplit_set (priv->code, "_.@", 3);
- priv->territory = g_strdup (tokens[1]);
+ g_auto(GStrv) tokens = g_strsplit_set (priv->code, "_.@", 3);