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.
18 lines
466 B
Text
18 lines
466 B
Text
$NetBSD: patch-ao,v 1.2 2011/05/22 19:11:42 dholland Exp $
|
|
|
|
- ...?
|
|
|
|
--- dptutil/dynsize.cpp.orig 2003-12-09 19:22:47.000000000 +0000
|
|
+++ dptutil/dynsize.cpp 2003-12-09 19:25:59.000000000 +0000
|
|
@@ -68,7 +68,11 @@
|
|
if ( buf != NULL )
|
|
{
|
|
#if !defined __MWERKS__
|
|
+#if __GNUC__ >= 3
|
|
+ setbuf(buf, curSize);
|
|
+#else
|
|
setb(buf, buf + curSize, 1);
|
|
+#endif
|
|
#else
|
|
pubsetbuf (buf, curSize);
|
|
#endif
|