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 |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-benchmarks/bashmark')
-rw-r--r-- | app-benchmarks/bashmark/Manifest | 8 | ||||
-rw-r--r-- | app-benchmarks/bashmark/bashmark-0.6.2.ebuild | 26 | ||||
-rw-r--r-- | app-benchmarks/bashmark/files/bashmark-0.6.2-as-needed.patch | 12 | ||||
-rw-r--r-- | app-benchmarks/bashmark/files/bashmark-0.6.2-gcc43.patch | 48 | ||||
-rw-r--r-- | app-benchmarks/bashmark/files/bashmark-0.6.2-gcc47.patch | 29 | ||||
-rw-r--r-- | app-benchmarks/bashmark/metadata.xml | 5 |
6 files changed, 128 insertions, 0 deletions
diff --git a/app-benchmarks/bashmark/Manifest b/app-benchmarks/bashmark/Manifest new file mode 100644 index 000000000000..f813879d20d6 --- /dev/null +++ b/app-benchmarks/bashmark/Manifest @@ -0,0 +1,8 @@ +AUX bashmark-0.6.2-as-needed.patch 362 SHA256 e15a0052cb6ca674369f979926cb6974962ec57e810599b50059c92e1c1506af SHA512 123afc84ec7131492054d28d6e41f32730328298fcb5f13055a56277d1c286352a3ff70d759fb307dc960fba413ad31102f04bf5b5df55d6052743d26b7bcad4 WHIRLPOOL 648d5620a55b1c1de8b023b0dcfca82be399fc65681824f30ee32972b301ecce7dc70c45bdfface961eef65d079df75493b7869d4f0a8b47346746a6c4431eda +AUX bashmark-0.6.2-gcc43.patch 2034 SHA256 72018c7fe756c8caa375acb43fc640d4ffb5989e773dcdcea8f370f66af08fb6 SHA512 48d1d0b2924d3640e8939f44989528a9a83fb56e436da21abb9301bbbbed28dbf2fa5e46b6631ac09531ed1ef218da685d21d5b3aeb48f147d56a1aa161bf09c WHIRLPOOL e0d21716c80be20c12310a77d42cb17f19ba9616e29c16dd4f0a6f5eac40dc6b5115001e6c4a85018df8d4ff35768745e3931b18a2421fd26ee4c50f68c518db +AUX bashmark-0.6.2-gcc47.patch 631 SHA256 089fed2a3c7200dbf6a4eaf647079dce41f172d984c43d1c283869fd5d1ea69c SHA512 60b1c1dd529d7dcac0893f1cc5d74e5fdcecb2bfd5735e33c6445d9fbaa843258b9aaaee9627ba98db1f8237f4567b8868f4be483b681b130d5a34943d2d24b6 WHIRLPOOL c79364639556eaa5b65229791dabc7eca053e3e2a0cb80cfa3ad11e698d51c9449c8b6b6494984df5907aac1aadf463db6ce285374458ebb6a315897ad8b0b0d +DIST bashmark-0.6.2.tar.bz2 21944 SHA256 cdef5531069ccb9242a6c0ae3298be85053784782c4fe4a9d9518215dd2f085f SHA512 43935b44c1b871d724aca0e1a6dfd99c73c29ec276c4127186e8dc6c7b27d57554b8b32a7e2372cd0b78eb584df7ee169f51f47e6666f61eaacbe35c5d4074f8 WHIRLPOOL 93b0596d69819fecf2969edb132466d24fba4cc9a1f5d2ba5cac5a95735dd34af133afb01beca8f9588f62812c76b043acf13554dacec148636f4bbed1deff9d +EBUILD bashmark-0.6.2.ebuild 541 SHA256 81551012cfe276fb2622ba96b427646e7a3894cf4ed3d1f691dac50819b4b371 SHA512 cfdce168c7343f0903b4bd5cb66bfdf7383d5f00263d1b2aba335d9535fbeb5023b30b3a9eb860ec7d7d139c0316fd8db16c7e95d40897205da42811a59d67c7 WHIRLPOOL 2c842883d38171400d3a44afce766bbd5b4fd03ffb55724bb4279c4ae30a6dba08a4db8dfcef8d8b8396dd6e836a00303bfc70a5583410cb9f0eeca19072f2ae +MISC ChangeLog 2576 SHA256 3ec8a774820fe83ee9a785ad032cb9a713a67821400a2802275648adf5885d16 SHA512 1ddc6ed1e1303fcfb373f167a0b4d5436080312ba616c14b2435ed5db249b91c20e9421c727bba0613f9c680a1518f368a9121d466c867c6db2f7c9246f1c317 WHIRLPOOL 5009635558e501d274b40c7a1f1a78711ca354c4549d2749a497b8b7e7ca5dd466731778f4a3923ac8f7761c60b442c585e03bb28bd1d924128ae344af39c674 +MISC ChangeLog-2015 2283 SHA256 aaf36e7dd907ee895cdfcbf38b61d24ac2468f6cd60ade9a521006a072eedd05 SHA512 e35619656400dc642e4497df4c6e848e9a9d932421295123199698a1c2b91617b91c9c8365f0419f2d650c718e75786f2ffa65af6f06f9d9198357cdd1408f8c WHIRLPOOL fad647c2066a19e1566049f85ce7fd7e3c700cb9572154d24934c27dcecd852742f6bc59cc615f435e678cae2a0f1d58f1606b7975ee4d7e59a125adf4279750 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-benchmarks/bashmark/bashmark-0.6.2.ebuild b/app-benchmarks/bashmark/bashmark-0.6.2.ebuild new file mode 100644 index 000000000000..c50dd20f0339 --- /dev/null +++ b/app-benchmarks/bashmark/bashmark-0.6.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Geno's cross platform benchmarking suite" +HOMEPAGE="http://bashmark.coders-net.de" + +SRC_URI="http://bashmark.coders-net.de/download/src/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-as-needed.patch + epatch "${FILESDIR}"/${P}-gcc43.patch + epatch "${FILESDIR}"/${P}-gcc47.patch +} + +src_install() { + dobin bashmark + dodoc ChangeLog +} 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; + + diff --git a/app-benchmarks/bashmark/metadata.xml b/app-benchmarks/bashmark/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-benchmarks/bashmark/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |