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

12 lines
299 B
C++

$NetBSD: patch-src_materialexps_PosAndMC.cpp,v 1.1 2011/12/20 13:42:48 wiz Exp $
Add missing header.
--- src/materialexps/PosAndMC.cpp.orig 2006-05-31 05:17:53.000000000 +0000
+++ src/materialexps/PosAndMC.cpp
@@ -1,4 +1,5 @@
#include "PosAndMC.h"
+#include <stdlib.h>
PosAndMC::PosAndMC()
{