Annotation of /trunk/idesk/patches/idesk-0.7.5-glibc-2.12.patch
Parent Directory | Revision Log
Revision 1310 -
(hide annotations)
(download)
Fri Apr 8 10:35:35 2011 UTC (13 years, 5 months ago) by niro
File size: 544 byte(s)
Fri Apr 8 10:35:35 2011 UTC (13 years, 5 months ago) by niro
File size: 544 byte(s)
added patches
1 | niro | 1310 | Fixes build with glibc-2.12 |
2 | |||
3 | http://bugs.gentoo.org/333515 | ||
4 | https://bugs.launchpad.net/ubuntu/+source/idesk/+bug/592602 | ||
5 | |||
6 | Patch written by Bhavani Shankar <bhavi@ubuntu.com> | ||
7 | --- idesk-0.7.5/src/DesktopConfig.cpp | ||
8 | +++ idesk-0.7.5/src/DesktopConfig.cpp | ||
9 | @@ -24,6 +24,8 @@ | ||
10 | |||
11 | #include "DesktopConfig.h" | ||
12 | #include "Util.h" | ||
13 | +#include <sys/types.h> // For stat() | ||
14 | +#include <sys/stat.h> // For stat() | ||
15 | |||
16 | //the initilizer list just sets the program defaults for non-necessary options | ||
17 | DesktopConfig::DesktopConfig(Database db, string ideskrcFile) : |