pkgsrc/databases/cstore/patches/patch-aj
wiz 401deb1bad 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...
2011-12-20 13:42:47 +00:00

13 lines
344 B
Text

$NetBSD: patch-aj,v 1.2 2011/12/20 13:42:47 wiz Exp $
--- src/Wrappers/PosArrayBlock.cpp.orig 2006-09-19 21:47:50.000000000 +0000
+++ src/Wrappers/PosArrayBlock.cpp
@@ -1,5 +1,7 @@
+#include <cassert>
#include "PosArrayBlock.h"
-#include <iostream.h>
+#include <iostream>
+#include <string.h>
PosArrayBlock::PosArrayBlock(int capacity)
{