diff options
author | wiz <wiz@pkgsrc.org> | 2011-12-20 13:42:47 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-12-20 13:42:47 +0000 |
commit | 504326ced33cc9c335fd028952341c6da42a0fcc (patch) | |
tree | 290d784218412c25e7c61ac099e9587b504257a5 /databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp | |
parent | 3d821bda33aac5cf4212db02d78bcfe41e7ac359 (diff) | |
download | pkgsrc-504326ced33cc9c335fd028952341c6da42a0fcc.tar.gz |
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...
Diffstat (limited to 'databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp')
-rw-r--r-- | databases/cstore/patches/patch-src_UnitTests_RLEEncodeDecodeII.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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 <stdlib.h> + + RLEEncodeDecodeII::RLEEncodeDecodeII() + {} |