diff options
Diffstat (limited to 'lang/openjdk8/patches/patch-jdk_src_solaris_native_sun_nio_ch_sctp_SctpChannelImpl.c')
-rw-r--r-- | lang/openjdk8/patches/patch-jdk_src_solaris_native_sun_nio_ch_sctp_SctpChannelImpl.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/openjdk8/patches/patch-jdk_src_solaris_native_sun_nio_ch_sctp_SctpChannelImpl.c b/lang/openjdk8/patches/patch-jdk_src_solaris_native_sun_nio_ch_sctp_SctpChannelImpl.c new file mode 100644 index 00000000000..10a4cb6a96f --- /dev/null +++ b/lang/openjdk8/patches/patch-jdk_src_solaris_native_sun_nio_ch_sctp_SctpChannelImpl.c @@ -0,0 +1,15 @@ +$NetBSD: patch-jdk_src_solaris_native_sun_nio_ch_sctp_SctpChannelImpl.c,v 1.1 2015/02/08 08:41:25 tnn Exp $ + +--- jdk/src/solaris/native/sun/nio/ch/sctp/SctpChannelImpl.c.orig 2015-02-02 15:37:12.000000000 +0000 ++++ jdk/src/solaris/native/sun/nio/ch/sctp/SctpChannelImpl.c +@@ -1,3 +1,4 @@ ++#if !defined(__NetBSD__) + /* + * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +@@ -613,4 +614,4 @@ JNIEXPORT jint JNICALL Java_sun_nio_ch_s + return Java_sun_nio_ch_SocketChannelImpl_checkConnect(env, this, + fdo, block, ready); + } +- ++#endif |