diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-12 11:18:39 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-12 11:18:39 +0000 |
commit | c32e88872e2614fb142844781415e5c8e82da7d0 (patch) | |
tree | 40e3ed80cefecd0208616647246b72eec7ce8bfa /java/jdk15 | |
parent | 9532f62b8e04218d0c686feb70615ebcc27f8476 (diff) | |
download | FreeBSD-ports-c32e88872e2614fb142844781415e5c8e82da7d0.zip FreeBSD-ports-c32e88872e2614fb142844781415e5c8e82da7d0.tar.gz |
Fix a potential crash on 5-CURRENT.
Submitted by: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
Diffstat (limited to 'java/jdk15')
-rw-r--r-- | java/jdk15/Makefile | 1 | ||||
-rw-r--r-- | java/jdk15/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile index 54dc1d4..fae5f6f 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 0000000..04b106d --- /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 |