diff --git a/srcpkgs/lightdm/patches/musl-updwtmpx.patch b/srcpkgs/lightdm/patches/musl-updwtmpx.patch index 5552245004..3f4f326372 100644 --- a/srcpkgs/lightdm/patches/musl-updwtmpx.patch +++ b/srcpkgs/lightdm/patches/musl-updwtmpx.patch @@ -1,6 +1,6 @@ ---- ./src/session-child.c.orig 2015-09-11 18:01:00.262401041 -0400 -+++ ./src/session-child.c 2015-09-11 18:02:23.249398508 -0400 -@@ -199,7 +199,7 @@ +--- ./src/session-child.c.orig 2015-10-02 17:03:43.838859203 -0400 ++++ ./src/session-child.c 2015-10-02 17:06:55.192871600 -0400 +@@ -203,7 +203,7 @@ /* GNU provides this but we can't rely on that so let's make our own version */ static void @@ -9,30 +9,30 @@ { struct utmp u; -@@ -385,7 +385,7 @@ +@@ -415,7 +415,7 @@ ut.ut_tv.tv_sec = tv.tv_sec; ut.ut_tv.tv_usec = tv.tv_usec; - updwtmpx ("/var/log/btmp", &ut); + _updwtmpx ("/var/log/btmp", &ut); - } - /* Check account is valid */ -@@ -700,7 +700,7 @@ + #if HAVE_LIBAUDIT + audit_event (AUDIT_USER_LOGIN, username, -1, remote_host_name, tty, FALSE); +@@ -734,7 +734,7 @@ if (!pututxline (&ut)) g_printerr ("Failed to write utmpx: %s\n", strerror (errno)); endutxent (); - updwtmpx ("/var/log/wtmp", &ut); + _updwtmpx ("/var/log/wtmp", &ut); - } - waitpid (child_pid, &return_code, 0); -@@ -736,7 +736,7 @@ + #if HAVE_LIBAUDIT + audit_event (AUDIT_USER_LOGIN, username, uid, remote_host_name, tty, TRUE); +@@ -774,7 +774,7 @@ if (!pututxline (&ut)) g_printerr ("Failed to write utmpx: %s\n", strerror (errno)); endutxent (); - updwtmpx ("/var/log/wtmp", &ut); + _updwtmpx ("/var/log/wtmp", &ut); - } - } + #if HAVE_LIBAUDIT + audit_event (AUDIT_USER_LOGOUT, username, uid, remote_host_name, tty, TRUE); diff --git a/srcpkgs/lightdm/template b/srcpkgs/lightdm/template index 1218f3fe1a..dc0d44d543 100644 --- a/srcpkgs/lightdm/template +++ b/srcpkgs/lightdm/template @@ -1,7 +1,7 @@ # Template file for 'lightdm' pkgname=lightdm -version=1.16.0 -revision=2 +version=1.16.3 +revision=1 build_pie=yes build_style=gnu-configure configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter @@ -12,7 +12,7 @@ maintainer="Juan RP " license="GPL-3, LGPL-3" homepage="https://launchpad.net/lightdm" distfiles="https://launchpad.net/lightdm/${version%.*}/$version/+download/$pkgname-$version.tar.xz" -checksum=b2e31beed0c3045bce6119617e96f18e9ee3540582f61fac5aca9697e747abc6 +checksum=c88b0ea63949724f807f5835f1a8a9468a4102e2dfad902d539f7f6bd0bb5b4b build_options="gir" hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"