From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/stk/files: stk-4.3.1-gcc44.patch |
Date: | Thu, 30 Jul 2009 11:28:33 |
Message-Id: | E1MWToF-0007Kh-T6@stork.gentoo.org |
1 | ssuominen 09/07/30 11:28:31 |
2 | |
3 | Added: stk-4.3.1-gcc44.patch |
4 | Log: |
5 | Fix building with GCC 4.4 wrt #277668. |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-libs/stk/files/stk-4.3.1-gcc44.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/stk/files/stk-4.3.1-gcc44.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/stk/files/stk-4.3.1-gcc44.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: stk-4.3.1-gcc44.patch |
15 | =================================================================== |
16 | diff -ur stk-4.3.1.orig/src/FileRead.cpp stk-4.3.1/src/FileRead.cpp |
17 | --- stk-4.3.1.orig/src/FileRead.cpp 2007-12-06 02:58:27.000000000 +0200 |
18 | +++ stk-4.3.1/src/FileRead.cpp 2009-07-30 14:28:03.000000000 +0300 |
19 | @@ -32,6 +32,7 @@ |
20 | #include "FileRead.h" |
21 | #include <sys/stat.h> |
22 | #include <sys/types.h> |
23 | +#include <cstdio> |
24 | #include <cmath> |
25 | |
26 | FileRead :: FileRead() |
27 | diff -ur stk-4.3.1.orig/src/FileWrite.cpp stk-4.3.1/src/FileWrite.cpp |
28 | --- stk-4.3.1.orig/src/FileWrite.cpp 2007-12-06 02:58:27.000000000 +0200 |
29 | +++ stk-4.3.1/src/FileWrite.cpp 2009-07-30 14:28:13.000000000 +0300 |
30 | @@ -22,6 +22,7 @@ |
31 | /***************************************************/ |
32 | |
33 | #include "FileWrite.h" |
34 | +#include <cstdio> |
35 | #include <cmath> |
36 | |
37 | const FileWrite::FILE_TYPE FileWrite :: FILE_RAW = 1; |