diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-benchmarks/bashmark/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-benchmarks/bashmark/files')
3 files changed, 89 insertions, 0 deletions
diff --git a/app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch b/app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch new file mode 100644 index 000000000000..6c01fd934e5d --- /dev/null +++ b/app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch @@ -0,0 +1,12 @@ +diff -ru bashmark-0.6.2-orig/makefile bashmark-0.6.2/makefile +--- bashmark-0.6.2-orig/makefile 2007-10-08 23:01:06.000000000 +0300 ++++ bashmark-0.6.2/makefile 2007-10-08 23:01:22.000000000 +0300 +@@ -10,7 +10,7 @@ + BIN = bashmark + + $(BIN): $(OBJ) +- $(LD) $(LDFLAGS) $(CXXFLAGS) $(OBJ) -o $(BIN) ++ $(LD) $(CXXFLAGS) $(OBJ) $(LDFLAGS) -o $(BIN) + + + Benchmark.o: diff --git a/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch b/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch new file mode 100644 index 000000000000..625abdab397b --- /dev/null +++ b/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch @@ -0,0 +1,48 @@ +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; + diff --git a/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc47.patch b/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc47.patch new file mode 100644 index 000000000000..cb26d32b1fd6 --- /dev/null +++ b/app-benchmarks/bashmark/files/bashmark-0.6.2-gcc47.patch @@ -0,0 +1,29 @@ + https://bugs.gentoo.org/422577 + + error: 'usleep' was not declared in this scope + + + Benchmark.cpp | 1 + + main.cpp | 1 + + 2 files changed, 2 insertions(+) + +--- a/Benchmark.cpp ++++ b/Benchmark.cpp +@@ -18,6 +18,7 @@ + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * + ***************************************************************************/ + #include <cstring> ++#include <unistd.h> + #include "Benchmark.hpp" + #include "Stopwatch.hpp" + #include "Main.hpp" +--- a/main.cpp ++++ b/main.cpp +@@ -20,6 +20,7 @@ + + #include <sstream> + #include <cstring> ++#include <unistd.h> + using std::stringstream; + + |