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

$NetBSD: patch-src_AM_WSMV.cpp,v 1.1 2011/12/20 13:42:47 wiz Exp $
Add missing header.
--- src/AM/WSMV.cpp.orig 2005-07-06 04:06:24.000000000 +0000
+++ src/AM/WSMV.cpp
@@ -29,6 +29,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <iostream>
+#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <string>