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

16 lines
439 B
C++

$NetBSD: patch-src_Wrappers_PosBasicBlock.h,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/Wrappers/PosBasicBlock.h.orig 2006-08-20 20:41:04.000000000 +0000
+++ src/Wrappers/PosBasicBlock.h
@@ -33,7 +33,8 @@
#include "../common/PosBlock.h"
#include "BasicBlock.h"
-#include <iostream.h>
+#include <iostream>
+using namespace std;
#include "../common/UnexpectedException.h"
class PosBasicBlock : public PosBlock
{