summaryrefslogtreecommitdiff
path: root/packages/bonnie
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2009-02-13 14:12:54 -0500
committerPhilip Balister <philip@balister.org>2009-02-13 14:12:54 -0500
commit18992093169e9ebd2a61989b853986a77199be35 (patch)
treed08928e78b95ea9dcbd7a4f5a193b18e197e8a8d /packages/bonnie
parent36001a65d7eb5f4432b999d24c29501834a3b431 (diff)
parent97b340db7c7b9ee3ed53e02eaa63c9873f4e1610 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/bonnie')
-rw-r--r--packages/bonnie/bonnie++.inc3
-rw-r--r--packages/bonnie/files/gcc-4.3-fixes.patch16
2 files changed, 18 insertions, 1 deletions
diff --git a/packages/bonnie/bonnie++.inc b/packages/bonnie/bonnie++.inc
index dabe6dc1f7..7e9d81579c 100644
--- a/packages/bonnie/bonnie++.inc
+++ b/packages/bonnie/bonnie++.inc
@@ -6,7 +6,8 @@ DESCRIPTION="Tests large file IO and creation/deletion of small files."
LICENSE="GPL"
-SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz"
+SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz \
+ file://gcc-4.3-fixes.patch;patch=1"
inherit autotools
diff --git a/packages/bonnie/files/gcc-4.3-fixes.patch b/packages/bonnie/files/gcc-4.3-fixes.patch
new file mode 100644
index 0000000000..cecf87e05a
--- /dev/null
+++ b/packages/bonnie/files/gcc-4.3-fixes.patch
@@ -0,0 +1,16 @@
+---
+ zcav.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: bonnie++-1.03a/zcav.cpp
+===================================================================
+--- bonnie++-1.03a.orig/zcav.cpp
++++ bonnie++-1.03a/zcav.cpp
+@@ -15,6 +15,7 @@ using namespace std;
+ #else
+ #include <vector.h>
+ #endif
++#include <string.h>
+
+ // Read the specified number of megabytes of data from the fd and return the
+ // amount of time elapsed in seconds.