diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-12 19:18:39 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-12 19:18:39 +0800 |
commit | c32e88872e2614fb142844781415e5c8e82da7d0 (patch) | |
tree | 40e3ed80cefecd0208616647246b72eec7ce8bfa /java/jdk13/files | |
parent | 9532f62b8e04218d0c686feb70615ebcc27f8476 (diff) | |
download | freebsd-ports-gnome-c32e88872e2614fb142844781415e5c8e82da7d0.tar.gz freebsd-ports-gnome-c32e88872e2614fb142844781415e5c8e82da7d0.tar.zst freebsd-ports-gnome-c32e88872e2614fb142844781415e5c8e82da7d0.zip |
Fix a potential crash on 5-CURRENT.
Submitted by: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
Diffstat (limited to 'java/jdk13/files')
-rw-r--r-- | java/jdk13/files/patch-..::src::solaris::hpi::green_threads::src::iomgr.c | 28 |
1 files changed, 28 insertions, 0 deletions
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 |