diff options
author | christos <christos@pkgsrc.org> | 2012-01-31 00:58:43 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2012-01-31 00:58:43 +0000 |
commit | 5dcc0b6c88c0f4fe949b8076ef00a41442ac21eb (patch) | |
tree | fd466740b8024054577da3902294f8fff48fa9d8 /devel/m4 | |
parent | 9d984ab7ce46b97acbf0bd384902d6745a9e6e8a (diff) | |
download | pkgsrc-5dcc0b6c88c0f4fe949b8076ef00a41442ac21eb.tar.gz |
update for new fpos_t
Diffstat (limited to 'devel/m4')
-rw-r--r-- | devel/m4/patches/patch-ab | 13 | ||||
-rw-r--r-- | devel/m4/patches/patch-ac | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/devel/m4/patches/patch-ab b/devel/m4/patches/patch-ab new file mode 100644 index 00000000000..df00f750a2b --- /dev/null +++ b/devel/m4/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.12 2012/01/31 00:58:43 christos 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 diff --git a/devel/m4/patches/patch-ac b/devel/m4/patches/patch-ac new file mode 100644 index 00000000000..53cf3ebc83a --- /dev/null +++ b/devel/m4/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.10 2012/01/31 00:58:43 christos Exp $ + +--- lib/fflush.c.orig 2011-03-01 11:39:27.000000000 -0500 ++++ lib/fflush.c 2012-01-30 19:56:16.000000000 -0500 +@@ -91,7 +91,7 @@ + update_fpos_cache (FILE *fp, off_t pos) + { + #if 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 |