[arch-commits] Commit in accountsservice/trunk (32bit-crash.patch PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Dec 13 09:38:40 UTC 2012
Date: Thursday, December 13, 2012 @ 04:38:40
Author: heftig
Revision: 173211
0.6.30
Modified:
accountsservice/trunk/PKGBUILD
Deleted:
accountsservice/trunk/32bit-crash.patch
-------------------+
32bit-crash.patch | 26 --------------------------
PKGBUILD | 12 +++++-------
2 files changed, 5 insertions(+), 33 deletions(-)
Deleted: 32bit-crash.patch
===================================================================
--- 32bit-crash.patch 2012-12-13 04:54:54 UTC (rev 173210)
+++ 32bit-crash.patch 2012-12-13 09:38:40 UTC (rev 173211)
@@ -1,26 +0,0 @@
-From 4d5166d1833e42d81b854374aa6e73f83a67a70e Mon Sep 17 00:00:00 2001
-From: Matthias Clasen <mclasen at redhat.com>
-Date: Tue, 27 Nov 2012 23:30:45 +0000
-Subject: Fix a crash on 32bit systems
-
-The login-frequency property of the User interface is defined
-as uint64 type. Therefore, when setting it with g_object_set,
-a 64bit value is collected, and passing an int might lead to
-bad things.
-https://bugs.freedesktop.org/show_bug.cgi?id=57343
----
-diff --git a/src/daemon.c b/src/daemon.c
-index ed3a114..4d6f3ab 100644
---- a/src/daemon.c
-+++ b/src/daemon.c
-@@ -207,7 +207,7 @@ daemon_local_user_is_excluded (Daemon *daemon, const gchar *username, const gcha
- #ifdef HAVE_UTMPX_H
-
- typedef struct {
-- int frequency;
-+ guint64 frequency;
- gint64 time;
- GList *previous_logins;
- } UserAccounting;
---
-cgit v0.9.0.2-2-gbebe
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-12-13 04:54:54 UTC (rev 173210)
+++ PKGBUILD 2012-12-13 09:38:40 UTC (rev 173211)
@@ -2,8 +2,8 @@
# Maintainer: Ionut Biru <ibiru at archlinux.org>
pkgname=accountsservice
-pkgver=0.6.29
-pkgrel=2
+pkgver=0.6.30
+pkgrel=1
pkgdesc="D-Bus interface for user account query and manipulation"
arch=(i686 x86_64)
url="http://www.freedesktop.org/software/accountsservice/"
@@ -11,15 +11,13 @@
depends=('glib2' 'polkit' 'systemd')
makedepends=('intltool' 'gobject-introspection' 'vala')
options=('!libtool')
-source=($url/$pkgname-$pkgver.tar.xz more-exclusions.patch 32bit-crash.patch)
-md5sums=('396c16f39711e24bb7cc685a170befa3'
- '1d5cf127e5aac407fe7c37b2f4fd503c'
- '2d364b82e7bb1df4aaae70e9ac5be0ba')
+source=($url/$pkgname-$pkgver.tar.xz more-exclusions.patch)
+md5sums=('8955b53b0ac9036b3f6a91202ff954f1'
+ '1d5cf127e5aac407fe7c37b2f4fd503c')
build() {
cd $pkgname-$pkgver
patch -Np1 -i ../more-exclusions.patch
- patch -Np1 -i ../32bit-crash.patch
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/accountsservice \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
More information about the arch-commits
mailing list