pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/openjdk8 add FreeBSD patch to export couple more ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc3045b625a5
branches:  trunk
changeset: 411258:bc3045b625a5
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Feb 08 22:26:42 2020 +0000

description:
add FreeBSD patch to export couple more symbols from libnio for Jenkins,
found and provided by Mike Pumfold

diffstat:

 lang/openjdk8/Makefile                                           |   3 +-
 lang/openjdk8/distinfo                                           |   3 +-
 lang/openjdk8/patches/patch-jdk-make-mapfiles-libnio-mapfile-bsd |  40 ++++++++++
 3 files changed, 44 insertions(+), 2 deletions(-)

diffs (73 lines):

diff -r baa1554e536c -r bc3045b625a5 lang/openjdk8/Makefile
--- a/lang/openjdk8/Makefile    Sat Feb 08 22:20:36 2020 +0000
+++ b/lang/openjdk8/Makefile    Sat Feb 08 22:26:42 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.88 2020/01/26 17:31:30 rillig Exp $
+# $NetBSD: Makefile,v 1.89 2020/02/08 22:26:42 jdolecek Exp $
 
 DISTNAME=      openjdk-jdk8u-${GITHUB_TAG}
+PKGREVISION=   1
 PKGNAME=       openjdk8-1.8.${GITHUB_TAG:C/.*u([0-9]+).*/\1/}
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=battleblow/}
diff -r baa1554e536c -r bc3045b625a5 lang/openjdk8/distinfo
--- a/lang/openjdk8/distinfo    Sat Feb 08 22:20:36 2020 +0000
+++ b/lang/openjdk8/distinfo    Sat Feb 08 22:26:42 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.75 2019/11/05 22:30:15 jperkin Exp $
+$NetBSD: distinfo,v 1.76 2020/02/08 22:26:42 jdolecek Exp $
 
 SHA1 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 7408f52d3bbe35c2b14bbd3215cbf60f1335d334
 RMD160 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 24f1577b5fc86d137f070aedb4610c8c89e45815
@@ -90,6 +90,7 @@
 SHA1 (patch-hotspot_src_share_vm_runtime_arguments.cpp) = 80265396c62de95b0937d770c1dba0e8a53daa80
 SHA1 (patch-hotspot_src_share_vm_utilities_globalDefinitions__gcc.hpp) = a8e8fef04d7acb4772f57961e7df3681bd53d0b9
 SHA1 (patch-hotspot_src_share_vm_utilities_hashtable.cpp) = 83b90d951ce3aa9e913a36d792ac7376fb3d8bc7
+SHA1 (patch-jdk-make-mapfiles-libnio-mapfile-bsd) = 18cd431be415c305807146309711d8b65ce04f90
 SHA1 (patch-jdk_make_CompileDemos.gmk) = 4d5e2e9b0e35e373e6246408c775c25094b6f1c7
 SHA1 (patch-jdk_make_CompileLaunchers.gmk) = d496999f10fc56b1d68283ab4636787058f51090
 SHA1 (patch-jdk_make_CreateJars.gmk) = 0f49c8ec33121d7878ea4b6bd06d2e4e4af9a1d5
diff -r baa1554e536c -r bc3045b625a5 lang/openjdk8/patches/patch-jdk-make-mapfiles-libnio-mapfile-bsd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/openjdk8/patches/patch-jdk-make-mapfiles-libnio-mapfile-bsd  Sat Feb 08 22:26:42 2020 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-jdk-make-mapfiles-libnio-mapfile-bsd,v 1.1 2020/02/08 22:26:42 jdolecek Exp $
+
+Avoids same issue as
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241317
+
+Should be fixed in openjdk 8u242 
+
+--- jdk/make/mapfiles/libnio/mapfile-bsd.orig  2019-10-17 21:15:55 UTC
++++ jdk/make/mapfiles/libnio/mapfile-bsd
+@@ -41,6 +41,7 @@ SUNWprivate_1.1 {
+               Java_sun_nio_ch_FileChannelImpl_map0;
+               Java_sun_nio_ch_FileChannelImpl_transferTo0;
+               Java_sun_nio_ch_FileChannelImpl_unmap0;
++              Java_sun_nio_ch_FileDispatcherImpl_allocate0;
+               Java_sun_nio_ch_FileDispatcherImpl_close0;
+               Java_sun_nio_ch_FileDispatcherImpl_closeIntFD;
+               Java_sun_nio_ch_FileDispatcherImpl_seek0;
+@@ -135,6 +136,7 @@ SUNWprivate_1.1 {
+               Java_sun_nio_fs_BsdNativeDispatcher_endfsstat;
+               Java_sun_nio_fs_BsdNativeDispatcher_fsstatEntry;
+               Java_sun_nio_fs_BsdNativeDispatcher_getfsstat;
++              Java_sun_nio_fs_BsdNativeDispatcher_getmntonname0;
+               Java_sun_nio_fs_BsdNativeDispatcher_initIDs;
+               Java_sun_nio_fs_GnomeFileTypeDetector_initializeGio;
+               Java_sun_nio_fs_GnomeFileTypeDetector_initializeGnomeVfs;
+@@ -143,6 +145,14 @@ SUNWprivate_1.1 {
+               Java_sun_nio_fs_MagicFileTypeDetector_initialize0;
+               Java_sun_nio_fs_MagicFileTypeDetector_probe0;
+               Java_sun_nio_fs_UnixCopyFile_transfer;
++              Java_sun_nio_fs_LinuxWatchService_eventSize;
++              Java_sun_nio_fs_LinuxWatchService_eventOffsets;
++              Java_sun_nio_fs_LinuxWatchService_inotifyInit;
++              Java_sun_nio_fs_LinuxWatchService_inotifyAddWatch;
++              Java_sun_nio_fs_LinuxWatchService_inotifyRmWatch;
++              Java_sun_nio_fs_LinuxWatchService_configureBlocking;
++              Java_sun_nio_fs_LinuxWatchService_socketpair;
++              Java_sun_nio_fs_LinuxWatchService_poll;
+               Java_sun_nio_fs_UnixNativeDispatcher_access0;
+               Java_sun_nio_fs_UnixNativeDispatcher_chmod0;
+               Java_sun_nio_fs_UnixNativeDispatcher_chown0;



Home | Main Index | Thread Index | Old Index