From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/qwriter/files: qwriter-0.1.9-gcc47.patch |
Date: | Mon, 09 Jul 2012 17:56:19 |
Message-Id: | 20120709175605.25AF520063@flycatcher.gentoo.org |
1 | hwoarang 12/07/09 17:56:05 |
2 | |
3 | Added: qwriter-0.1.9-gcc47.patch |
4 | Log: |
5 | Fix compilation with gcc-4.7. Bug #425252 |
6 | |
7 | (Portage version: 2.1.11.5/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-editors/qwriter/files/qwriter-0.1.9-gcc47.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/qwriter/files/qwriter-0.1.9-gcc47.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/qwriter/files/qwriter-0.1.9-gcc47.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: qwriter-0.1.9-gcc47.patch |
16 | =================================================================== |
17 | https://bugs.gentoo.org/show_bug.cgi?id=425252 |
18 | Index: qwriter-0.1.9-src/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp |
19 | =================================================================== |
20 | --- qwriter-0.1.9-src.orig/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp |
21 | +++ qwriter-0.1.9-src/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp |
22 | @@ -56,6 +56,7 @@ typedef BOOL(WINAPI*PProcessIdToSessionI |
23 | static PProcessIdToSessionId pProcessIdToSessionId = 0; |
24 | #endif |
25 | #if defined(Q_OS_UNIX) |
26 | +#include <unistd.h> |
27 | #include <time.h> |
28 | #endif |