gentoo-ebuilds/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch
Sam James 862d64a1f5
app-benchmarks/bashmark: EAPI 7, respect CXX
Signed-off-by: Sam James <sam@gentoo.org>
2021-04-02 00:11:45 +01:00

45 lines
1.5 KiB
Diff

--- a/Benchmark.cpp
+++ b/Benchmark.cpp
@@ -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"
--- a/main.cpp
+++ b/main.cpp
@@ -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"
--- a/Sysinfo.cpp
+++ b/Sysinfo.cpp
@@ -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;