pkgsrc/databases/cstore/patches/patch-src_compressionexps_NS2DataMaker.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
415 B
C++

$NetBSD: patch-src_compressionexps_NS2DataMaker.h,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/compressionexps/NS2DataMaker.h.orig 2006-10-17 19:36:03.000000000 +0000
+++ src/compressionexps/NS2DataMaker.h
@@ -57,7 +57,7 @@
#include "../AM/PagePlacer.h"
#include <ctime>
#include "../UnitTests/UnitTest.h"
-#include <fstream.h>
+#include <fstream>
class NS2DataMaker : public UnitTest
{