aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3-devel
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-08-16 06:37:43 +0800
committermaho <maho@FreeBSD.org>2003-08-16 06:37:43 +0800
commit42f5e0187a7b021edf040244ca9ca28d6aa54215 (patch)
tree41a31019bc4372433641ba1fb50593c66f4773e9 /editors/openoffice.org-3-devel
parent1cb0f4aae5b41d5e963375ef308a026e85127879 (diff)
downloadfreebsd-ports-gnome-42f5e0187a7b021edf040244ca9ca28d6aa54215.tar.gz
freebsd-ports-gnome-42f5e0187a7b021edf040244ca9ca28d6aa54215.tar.zst
freebsd-ports-gnome-42f5e0187a7b021edf040244ca9ca28d6aa54215.zip
/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)
Diffstat (limited to 'editors/openoffice.org-3-devel')
-rw-r--r--editors/openoffice.org-3-devel/files/patch-vcl+unx+source+app+salmain.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/openoffice.org-3-devel/files/patch-vcl+unx+source+app+salmain.cxx b/editors/openoffice.org-3-devel/files/patch-vcl+unx+source+app+salmain.cxx
new file mode 100644
index 000000000000..8d0a6f423f5e
--- /dev/null
+++ b/editors/openoffice.org-3-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>