aboutsummaryrefslogtreecommitdiffstats
path: root/community/lightdm/musl-updwtmpx.patch
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2019-03-24 13:42:01 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-25 15:15:14 +0200
commitf73cb5c48ec938020c59024cc75f7b7d19ec9b31 (patch)
treee25c4cddff01e939600844c749cd5764574999ee /community/lightdm/musl-updwtmpx.patch
parent107990a8c66b184eb8c116f2697fc76627e8b722 (diff)
downloadaports-f73cb5c48ec938020c59024cc75f7b7d19ec9b31.tar.bz2
aports-f73cb5c48ec938020c59024cc75f7b7d19ec9b31.tar.xz
testing/lightdm* -> community/
lightdm* : move from testing lightdm-gtk-greeter: upgrade to 2.0.6
Diffstat (limited to 'community/lightdm/musl-updwtmpx.patch')
-rw-r--r--community/lightdm/musl-updwtmpx.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/lightdm/musl-updwtmpx.patch b/community/lightdm/musl-updwtmpx.patch
new file mode 100644
index 0000000000..1b21a46774
--- /dev/null
+++ b/community/lightdm/musl-updwtmpx.patch
@@ -0,0 +1,13 @@
+--- a/src/session-child.c
++++ b/src/session-child.c
+@@ -193,8 +193,8 @@
+ }
+
+ /* GNU provides this but we can't rely on that so let's make our own version */
+-static void
+-updwtmpx (const gchar *wtmp_file, struct utmpx *ut)
++void
++updwtmpx (const char *wtmp_file, const struct utmpx *ut)
+ {
+ struct utmp u;
+ memset (&u, 0, sizeof (u));