aports/testing/lightdm/musl-updwtmpx.patch
Taner Tas 1930b07bb5 testing/lightdm: Upgrade to 1.26.0, improve abuild
* Clarify license
* Allow null passwords
* Improve APKBUILD, update patches
* Add -openrc subpackage
2018-07-19 09:48:05 +03:00

14 lines
344 B
Diff

--- 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));