summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-03-05 17:58:18 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-03-05 17:58:18 +0000
commit45b7b3fa271caa882612a02d03be632a651f07fa (patch)
treea128b9f1a9be1b0884d8fc764300fa8554023c89 /editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c
parenttimeb > time fixes (diff)
timeb -> time fixes
Notes
Notes: svn path=/head/; revision=55596
Diffstat (limited to '')
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-unzip+source+misc.c24
1 files changed, 24 insertions, 0 deletions
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