Gentoo Archives: gentoo-commits

From: "Michael Palimaka (kensington)" <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/znotes/files: znotes-0.4.5-gcc-4.7.patch
Date: Thu, 30 Aug 2012 16:28:52
Message-Id: 20120830162843.209C120C95@flycatcher.gentoo.org
1 kensington 12/08/30 16:28:43
2
3 Added: znotes-0.4.5-gcc-4.7.patch
4 Log:
5 Fix build with GCC 4.7, wrt bug #431796. Add upstream metadata.
6
7 (Portage version: 2.1.11.12/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-editors/znotes/files/znotes-0.4.5-gcc-4.7.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/znotes/files/znotes-0.4.5-gcc-4.7.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/znotes/files/znotes-0.4.5-gcc-4.7.patch?rev=1.1&content-type=text/plain
14
15 Index: znotes-0.4.5-gcc-4.7.patch
16 ===================================================================
17 From 9cb09430444e36415e887317525a24e542e135fb Mon Sep 17 00:00:00 2001
18 From: Michael Palimaka <kensington@g.o>
19 Date: Fri, 31 Aug 2012 02:15:30 +1000
20 Subject: [PATCH] Fix build with GCC 4.7.
21
22 ---
23 single_inst/qtlocalpeer.cpp | 1 +
24 1 file changed, 1 insertion(+)
25
26 diff --git a/single_inst/qtlocalpeer.cpp b/single_inst/qtlocalpeer.cpp
27 index 6d7c24f..f9663c9 100644
28 --- a/single_inst/qtlocalpeer.cpp
29 +++ b/single_inst/qtlocalpeer.cpp
30 @@ -50,6 +50,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
31 #endif
32 #if defined(Q_OS_UNIX)
33 #include <time.h>
34 +#include <unistd.h>
35 #endif
36
37 namespace QtLP_Private {
38 --
39 1.7.12