From 504326ced33cc9c335fd028952341c6da42a0fcc Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 20 Dec 2011 13:42:47 +0000 Subject: Add a some missing header files and fix a cast. Adapt for db4 update post 4.5. Now dies with segfault during build: terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr [1] Abort trap (core dumped) ./cstoreqptest 0... --- .../patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp (limited to 'databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp') diff --git a/databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp b/databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp new file mode 100644 index 00000000000..f1190b37218 --- /dev/null +++ b/databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_UnitTests_RLEEncodeDecodeII.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $ + +Add missing header. + +--- src/UnitTests/RLEEncodeDecodeII.cpp.orig 2006-10-17 19:35:33.000000000 +0000 ++++ src/UnitTests/RLEEncodeDecodeII.cpp +@@ -29,6 +29,7 @@ + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + #include "RLEEncodeDecodeII.h" ++#include + + RLEEncodeDecodeII::RLEEncodeDecodeII() + {} -- cgit v1.2.3