aa5981f9d4
least minimal comments to all patches and tidy up some (but by no means all) pkglint. I have no idea if this works. It spews warnings about "packed", which lead me to suspect it may not run correctly, but I don't have the facilities to test it. It does, however, now build ok on LP64 and if someone can test it may be reasonable to remove the restriction on that.
20 lines
480 B
Text
20 lines
480 B
Text
$NetBSD: patch-dptutil_dynsize_h,v 1.1 2011/05/22 19:11:42 dholland Exp $
|
|
|
|
Build fix for semi-modern C++.
|
|
|
|
--- dptutil/dynsize.h.orig 2002-08-13 15:02:46.000000000 +0000
|
|
+++ dptutil/dynsize.h
|
|
@@ -22,8 +22,11 @@
|
|
*****************************************************************************/
|
|
|
|
/*** INCLUDES ***/
|
|
-#include <iostream.h>
|
|
-#include <stdio.h>
|
|
+#include <iostream>
|
|
+#include <cstdio>
|
|
+using std::ios;
|
|
+using std::istream;
|
|
+using std::streambuf;
|
|
|
|
|
|
/*** DEFINES ***/
|