pkgsrc/databases/cstore/patches/patch-src_common_PosBlockArray.h
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

15 lines
402 B
C++

$NetBSD: patch-src_common_PosBlockArray.h,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/common/PosBlockArray.h.orig 2006-02-24 06:06:35.000000000 +0000
+++ src/common/PosBlockArray.h
@@ -33,7 +33,7 @@
#include "PosBlock.h"
#include "../Wrappers/CodingException.h"
-#include <iostream.h>
+#include <iostream>
// Array of Position Blocks
class PosBlockArray : public PosBlock