* [gentoo-commits] gentoo-x86 commit in app-editors/znotes/files: znotes-0.4.5-gcc-4.7.patch
@ 2012-08-30 16:28 99% Michael Palimaka (kensington)
0 siblings, 0 replies; 1+ results
From: Michael Palimaka (kensington) @ 2012-08-30 16:28 UTC (permalink / raw
To: gentoo-commits
kensington 12/08/30 16:28:43
Added: znotes-0.4.5-gcc-4.7.patch
Log:
Fix build with GCC 4.7, wrt bug #431796. Add upstream metadata.
(Portage version: 2.1.11.12/cvs/Linux x86_64)
Revision Changes Path
1.1 app-editors/znotes/files/znotes-0.4.5-gcc-4.7.patch
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
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
Index: znotes-0.4.5-gcc-4.7.patch
===================================================================
From 9cb09430444e36415e887317525a24e542e135fb Mon Sep 17 00:00:00 2001
From: Michael Palimaka <kensington@gentoo.org>
Date: Fri, 31 Aug 2012 02:15:30 +1000
Subject: [PATCH] Fix build with GCC 4.7.
---
single_inst/qtlocalpeer.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/single_inst/qtlocalpeer.cpp b/single_inst/qtlocalpeer.cpp
index 6d7c24f..f9663c9 100644
--- a/single_inst/qtlocalpeer.cpp
+++ b/single_inst/qtlocalpeer.cpp
@@ -50,6 +50,7 @@ static PProcessIdToSessionId pProcessIdToSessionId = 0;
#endif
#if defined(Q_OS_UNIX)
#include <time.h>
+#include <unistd.h>
#endif
namespace QtLP_Private {
--
1.7.12
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-08-30 16:28 99% [gentoo-commits] gentoo-x86 commit in app-editors/znotes/files: znotes-0.4.5-gcc-4.7.patch Michael Palimaka (kensington)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox