summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-02-28 17:16:21 +0000
committerglewis <glewis@FreeBSD.org>2003-02-28 17:16:21 +0000
commitc076e028ad52f1a5547e7e7b35609b8aec6d8189 (patch)
treefa84709bb090a5d2edcace2ce25ff9a3cda394a6 /java
parentcca79bfff3015311dfcaed6d8c516d1253949d46 (diff)
downloadFreeBSD-ports-c076e028ad52f1a5547e7e7b35609b8aec6d8189.zip
FreeBSD-ports-c076e028ad52f1a5547e7e7b35609b8aec6d8189.tar.gz
. Add missing include of <sys/time.h>, needed by <sys/resource.h> for
FreeBSD 5.x. This fixes native threads compilation on FreeBSD 5.x. Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
Diffstat (limited to 'java')
-rw-r--r--java/jdk13/files/patch-threads_md.c12
-rw-r--r--java/jdk14/files/patch-threads_md.c12
-rw-r--r--java/jdk15/files/patch-threads_md.c12
-rw-r--r--java/jdk16/files/patch-threads_md.c12
4 files changed, 48 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-threads_md.c b/java/jdk13/files/patch-threads_md.c
new file mode 100644
index 0000000..d29f1c8
--- /dev/null
+++ b/java/jdk13/files/patch-threads_md.c
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- ../src/solaris/hpi/native_threads/src/threads_md.c 21 Nov 2001 04:02:04 -0000 1.4
++++ ../src/solaris/hpi/native_threads/src/threads_md.c 24 Feb 2003 03:17:30 -0000
+@@ -23,6 +23,7 @@
+ #include <setjmp.h>
+ #include <signal.h>
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/signal.h>
+ #include <sys/resource.h>
+ #ifdef __FreeBSD__
diff --git a/java/jdk14/files/patch-threads_md.c b/java/jdk14/files/patch-threads_md.c
new file mode 100644
index 0000000..d29f1c8
--- /dev/null
+++ b/java/jdk14/files/patch-threads_md.c
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- ../src/solaris/hpi/native_threads/src/threads_md.c 21 Nov 2001 04:02:04 -0000 1.4
++++ ../src/solaris/hpi/native_threads/src/threads_md.c 24 Feb 2003 03:17:30 -0000
+@@ -23,6 +23,7 @@
+ #include <setjmp.h>
+ #include <signal.h>
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/signal.h>
+ #include <sys/resource.h>
+ #ifdef __FreeBSD__
diff --git a/java/jdk15/files/patch-threads_md.c b/java/jdk15/files/patch-threads_md.c
new file mode 100644
index 0000000..d29f1c8
--- /dev/null
+++ b/java/jdk15/files/patch-threads_md.c
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- ../src/solaris/hpi/native_threads/src/threads_md.c 21 Nov 2001 04:02:04 -0000 1.4
++++ ../src/solaris/hpi/native_threads/src/threads_md.c 24 Feb 2003 03:17:30 -0000
+@@ -23,6 +23,7 @@
+ #include <setjmp.h>
+ #include <signal.h>
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/signal.h>
+ #include <sys/resource.h>
+ #ifdef __FreeBSD__
diff --git a/java/jdk16/files/patch-threads_md.c b/java/jdk16/files/patch-threads_md.c
new file mode 100644
index 0000000..d29f1c8
--- /dev/null
+++ b/java/jdk16/files/patch-threads_md.c
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- ../src/solaris/hpi/native_threads/src/threads_md.c 21 Nov 2001 04:02:04 -0000 1.4
++++ ../src/solaris/hpi/native_threads/src/threads_md.c 24 Feb 2003 03:17:30 -0000
+@@ -23,6 +23,7 @@
+ #include <setjmp.h>
+ #include <signal.h>
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/signal.h>
+ #include <sys/resource.h>
+ #ifdef __FreeBSD__
OpenPOWER on IntegriCloud