summaryrefslogtreecommitdiff
path: root/devel/m4/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/m4/patches/patch-ab')
-rw-r--r--devel/m4/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/m4/patches/patch-ab b/devel/m4/patches/patch-ab
new file mode 100644
index 00000000000..4e4e766c0df
--- /dev/null
+++ b/devel/m4/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.11.4.1 2012/02/13 20:42:03 spz Exp $
+
+--- lib/fseeko.c.orig 2011-03-01 11:39:28.000000000 -0500
++++ lib/fseeko.c 2012-01-30 19:56:49.000000000 -0500
+@@ -109,7 +109,7 @@
+ #if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+ fp->_flags &= ~_IO_EOF_SEEN;
+ #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, MacOS X, Cygwin */
+-# if defined __CYGWIN__
++# if defined(__CYGWIN__) || defined(__NetBSD__)
+ /* fp_->_offset is typed as an integer. */
+ fp_->_offset = pos;
+ # else