summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/openjdk8/Makefile1
-rw-r--r--java/openjdk8/files/patch-jdk-make-mapfiles-libnio-mapfile-bsd17
2 files changed, 18 insertions, 0 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index 7156b78c4c45..30eaf413ee15 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -2,6 +2,7 @@
PORTNAME= openjdk
PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION}
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= LOCAL/jkim:jtreg
PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}
diff --git a/java/openjdk8/files/patch-jdk-make-mapfiles-libnio-mapfile-bsd b/java/openjdk8/files/patch-jdk-make-mapfiles-libnio-mapfile-bsd
new file mode 100644
index 000000000000..ae3b996acda0
--- /dev/null
+++ b/java/openjdk8/files/patch-jdk-make-mapfiles-libnio-mapfile-bsd
@@ -0,0 +1,17 @@
+--- jdk/make/mapfiles/libnio/mapfile-bsd.orig 2020-01-16 18:18:12 UTC
++++ jdk/make/mapfiles/libnio/mapfile-bsd
+@@ -141,6 +141,14 @@ SUNWprivate_1.1 {
+ Java_sun_nio_fs_GnomeFileTypeDetector_initializeGnomeVfs;
+ Java_sun_nio_fs_GnomeFileTypeDetector_probeUsingGio;
+ Java_sun_nio_fs_GnomeFileTypeDetector_probeUsingGnomeVfs;
++ Java_sun_nio_fs_LinuxWatchService_configureBlocking;
++ Java_sun_nio_fs_LinuxWatchService_eventOffsets;
++ Java_sun_nio_fs_LinuxWatchService_eventSize;
++ Java_sun_nio_fs_LinuxWatchService_inotifyAddWatch;
++ Java_sun_nio_fs_LinuxWatchService_inotifyInit;
++ Java_sun_nio_fs_LinuxWatchService_inotifyRmWatch;
++ Java_sun_nio_fs_LinuxWatchService_poll;
++ Java_sun_nio_fs_LinuxWatchService_socketpair;
+ Java_sun_nio_fs_MagicFileTypeDetector_initialize0;
+ Java_sun_nio_fs_MagicFileTypeDetector_probe0;
+ Java_sun_nio_fs_UnixCopyFile_transfer;