diff options
Diffstat (limited to 'meta/recipes-benchmark/bonnie++/bonnie++/bonnie++_avoid_build_err.patch')
-rw-r--r-- | meta/recipes-benchmark/bonnie++/bonnie++/bonnie++_avoid_build_err.patch | 11 |
1 files changed, 11 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) | ||