[arch-commits] Commit in lightdm/trunk (PKGBUILD lightdm-corrupt-x-authority.patch)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Sun Oct 6 08:35:06 UTC 2013
Date: Sunday, October 6, 2013 @ 10:35:06
Author: alucryd
Revision: 98118
FS#37171: lightdm 1:1.6.2-2
Added:
lightdm/trunk/lightdm-corrupt-x-authority.patch
Modified:
lightdm/trunk/PKGBUILD
-----------------------------------+
PKGBUILD | 5 ++++-
lightdm-corrupt-x-authority.patch | 21 +++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-06 07:41:18 UTC (rev 98117)
+++ PKGBUILD 2013-10-06 08:35:06 UTC (rev 98118)
@@ -5,7 +5,7 @@
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 @@
'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 @@
'e8c4c5fd3b801a390d201166fd1fb9730e78a5c62928768103b870b6bd980ea0'
'33e3c3d6e16c8d30756754ea3f31f5457c5be0343686aad287692be34958984a'
'a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6'
+ '420aac58151bc441696db0bf234123b934ca8a8798e90db8a59252258e82b5d5'
'15f75ffe122fa86c0c4b3558b9d73e151ba89355093036ffc64110c5e306216b'
'4793eaee5915f5c519f569a4cd9158822d4c57c8b6e405895d2eddf82fa00822'
'a760c7b4d8c0b54bb204b5d6e574c82360a90464ac06042409a17f950d2c1194'
@@ -37,6 +39,7 @@
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
Added: lightdm-corrupt-x-authority.patch
===================================================================
--- lightdm-corrupt-x-authority.patch (rev 0)
+++ lightdm-corrupt-x-authority.patch 2013-10-06 08:35:06 UTC (rev 98118)
@@ -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;
+
Property changes on: lightdm/trunk/lightdm-corrupt-x-authority.patch
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
More information about the arch-commits
mailing list