aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-03-01 01:16:21 +0800
committerglewis <glewis@FreeBSD.org>2003-03-01 01:16:21 +0800
commitc076e028ad52f1a5547e7e7b35609b8aec6d8189 (patch)
treefa84709bb090a5d2edcace2ce25ff9a3cda394a6 /java
parentcca79bfff3015311dfcaed6d8c516d1253949d46 (diff)
downloadfreebsd-ports-graphics-c076e028ad52f1a5547e7e7b35609b8aec6d8189.tar.gz
freebsd-ports-graphics-c076e028ad52f1a5547e7e7b35609b8aec6d8189.tar.zst
freebsd-ports-graphics-c076e028ad52f1a5547e7e7b35609b8aec6d8189.zip
. 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 00000000000..d29f1c864ec
--- /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 00000000000..d29f1c864ec
--- /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 00000000000..d29f1c864ec
--- /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 00000000000..d29f1c864ec
--- /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__