summaryrefslogtreecommitdiffstats
path: root/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch')
-rw-r--r--meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch24
1 files changed, 24 insertions, 0 deletions
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 0000000..9f42df9
--- /dev/null
+++ b/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch
@@ -0,0 +1,24 @@
1Includes string.h to the file "zcav.cpp", because it uses the two functions: "strdup()" and "strcmp()".
2
3Upstream-Status: Pending
4
5Signed-off-by: Cindy Zhao <cindy.zhao@enea.com>
6---
7 zcav.cpp | 1 +
8 1 files changed, 1 insertions(+), 0 deletions(-)
9
10diff --git a/zcav.cpp b/zcav.cpp
11index 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--
231.7.5.4
24