Gentoo Archives: gentoo-commits

From: "Michael Palimaka (kensington)" <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-misc/krcstat/files: krcstat-0.7.3-gcc-4.7.patch
Date: Tue, 03 Jul 2012 13:23:04
Message-Id: 20120703132254.75B262004C@flycatcher.gentoo.org
1 kensington 12/07/03 13:22:54
2
3 Added: krcstat-0.7.3-gcc-4.7.patch
4 Log:
5 Fix build with GCC 4.7, wrt bug #424567.
6
7 (Portage version: 2.1.11.4/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 kde-misc/krcstat/files/krcstat-0.7.3-gcc-4.7.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/krcstat/files/krcstat-0.7.3-gcc-4.7.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/krcstat/files/krcstat-0.7.3-gcc-4.7.patch?rev=1.1&content-type=text/plain
14
15 Index: krcstat-0.7.3-gcc-4.7.patch
16 ===================================================================
17 --- src/krcstat.cpp
18 +++ src/krcstat.cpp
19 @@ -58,6 +58,7 @@
20 #include <fstream>
21 #include <stdlib.h>
22 #include <errno.h>
23 +#include <unistd.h>
24 #include <sys/stat.h>
25 #include <sys/types.h>