diff options
Diffstat (limited to 'archivers/gzip/patches/patch-lib_fseeko.c')
-rw-r--r-- | archivers/gzip/patches/patch-lib_fseeko.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/gzip/patches/patch-lib_fseeko.c b/archivers/gzip/patches/patch-lib_fseeko.c new file mode 100644 index 00000000000..29c08240cf8 --- /dev/null +++ b/archivers/gzip/patches/patch-lib_fseeko.c @@ -0,0 +1,13 @@ +$NetBSD: patch-lib_fseeko.c,v 1.1 2013/06/10 11:56:58 ryoon Exp $ + +--- lib/fseeko.c.orig 2012-06-17 17:06:44.000000000 +0000 ++++ lib/fseeko.c +@@ -119,7 +119,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, MacOS X, Cygwin */ +-# if defined __CYGWIN__ ++# if defined(__CYGWIN__) || defined(__NetBSD__) + /* fp_->_offset is typed as an integer. */ + fp_->_offset = pos; + # else |