summaryrefslogtreecommitdiff
path: root/editors/openoffice-2.0-devel
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-08-15 22:37:43 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-08-15 22:37:43 +0000
commit00e082d93ff238461710701838fd4f7db23e8039 (patch)
treeb7d70b3fa24d6dd45279914a0e237811a75b63c5 /editors/openoffice-2.0-devel
parentReset bouncing maintainer address (delivery times out) (diff)
/usr/include/sys/resource.h uses `struct timeval` in the definition of
struct rusage. struct timeval is defined in /usr/include/sys/time.h, but <sys/time.h> is not included in the <sys/resource.h> header file. Obtained from Volker Quetschke See http://www.openoffice.org/issues/show_bug.cgi?id=18065 for details. reviewed: maho (for 4-STABLE and 5-CURRENT)
Notes
Notes: svn path=/head/; revision=87010
Diffstat (limited to 'editors/openoffice-2.0-devel')
-rw-r--r--editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+salmain.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+salmain.cxx b/editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+salmain.cxx
new file mode 100644
index 000000000000..8d0a6f423f5e
--- /dev/null
+++ b/editors/openoffice-2.0-devel/files/patch-vcl+unx+source+app+salmain.cxx
@@ -0,0 +1,11 @@
+--- ../vcl/unx/source/app/salmain.cxx 1 Aug 2003 03:34:39 -0000 1.8.4.1
++++ ../vcl/unx/source/app/salmain.cxx 7 Aug 2003 22:43:19 -0000
+@@ -62,7 +62,7 @@
+ #define _SV_SALMAIN_CXX
+
+ // -=-= #includes =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+-#ifdef MACOSX
++#if defined(MACOSX) || defined(FREEBSD)
+ // rlimit needs sys/types.h
+ #include <sys/types.h>
+ #include <sys/time.h>