From 45b7b3fa271caa882612a02d03be632a651f07fa Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Tue, 5 Mar 2002 17:58:18 +0000 Subject: timeb -> time fixes --- .../files/patch-unzip+source+misc.c | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c (limited to 'editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c') diff --git a/editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c b/editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c new file mode 100644 index 000000000000..a7748de0635a --- /dev/null +++ b/editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c @@ -0,0 +1,24 @@ +--- work/oo_641c_src/unzip/source/misc.c.orig Tue Mar 5 18:52:16 2002 ++++ work/oo_641c_src/unzip/source/misc.c Tue Mar 5 18:53:03 2002 +@@ -301,8 +301,8 @@ + int yr, mo, dy, hh, mm, ss, leap; + long m_time, days=0; + #if (!defined(MACOS) && !defined(MSC) && !defined(__GO32__)) +-#if (defined(BSD) || defined(MTS)) +-#ifndef __386BSD__ ++#if (defined(BSD) || defined(MTS) || defined(FREEBSD)) ++#if !defined __386BSD__ && !defined FREEBSD + static struct timeb tbp; + #endif /* __386BSD__ */ + #else /* !(BSD || MTS) */ +@@ -340,8 +340,8 @@ + /* - 1; MS-DOS times always rounded up to nearest even second */ + + #if (!defined(MACOS) && !defined(__GO32__)) +-#if (defined(BSD) || defined(MTS) || defined (ALPHA)) && ! defined(MACOSX) && ! defined(NETBSD) +-#ifndef __386BSD__ ++#if (defined(BSD) || defined(FREEBSD) || defined(MTS) || defined (ALPHA)) && ! defined(MACOSX) && ! defined(NETBSD) ++#if !defined __386BSD__ && !defined FREEBSD + ftime(&tbp); + m_time += tbp.timezone * 60L; + #endif -- cgit v1.2.3