Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/upower/files: upower-0.9.5-linux-headers-2.6.36.patch
Date: Sat, 29 Jan 2011 17:05:52
Message-Id: 20110129170538.488BF20057@flycatcher.gentoo.org
1 ssuominen 11/01/29 17:05:38
2
3 Added: upower-0.9.5-linux-headers-2.6.36.patch
4 Log:
5 Fix building with Linux >= 2.6.36 wrt #352335.
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-power/upower/files/upower-0.9.5-linux-headers-2.6.36.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/files/upower-0.9.5-linux-headers-2.6.36.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/upower/files/upower-0.9.5-linux-headers-2.6.36.patch?rev=1.1&content-type=text/plain
14
15 Index: upower-0.9.5-linux-headers-2.6.36.patch
16 ===================================================================
17 http://cgit.freedesktop.org/upower/commit/?id=04dd349103ac1db8660d5c4fd86e91e3b488650c
18
19 --- src/linux/sysfs-utils.c
20 +++ src/linux/sysfs-utils.c
21 @@ -36,6 +36,7 @@
22 #include <fcntl.h>
23 #include <pwd.h>
24 #include <grp.h>
25 +#include <stdint.h>
26 #include <linux/fs.h>
27 #include <sys/ioctl.h>
28 #include <glib.h>