You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch

49 lines
2.0 KiB

diff -NrU5 bashmark-0.6.2.orig/Benchmark.cpp bashmark-0.6.2/Benchmark.cpp
--- bashmark-0.6.2.orig/Benchmark.cpp 2008-06-29 11:53:07.000000000 +0200
+++ bashmark-0.6.2/Benchmark.cpp 2008-06-29 11:54:02.000000000 +0200
@@ -15,11 +15,11 @@
* *
* You should have received a copy of the GNU General Public License *
* along with this software; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
***************************************************************************/
-#include <string>
+#include <cstring>
#include "Benchmark.hpp"
#include "Stopwatch.hpp"
#include "Main.hpp"
diff -NrU5 bashmark-0.6.2.orig/main.cpp bashmark-0.6.2/main.cpp
--- bashmark-0.6.2.orig/main.cpp 2008-06-29 11:53:07.000000000 +0200
+++ bashmark-0.6.2/main.cpp 2008-06-29 11:56:40.000000000 +0200
@@ -17,10 +17,11 @@
* along with this software; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
***************************************************************************/
#include <sstream>
+#include <cstring>
using std::stringstream;
#include "Output.hpp"
#include "Sysinfo.hpp"
diff -NrU5 bashmark-0.6.2.orig/Sysinfo.cpp bashmark-0.6.2/Sysinfo.cpp
--- bashmark-0.6.2.orig/Sysinfo.cpp 2008-06-29 11:53:07.000000000 +0200
+++ bashmark-0.6.2/Sysinfo.cpp 2008-06-29 11:55:58.000000000 +0200
@@ -15,11 +15,12 @@
* *
* You should have received a copy of the GNU General Public License *
* along with this software; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
***************************************************************************/
-
+
+#include <cstring>
#include "Sysinfo.hpp"
using Geno::Sysinfo;
using Geno::Cpu_Info;