1 |
ssuominen 09/07/30 07:38:42 |
2 |
|
3 |
Added: itpp-4.0.6-gcc44.patch |
4 |
Log: |
5 |
Fix building with GCC 4.4 wrt #275916. |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-libs/itpp/files/itpp-4.0.6-gcc44.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/files/itpp-4.0.6-gcc44.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/files/itpp-4.0.6-gcc44.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: itpp-4.0.6-gcc44.patch |
15 |
=================================================================== |
16 |
diff -ur itpp-4.0.6.orig/itpp/base/timing.cpp itpp-4.0.6/itpp/base/timing.cpp |
17 |
--- itpp-4.0.6.orig/itpp/base/timing.cpp 2008-10-08 14:52:24.000000000 +0300 |
18 |
+++ itpp-4.0.6/itpp/base/timing.cpp 2009-07-30 10:32:45.000000000 +0300 |
19 |
@@ -27,6 +27,8 @@ |
20 |
* ------------------------------------------------------------------------- |
21 |
*/ |
22 |
|
23 |
+#include <cstdio> |
24 |
+ |
25 |
#ifndef _MSC_VER |
26 |
# include <itpp/config.h> |
27 |
#else |
28 |
diff -ur itpp-4.0.6.orig/itpp/base/vec.cpp itpp-4.0.6/itpp/base/vec.cpp |
29 |
--- itpp-4.0.6.orig/itpp/base/vec.cpp 2008-10-08 14:52:24.000000000 +0300 |
30 |
+++ itpp-4.0.6/itpp/base/vec.cpp 2009-07-30 10:35:45.000000000 +0300 |
31 |
@@ -27,6 +27,8 @@ |
32 |
* ------------------------------------------------------------------------- |
33 |
*/ |
34 |
|
35 |
+#include <cstdio> |
36 |
+ |
37 |
#include <itpp/base/vec.h> |
38 |
#include <itpp/base/converters.h> |
39 |
#include <limits> |
40 |
diff -ur itpp-4.0.6.orig/itpp/fixed/cfix.cpp itpp-4.0.6/itpp/fixed/cfix.cpp |
41 |
--- itpp-4.0.6.orig/itpp/fixed/cfix.cpp 2008-10-08 14:52:24.000000000 +0300 |
42 |
+++ itpp-4.0.6/itpp/fixed/cfix.cpp 2009-07-30 10:37:21.000000000 +0300 |
43 |
@@ -27,6 +27,8 @@ |
44 |
* ------------------------------------------------------------------------- |
45 |
*/ |
46 |
|
47 |
+#include <cstdio> |
48 |
+ |
49 |
#include <itpp/fixed/cfix.h> |
50 |
#include <itpp/base/itassert.h> |
51 |
#include <iostream> |
52 |
diff -ur itpp-4.0.6.orig/itpp/fixed/fix.cpp itpp-4.0.6/itpp/fixed/fix.cpp |
53 |
--- itpp-4.0.6.orig/itpp/fixed/fix.cpp 2008-10-08 14:52:24.000000000 +0300 |
54 |
+++ itpp-4.0.6/itpp/fixed/fix.cpp 2009-07-30 10:37:39.000000000 +0300 |
55 |
@@ -27,6 +27,8 @@ |
56 |
* ------------------------------------------------------------------------- |
57 |
*/ |
58 |
|
59 |
+#include <cstdio> |
60 |
+ |
61 |
#include <itpp/fixed/fix.h> |
62 |
#include <itpp/base/itassert.h> |
63 |
#include <iostream> |
64 |
diff -ur itpp-4.0.6.orig/itpp/fixed/fixed.cpp itpp-4.0.6/itpp/fixed/fixed.cpp |
65 |
--- itpp-4.0.6.orig/itpp/fixed/fixed.cpp 2008-10-08 14:52:24.000000000 +0300 |
66 |
+++ itpp-4.0.6/itpp/fixed/fixed.cpp 2009-07-30 10:37:03.000000000 +0300 |
67 |
@@ -27,6 +27,8 @@ |
68 |
* ------------------------------------------------------------------------- |
69 |
*/ |
70 |
|
71 |
+#include <cstdio> |
72 |
+ |
73 |
#include <itpp/fixed/fixed.h> |