diff options
Diffstat (limited to 'meta/recipes-benchmark/bonnie++/bonnie++')
-rw-r--r-- | meta/recipes-benchmark/bonnie++/bonnie++/bonnie++_avoid_build_err.patch | 11 | ||||
-rw-r--r-- | meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch | 24 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-benchmark/bonnie++/bonnie++/bonnie++_avoid_build_err.patch b/meta/recipes-benchmark/bonnie++/bonnie++/bonnie++_avoid_build_err.patch new file mode 100644 index 0000000000..44cfff217c --- /dev/null +++ b/meta/recipes-benchmark/bonnie++/bonnie++/bonnie++_avoid_build_err.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- a/bonnie++.cpp 2015-02-05 16:26:02.783816592 +0100 | ||
2 | +++ b/bonnie++.cpp 2015-02-05 16:25:41.408724623 +0100 | ||
3 | @@ -162,6 +162,8 @@ | ||
4 | #endif | ||
5 | ) | ||
6 | { | ||
7 | + (void)sig; | ||
8 | + (void)unused; | ||
9 | if(SIGNAL_NUMBER == SIGXCPU) | ||
10 | fprintf(stderr, "Exceeded CPU usage.\n"); | ||
11 | else if(SIGNAL_NUMBER == SIGXFSZ) | ||
diff --git a/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch b/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch new file mode 100644 index 0000000000..9f42df91ff --- /dev/null +++ b/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Includes string.h to the file "zcav.cpp", because it uses the two functions: "strdup()" and "strcmp()". | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Cindy Zhao <cindy.zhao@enea.com> | ||
6 | --- | ||
7 | zcav.cpp | 1 + | ||
8 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
9 | |||
10 | diff --git a/zcav.cpp b/zcav.cpp | ||
11 | index 1c39d85..e4fc4f5 100644 | ||
12 | --- a/zcav.cpp | ||
13 | +++ b/zcav.cpp | ||
14 | @@ -15,6 +15,7 @@ using namespace std; | ||
15 | #else | ||
16 | #include <vector.h> | ||
17 | #endif | ||
18 | +#include <string.h> | ||
19 | |||
20 | // Read the specified number of megabytes of data from the fd and return the | ||
21 | // amount of time elapsed in seconds. | ||
22 | -- | ||
23 | 1.7.5.4 | ||
24 | |||