summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-09-12 11:18:39 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-09-12 11:18:39 +0000
commitde662bfa42cd333f4e6c4f8123177b195d8a2dc5 (patch)
tree2fc9d2ce6a9b819f509435373f099d997a7f15d6 /java
parentUpdate to 2.0.6. (diff)
Fix a potential crash on 5-CURRENT.
Submitted by: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
Notes
Notes: svn path=/head/; revision=47744
Diffstat (limited to 'java')
-rw-r--r--java/jdk13/Makefile1
-rw-r--r--java/jdk13/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c28
-rw-r--r--java/jdk14/Makefile1
-rw-r--r--java/jdk14/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c28
-rw-r--r--java/jdk15/Makefile1
-rw-r--r--java/jdk15/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c28
-rw-r--r--java/jdk16/Makefile1
-rw-r--r--java/jdk16/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c28
8 files changed, 116 insertions, 0 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index 54dc1d431994..fae5f6f38f96 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= # http://www.sun.com/software/java2/download.html
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
diff --git a/java/jdk13/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c b/java/jdk13/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
new file mode 100644
index 000000000000..04b106d7778b
--- /dev/null
+++ b/java/jdk13/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
@@ -0,0 +1,28 @@
+
+$FreeBSD$
+
+--- ../src/solaris/hpi/green_threads/src/iomgr.c.orig Wed Sep 12 12:39:31 2001
++++ ../src/solaris/hpi/green_threads/src/iomgr.c Wed Sep 12 12:39:43 2001
+@@ -716,6 +716,22 @@
+ WRAPFUNC(read);
+ WRAPFUNC(write);
+ WRAPFUNC(fcntl);
++#if __FreeBSD__ >= 5
++ WRAPFUNC(writev);
++ WRAPFUNC(readv);
++ WRAPFUNC(poll);
++ WRAPFUNC(sendto);
++ WRAPFUNC(dup);
++ WRAPFUNC(accept);
++ WRAPFUNC(recvfrom);
++ WRAPFUNC(socket);
++ WRAPFUNC(connect);
++ WRAPFUNC(select);
++ WRAPFUNC(pipe);
++ WRAPFUNC(creat);
++ WRAPFUNC(recv);
++ WRAPFUNC(send);
++#endif
+ __dummy();
+ }
+ #else
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile
index 54dc1d431994..fae5f6f38f96 100644
--- a/java/jdk14/Makefile
+++ b/java/jdk14/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= # http://www.sun.com/software/java2/download.html
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
diff --git a/java/jdk14/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c b/java/jdk14/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
new file mode 100644
index 000000000000..04b106d7778b
--- /dev/null
+++ b/java/jdk14/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
@@ -0,0 +1,28 @@
+
+$FreeBSD$
+
+--- ../src/solaris/hpi/green_threads/src/iomgr.c.orig Wed Sep 12 12:39:31 2001
++++ ../src/solaris/hpi/green_threads/src/iomgr.c Wed Sep 12 12:39:43 2001
+@@ -716,6 +716,22 @@
+ WRAPFUNC(read);
+ WRAPFUNC(write);
+ WRAPFUNC(fcntl);
++#if __FreeBSD__ >= 5
++ WRAPFUNC(writev);
++ WRAPFUNC(readv);
++ WRAPFUNC(poll);
++ WRAPFUNC(sendto);
++ WRAPFUNC(dup);
++ WRAPFUNC(accept);
++ WRAPFUNC(recvfrom);
++ WRAPFUNC(socket);
++ WRAPFUNC(connect);
++ WRAPFUNC(select);
++ WRAPFUNC(pipe);
++ WRAPFUNC(creat);
++ WRAPFUNC(recv);
++ WRAPFUNC(send);
++#endif
+ __dummy();
+ }
+ #else
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index 54dc1d431994..fae5f6f38f96 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= # http://www.sun.com/software/java2/download.html
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
diff --git a/java/jdk15/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c b/java/jdk15/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
new file mode 100644
index 000000000000..04b106d7778b
--- /dev/null
+++ b/java/jdk15/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
@@ -0,0 +1,28 @@
+
+$FreeBSD$
+
+--- ../src/solaris/hpi/green_threads/src/iomgr.c.orig Wed Sep 12 12:39:31 2001
++++ ../src/solaris/hpi/green_threads/src/iomgr.c Wed Sep 12 12:39:43 2001
+@@ -716,6 +716,22 @@
+ WRAPFUNC(read);
+ WRAPFUNC(write);
+ WRAPFUNC(fcntl);
++#if __FreeBSD__ >= 5
++ WRAPFUNC(writev);
++ WRAPFUNC(readv);
++ WRAPFUNC(poll);
++ WRAPFUNC(sendto);
++ WRAPFUNC(dup);
++ WRAPFUNC(accept);
++ WRAPFUNC(recvfrom);
++ WRAPFUNC(socket);
++ WRAPFUNC(connect);
++ WRAPFUNC(select);
++ WRAPFUNC(pipe);
++ WRAPFUNC(creat);
++ WRAPFUNC(recv);
++ WRAPFUNC(send);
++#endif
+ __dummy();
+ }
+ #else
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index 54dc1d431994..fae5f6f38f96 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jdk
PORTVERSION= ${JDK_VERSION}p${JDK_PATCHSET_VERSION}
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= # http://www.sun.com/software/java2/download.html
# http://www.eyesbeyond.com/freebsddom/java/jdk13.html
diff --git a/java/jdk16/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c b/java/jdk16/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
new file mode 100644
index 000000000000..04b106d7778b
--- /dev/null
+++ b/java/jdk16/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c
@@ -0,0 +1,28 @@
+
+$FreeBSD$
+
+--- ../src/solaris/hpi/green_threads/src/iomgr.c.orig Wed Sep 12 12:39:31 2001
++++ ../src/solaris/hpi/green_threads/src/iomgr.c Wed Sep 12 12:39:43 2001
+@@ -716,6 +716,22 @@
+ WRAPFUNC(read);
+ WRAPFUNC(write);
+ WRAPFUNC(fcntl);
++#if __FreeBSD__ >= 5
++ WRAPFUNC(writev);
++ WRAPFUNC(readv);
++ WRAPFUNC(poll);
++ WRAPFUNC(sendto);
++ WRAPFUNC(dup);
++ WRAPFUNC(accept);
++ WRAPFUNC(recvfrom);
++ WRAPFUNC(socket);
++ WRAPFUNC(connect);
++ WRAPFUNC(select);
++ WRAPFUNC(pipe);
++ WRAPFUNC(creat);
++ WRAPFUNC(recv);
++ WRAPFUNC(send);
++#endif
+ __dummy();
+ }
+ #else