diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2013-10-30 04:29:14 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2013-10-30 04:29:14 +0000 |
commit | 00bc59125f2078afed6747d1aafac7acb76e244c (patch) | |
tree | 5e2bf0c0e9364e5448c9bf21e0037297e882c65f /java | |
parent | ce533630e3813e774df38eb416a3b40a14432219 (diff) | |
download | ports-00bc59125f2078afed6747d1aafac7acb76e244c.tar.gz ports-00bc59125f2078afed6747d1aafac7acb76e244c.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/openjdk7/Makefile | 2 | ||||
-rw-r--r-- | java/openjdk7/files/patch-src-solaris-classes-sun-nio-ch-DefaultAsynchronousChanneldProvider.java | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/java/openjdk7/Makefile b/java/openjdk7/Makefile index 25ea45c339cf..653cfec958c5 100644 --- a/java/openjdk7/Makefile +++ b/java/openjdk7/Makefile @@ -3,7 +3,7 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MINOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/ \ http://download.java.net/jaxp/1.4.5/:jaxp \ diff --git a/java/openjdk7/files/patch-src-solaris-classes-sun-nio-ch-DefaultAsynchronousChanneldProvider.java b/java/openjdk7/files/patch-src-solaris-classes-sun-nio-ch-DefaultAsynchronousChanneldProvider.java new file mode 100644 index 000000000000..1d6319dee037 --- /dev/null +++ b/java/openjdk7/files/patch-src-solaris-classes-sun-nio-ch-DefaultAsynchronousChanneldProvider.java @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- jdk/src/solaris/classes/sun/nio/ch/DefaultAsynchronousChannelProvider.java.orig 2013-10-28 01:26:45.766774262 +0100 ++++ jdk/src/solaris/classes/sun/nio/ch/DefaultAsynchronousChannelProvider.java 2013-10-28 01:27:24.043766301 +0100 +@@ -50,7 +50,7 @@ + return new SolarisAsynchronousChannelProvider(); + if (osname.equals("Linux")) + return new LinuxAsynchronousChannelProvider(); +- if (osname.contains("OS X")) ++ if (osname.contains("OS X") || osname.equals("FreeBSD")) + return new BsdAsynchronousChannelProvider(); + throw new InternalError("platform not recognized"); + } |