From: | "Gilles Dartiguelongue (eva)" <eva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-volume-manager/files: gnome-volume-manager-2.24.0-consolekit03.patch |
Date: | Mon, 01 Dec 2008 23:36:15 |
Message-Id: | E1L7IJD-0002f4-6s@stork.gentoo.org |
1 | eva 08/12/01 23:36:07 |
2 | |
3 | Added: gnome-volume-manager-2.24.0-consolekit03.patch |
4 | Log: |
5 | Bump to 2.24.0-r1, add compatibility patch for consolekit 0.3, bug #248471. |
6 | (Portage version: 2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 gnome-base/gnome-volume-manager/files/gnome-volume-manager-2.24.0-consolekit03.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-volume-manager/files/gnome-volume-manager-2.24.0-consolekit03.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-base/gnome-volume-manager/files/gnome-volume-manager-2.24.0-consolekit03.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: gnome-volume-manager-2.24.0-consolekit03.patch |
15 | =================================================================== |
16 | # |
17 | # This patch deals with DBus API changes in consolekit 0.3 |
18 | # https://bugs.gentoo.org/show_bug.cgi?id=248471 |
19 | # |
20 | --- a/src/manager.c 2008-11-21 17:54:00.000000000 -0800 |
21 | +++ b/src/manager.c 2008-11-21 17:54:25.000000000 -0800 |
22 | @@ -3932,9 +3932,11 @@ |
23 | |
24 | dbus_message_iter_init (reply, &iter); |
25 | if (dbus_message_iter_get_arg_type (&iter) != DBUS_TYPE_INT32) { |
26 | - dbg ("Unrecognized response to ConsoleKit GetUnixUser request\n"); |
27 | - dbus_message_unref (reply); |
28 | - return FALSE; |
29 | + if (dbus_message_iter_get_arg_type (&iter) != DBUS_TYPE_UINT32) { |
30 | + dbg ("Unrecognized response to ConsoleKit GetUnixUser request\n"); |
31 | + dbus_message_unref (reply); |
32 | + return FALSE; |
33 | + } |
34 | } |
35 | |
36 | dbus_message_iter_get_basic (&iter, uid); |