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

14 lines
314 B
C++

$NetBSD: patch-src_materialexps_PosAndLM.cpp,v 1.1 2011/12/20 13:42:48 wiz Exp $
Add missing header.
--- src/materialexps/PosAndLM.cpp.orig 2006-05-24 22:00:22.000000000 +0000
+++ src/materialexps/PosAndLM.cpp
@@ -31,6 +31,7 @@
/**
*/
#include "PosAndLM.h"
+#include <stdlib.h>
PosAndLM::PosAndLM() {
}