From 166ad0377b8e939f7777c85b4a791ae53969a42b Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Mon, 17 Aug 2015 20:08:39 +0000 Subject: testing/openjdk8: new aport ref #4515 openjdk8 and openjdk7 cannot coexist currently due to automatic so dependencies. both packages should be fixed to not provide conflicting so deps (or maybe needs abuild change?) --- testing/openjdk8/fix-libjvm-load.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testing/openjdk8/fix-libjvm-load.patch (limited to 'testing/openjdk8/fix-libjvm-load.patch') diff --git a/testing/openjdk8/fix-libjvm-load.patch b/testing/openjdk8/fix-libjvm-load.patch new file mode 100644 index 00000000000..22faa50b3ac --- /dev/null +++ b/testing/openjdk8/fix-libjvm-load.patch @@ -0,0 +1,14 @@ +musl needs LD_LIBRARY_PATH set because when .so is opened with dlopen(/abs/path) +it does not qualify for providing symbols for NEEDED dependency. + +--- src/jdk/src/solaris/bin/java_md_solinux.c.orig ++++ src/jdk/src/solaris/bin/java_md_solinux.c +@@ -291,6 +291,8 @@ + char *dmllp = NULL; + char *p; /* a utility pointer */ + ++ return JNI_TRUE; ++ + #ifdef AIX + /* We always have to set the LIBPATH on AIX because ld doesn't support $ORIGIN. */ + return JNI_TRUE; -- cgit v1.2.3