1 |
loki_val 08/06/29 10:00:28 |
2 |
|
3 |
Added: bashmark-0.6.2-gcc43.patch |
4 |
Log: |
5 |
Fix for gcc-4.3, drop old. Bug #226383. |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: bashmark-0.6.2-gcc43.patch |
15 |
=================================================================== |
16 |
diff -NrU5 bashmark-0.6.2.orig/Benchmark.cpp bashmark-0.6.2/Benchmark.cpp |
17 |
--- bashmark-0.6.2.orig/Benchmark.cpp 2008-06-29 11:53:07.000000000 +0200 |
18 |
+++ bashmark-0.6.2/Benchmark.cpp 2008-06-29 11:54:02.000000000 +0200 |
19 |
@@ -15,11 +15,11 @@ |
20 |
* * |
21 |
* You should have received a copy of the GNU General Public License * |
22 |
* along with this software; if not, write to the Free Software * |
23 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * |
24 |
***************************************************************************/ |
25 |
-#include <string> |
26 |
+#include <cstring> |
27 |
#include "Benchmark.hpp" |
28 |
#include "Stopwatch.hpp" |
29 |
#include "Main.hpp" |
30 |
|
31 |
|
32 |
diff -NrU5 bashmark-0.6.2.orig/main.cpp bashmark-0.6.2/main.cpp |
33 |
--- bashmark-0.6.2.orig/main.cpp 2008-06-29 11:53:07.000000000 +0200 |
34 |
+++ bashmark-0.6.2/main.cpp 2008-06-29 11:56:40.000000000 +0200 |
35 |
@@ -17,10 +17,11 @@ |
36 |
* along with this software; if not, write to the Free Software * |
37 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * |
38 |
***************************************************************************/ |
39 |
|
40 |
#include <sstream> |
41 |
+#include <cstring> |
42 |
using std::stringstream; |
43 |
|
44 |
|
45 |
#include "Output.hpp" |
46 |
#include "Sysinfo.hpp" |
47 |
diff -NrU5 bashmark-0.6.2.orig/Sysinfo.cpp bashmark-0.6.2/Sysinfo.cpp |
48 |
--- bashmark-0.6.2.orig/Sysinfo.cpp 2008-06-29 11:53:07.000000000 +0200 |
49 |
+++ bashmark-0.6.2/Sysinfo.cpp 2008-06-29 11:55:58.000000000 +0200 |
50 |
@@ -15,11 +15,12 @@ |
51 |
* * |
52 |
* You should have received a copy of the GNU General Public License * |
53 |
* along with this software; if not, write to the Free Software * |
54 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * |
55 |
***************************************************************************/ |
56 |
- |
57 |
+ |
58 |
+#include <cstring> |
59 |
#include "Sysinfo.hpp" |
60 |
|
61 |
using Geno::Sysinfo; |
62 |
using Geno::Cpu_Info; |
63 |
|
64 |
|
65 |
|
66 |
|
67 |
-- |
68 |
gentoo-commits@l.g.o mailing list |