[Lunar-commits] <moonbase> bonnie++: Needs a fix in zcav.cpp to compile

Duncan Gibson engelsman at lunar-linux.org
Sat Apr 17 21:07:07 CEST 2010


commit 54bf4e8a745bb2d65cadbc1a434b7e7f5cdba00e
Author: Jean-Michel Bruenn <jean.bruenn at ip-minds.de>
Date:   Sat Apr 17 21:07:07 2010 +0200

    bonnie++: Needs a fix in zcav.cpp to compile
    
    string.h is missing in the include list in that file, without
    it, it's not compiling here. The sed rule fixes it.
    
    Note: downloads, compiles and installs OK,
          but otherwise untested by me - engelsman
---
 utils/bonnie++/PRE_BUILD |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/utils/bonnie++/PRE_BUILD b/utils/bonnie++/PRE_BUILD
new file mode 100644
index 0000000..5fff1a3
--- /dev/null
+++ b/utils/bonnie++/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+sed -i 's/#include <time\.h>/#include <time\.h>\n#include <string\.h>/g' zcav.cpp


More information about the Lunar-commits mailing list