From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/idesk/files: idesk-0.7.5-glibc-2.12.patch |
Date: | Fri, 20 Aug 2010 07:31:05 |
Message-Id: | 20100820073101.5A0812004E@flycatcher.gentoo.org |
1 | xarthisius 10/08/20 07:31:01 |
2 | |
3 | Added: idesk-0.7.5-glibc-2.12.patch |
4 | Log: |
5 | Fix building with GLIBC 2.12 wrt bug 333151. Thanks to Charlie Gehlin <charlie@××××××.com> for report and scavenging patch. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-misc/idesk/files/idesk-0.7.5-glibc-2.12.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/idesk/files/idesk-0.7.5-glibc-2.12.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/idesk/files/idesk-0.7.5-glibc-2.12.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: idesk-0.7.5-glibc-2.12.patch |
15 | =================================================================== |
16 | Fixes build with glibc-2.12 |
17 | |
18 | http://bugs.gentoo.org/333515 |
19 | https://bugs.launchpad.net/ubuntu/+source/idesk/+bug/592602 |
20 | |
21 | Patch written by Bhavani Shankar <bhavi@××××××.com> |
22 | --- idesk-0.7.5/src/DesktopConfig.cpp |
23 | +++ idesk-0.7.5/src/DesktopConfig.cpp |
24 | @@ -24,6 +24,8 @@ |
25 | |
26 | #include "DesktopConfig.h" |
27 | #include "Util.h" |
28 | +#include <sys/types.h> // For stat() |
29 | +#include <sys/stat.h> // For stat() |
30 | |
31 | //the initilizer list just sets the program defaults for non-necessary options |
32 | DesktopConfig::DesktopConfig(Database db, string ideskrcFile) : |