From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-plugins/wmbattery/files: wmbattery-2.43-upower-0.99.patch |
Date: | Thu, 19 Jun 2014 19:16:33 |
Message-Id: | 20140619191629.DD0ED2004F@flycatcher.gentoo.org |
1 | ssuominen 14/06/19 19:16:29 |
2 | |
3 | Added: wmbattery-2.43-upower-0.99.patch |
4 | Log: |
5 | Version bump; patch for excluding obsolete UPower API. |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-plugins/wmbattery/files/wmbattery-2.43-upower-0.99.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/files/wmbattery-2.43-upower-0.99.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/files/wmbattery-2.43-upower-0.99.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: wmbattery-2.43-upower-0.99.patch |
16 | =================================================================== |
17 | --- upower.c |
18 | +++ upower.c |
19 | @@ -62,8 +62,10 @@ |
20 | return 0; |
21 | } |
22 | |
23 | + #if !UP_CHECK_VERSION(0, 9, 99) |
24 | /* Allow a battery that was not present before to appear. */ |
25 | up_client_enumerate_devices_sync(up, NULL, NULL); |
26 | + #endif |
27 | |
28 | devices = up_client_get_devices(up); |