diff options
Diffstat (limited to 'editors/openoffice-1.1-devel/files/patch-unzip+source+file_io.c')
-rw-r--r-- | editors/openoffice-1.1-devel/files/patch-unzip+source+file_io.c | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-unzip+source+file_io.c b/editors/openoffice-1.1-devel/files/patch-unzip+source+file_io.c index 2a838fe377b1..2f85a108c185 100644 --- a/editors/openoffice-1.1-devel/files/patch-unzip+source+file_io.c +++ b/editors/openoffice-1.1-devel/files/patch-unzip+source+file_io.c @@ -1,11 +1,21 @@ ---- ../unzip/source/file_io.c.orig Sat Apr 6 12:13:38 2002 -+++ ../unzip/source/file_io.c Wed May 1 22:34:51 2002 -@@ -864,7 +864,7 @@ - #ifndef __386BSD__ +--- ../unzip/source/file_io.c.orig Sat Oct 19 11:58:45 2002 ++++ ../unzip/source/file_io.c Sat Oct 19 12:03:40 2002 +@@ -500,7 +500,7 @@ + #ifdef MPW + pCallBack( 0 ); + #else +- #if defined LINUX || defined MACOSX || defined NETBSD ++ #if defined LINUX || defined MACOSX || defined NETBSD || defined FREEBSD + pCallBack( lseek(outfd, 0, SEEK_CUR) ); + #else + pCallBack( tell( outfd ) ); +@@ -865,7 +865,9 @@ static struct timeb tbp; #endif /* !__386BSD__ */ --#elif !defined(NETBSD) /* !BSD */ -+#elif (!defined(NETBSD) && !defined(FREEBSD))/* !BSD */ + #else /* !BSD */ ++#if (!defined(NETBSD) && !defined(FREEBSD)) extern long timezone; ++#endif /* !defined(NETBSD) && !defined(FREEBSD) */ #endif /* ?BSD */ #endif /* ?AMIGA */ + |