Files
pkgsrc-ng/devel/m4/patches/patch-ab
2014-11-05 12:41:07 +01:00

14 lines
524 B
Plaintext

$NetBSD: patch-ab,v 1.13 2013/10/04 21:02:11 wiz Exp $
--- lib/fseeko.c.orig 2013-09-22 06:15:55.000000000 +0000
+++ lib/fseeko.c
@@ -125,7 +125,7 @@ fseeko (FILE *fp, off_t offset, int when
fp->_flags &= ~_IO_EOF_SEEN;
fp->_offset = pos;
#elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */
-# if defined __CYGWIN__
+# if defined(__CYGWIN__) || defined(__NetBSD__)
/* fp_->_offset is typed as an integer. */
fp_->_offset = pos;
# else