openbsd-ports/net/nam/patches/patch-ac
kevlo a7dc6abfa6 - Update to 1.0a8
- GNU_CONFIGURE -> CONFIGURE_STYLE
- Add @comment to PLIST
2000-07-14 06:51:34 +00:00

23 lines
432 B
Plaintext

--- nam_stream.cc.orig Fri Jul 14 07:19:41 2000
+++ nam_stream.cc Fri Jul 14 07:21:01 2000
@@ -23,8 +23,10 @@
#ifdef WIN32
#include <limits.h>
#else
+#ifndef __OpenBSD__
#include <values.h>
#endif
+#endif
#include <assert.h>
@@ -418,6 +420,8 @@
insure_backing(tell() + 1);
return getc(back_);
}
+
+#define MAXLONG (((off_t) 1) << ((sizeof(off_t) * 8) - 1)) - 1
off_t
NamStreamPipe::seek(off_t offset, int whence)