aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/musl-updwtmpx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lightdm/musl-updwtmpx.patch')
-rw-r--r--testing/lightdm/musl-updwtmpx.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/lightdm/musl-updwtmpx.patch b/testing/lightdm/musl-updwtmpx.patch
new file mode 100644
index 00000000000..106e366e16b
--- /dev/null
+++ b/testing/lightdm/musl-updwtmpx.patch
@@ -0,0 +1,13 @@
+--- ./src/session-child.c.orig
++++ ./src/session-child.c
+@@ -198,8 +198,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;
+