diff options
author | mbr <mbr@FreeBSD.org> | 2002-03-06 01:58:18 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-03-06 01:58:18 +0800 |
commit | 34c05e2f995c8e8fc83366396078b13dec4a13f0 (patch) | |
tree | eb53d999cd16d6b2405b0e3c87d90b4d1849f1a9 /editors/openoffice.org-1.1 | |
parent | e0ed5a5b9c43937f393a3d6acd7c54b614064bd2 (diff) | |
download | freebsd-ports-gnome-34c05e2f995c8e8fc83366396078b13dec4a13f0.tar.gz freebsd-ports-gnome-34c05e2f995c8e8fc83366396078b13dec4a13f0.tar.zst freebsd-ports-gnome-34c05e2f995c8e8fc83366396078b13dec4a13f0.zip |
timeb -> time fixes
Diffstat (limited to 'editors/openoffice.org-1.1')
-rw-r--r-- | editors/openoffice.org-1.1/files/patch-unzip+source+misc.c | 24 | ||||
-rw-r--r-- | editors/openoffice.org-1.1/files/patch-unzip::source::misc.c | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/editors/openoffice.org-1.1/files/patch-unzip+source+misc.c b/editors/openoffice.org-1.1/files/patch-unzip+source+misc.c new file mode 100644 index 000000000000..a7748de0635a --- /dev/null +++ b/editors/openoffice.org-1.1/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 diff --git a/editors/openoffice.org-1.1/files/patch-unzip::source::misc.c b/editors/openoffice.org-1.1/files/patch-unzip::source::misc.c new file mode 100644 index 000000000000..a7748de0635a --- /dev/null +++ b/editors/openoffice.org-1.1/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 |