summaryrefslogtreecommitdiff
path: root/community/lightdm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-07 03:11:14 -0700
committerroot <root@rshg054.dnsready.net>2013-10-07 03:11:14 -0700
commit9159b8ca1c97a398204d7a7d4d78c3394639bd02 (patch)
treeb5f4812b9eb3f353870fe858d46ca76e9ea1f027 /community/lightdm
parentd3bff0fc1a69eb487b5d45b168c018f44a53b223 (diff)
Mon Oct 7 03:07:04 PDT 2013
Diffstat (limited to 'community/lightdm')
-rwxr-xr-xcommunity/lightdm/PKGBUILD7
-rwxr-xr-xcommunity/lightdm/lightdm-corrupt-x-authority.patch21
2 files changed, 26 insertions, 2 deletions
diff --git a/community/lightdm/PKGBUILD b/community/lightdm/PKGBUILD
index d37d1cd37..6f494e7e6 100755
--- a/community/lightdm/PKGBUILD
+++ b/community/lightdm/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 97333 2013-09-18 07:35:44Z alucryd $
+# $Id: PKGBUILD 98119 2013-10-06 08:35:43Z alucryd $
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Morfeo <morfeo89@hotmail.it>
pkgbase=lightdm
pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5')
pkgver=1.6.2
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="A lightweight display manager"
arch=('i686' 'x86_64')
@@ -19,6 +19,7 @@ source=("https://launchpad.net/lightdm/1.6/${pkgver}/+download/${pkgbase}-${pkgv
'lightdm.pam'
'lightdm-autologin.pam'
'lightdm.rules'
+ 'lightdm-corrupt-x-authority.patch'
'lightdm-default-config.patch'
'lightdm-lock-screen-before-switch.patch'
'lightdm-use-login1.patch'
@@ -29,6 +30,7 @@ sha256sums=('b0de1dc81bb5ce81800feafb9fbc7806ef4dfc83733f0df058568e55b8a045f3'
'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0'
'33e3c3d6e16c8d30756754ea3f31f5457c5be0343686aad287692be34958984a'
'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6'
+ '420aac58151bc441696db0bf234123b934ca8a8798e90db8a59252258e82b5d5'
'15f75ffe122fa86c0c4b3558b9d73e151ba89355093036ffc64110c5e306216b'
'4793eaee5915f5c519f569a4cd9158822d4c57c8b6e405895d2eddf82fa00822'
'a760c7b4d8c0b54bb204b5d6e574c82360a90464ac06042409a17f950d2c1194'
@@ -37,6 +39,7 @@ sha256sums=('b0de1dc81bb5ce81800feafb9fbc7806ef4dfc83733f0df058568e55b8a045f3'
prepare() {
cd ${pkgbase}-${pkgver}
+ patch -Np0 -i ../lightdm-corrupt-x-authority.patch
patch -Np1 -i ../lightdm-default-config.patch
patch -Np1 -i ../lightdm-lock-screen-before-switch.patch
patch -Np0 -i ../lightdm-use-login1.patch
diff --git a/community/lightdm/lightdm-corrupt-x-authority.patch b/community/lightdm/lightdm-corrupt-x-authority.patch
new file mode 100755
index 000000000..f994b394c
--- /dev/null
+++ b/community/lightdm/lightdm-corrupt-x-authority.patch
@@ -0,0 +1,21 @@
+=== modified file 'src/xauthority.c'
+--- src/xauthority.c 2013-09-10 23:14:12 +0000
++++ src/xauthority.c 2013-09-30 02:59:01 +0000
+@@ -237,7 +237,7 @@
+ gboolean
+ x_authority_write (XAuthority *auth, XAuthWriteMode mode, const gchar *filename, GError **error)
+ {
+- gchar *input;
++ gchar *input = NULL;
+ gsize input_length = 0, input_offset = 0;
+ GList *link, *records = NULL;
+ XAuthority *a;
+@@ -328,6 +328,7 @@
+ }
+
+ errno = 0;
++ result = TRUE;
+ for (link = records; link && result; link = link->next)
+ {
+ XAuthority *a = link->data;
+