diff options
Diffstat (limited to 'archivers/gzip/patches')
-rw-r--r-- | archivers/gzip/patches/patch-aa | 6 | ||||
-rw-r--r-- | archivers/gzip/patches/patch-lib_fflush.c | 13 | ||||
-rw-r--r-- | archivers/gzip/patches/patch-lib_fseeko.c | 13 |
3 files changed, 29 insertions, 3 deletions
diff --git a/archivers/gzip/patches/patch-aa b/archivers/gzip/patches/patch-aa index a11eace1194..282226978a7 100644 --- a/archivers/gzip/patches/patch-aa +++ b/archivers/gzip/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1 2007/11/08 19:26:53 joerg Exp $ +$NetBSD: patch-aa,v 1.2 2013/06/10 11:56:58 ryoon Exp $ ---- gzip.h.orig 1993-08-13 08:35:00.000000000 +0100 +--- gzip.h.orig 2012-01-01 08:53:58.000000000 +0000 +++ gzip.h -@@ -199,6 +199,8 @@ extern int test; /* check .z f +@@ -204,6 +204,8 @@ extern int test; /* check .z f extern int to_stdout; /* output to stdout (-c) */ extern int save_orig_name; /* set if original name must be saved */ diff --git a/archivers/gzip/patches/patch-lib_fflush.c b/archivers/gzip/patches/patch-lib_fflush.c new file mode 100644 index 00000000000..50717f45cdd --- /dev/null +++ b/archivers/gzip/patches/patch-lib_fflush.c @@ -0,0 +1,13 @@ +$NetBSD: patch-lib_fflush.c,v 1.1 2013/06/10 11:56:58 ryoon Exp $ + +--- lib/fflush.c.orig 2012-06-17 17:05:17.000000000 +0000 ++++ lib/fflush.c +@@ -94,7 +94,7 @@ update_fpos_cache (FILE *fp _GL_UNUSED_P + off_t pos _GL_UNUSED_PARAMETER) + { + #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 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 |