diff options
122 files changed, 1221 insertions, 1150 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..5420797 --- /dev/null +++ b/CONTRIBUTING.md | |||
@@ -0,0 +1,50 @@ | |||
1 | meta-java contribution guidelines | ||
2 | ================================= | ||
3 | |||
4 | Contributing via GitLab.com | ||
5 | --------------------------- | ||
6 | |||
7 | To contribute to this layer you may fork the repository and create a merge | ||
8 | request at https://gitlab.com/meta-java/meta-java. | ||
9 | |||
10 | Please refer to: https://docs.gitlab.com/ee/user/project/merge_requests/ | ||
11 | for more information on merge requests in GitLab. | ||
12 | |||
13 | Contributing via E-Mail | ||
14 | ----------------------- | ||
15 | |||
16 | To contribute to this layer you may submit the patches for review to the | ||
17 | mailing list (openembedded-devel@lists.openembedded.org). | ||
18 | |||
19 | Please refer to: | ||
20 | https://wiki.yoctoproject.org/wiki/Contribution_Guidelines#General_Information | ||
21 | |||
22 | for some useful guidelines to be followed when submitting patches. | ||
23 | |||
24 | Mailing list: | ||
25 | |||
26 | http://lists.openembedded.org/mailman/listinfo/openembedded-devel | ||
27 | |||
28 | Source code: | ||
29 | |||
30 | git://git.yoctoproject.org/meta-java | ||
31 | http://git.yoctoproject.org/git/meta-java | ||
32 | |||
33 | When creating single patches, please use something like: | ||
34 | |||
35 | git format-patch -M -s --subject-prefix='meta-java][PATCH' -1 | ||
36 | |||
37 | When creating a patch series, please add a cover letter describing it shortly. | ||
38 | Therefore use something like: | ||
39 | |||
40 | git format-patch -M -s --cover-letter --subject-prefix='meta-java][PATCH' origin | ||
41 | |||
42 | When sending patches, please use something like: | ||
43 | |||
44 | git send-email --to openembedded-devel@lists.openembedded.org <generated patch(es)> | ||
45 | |||
46 | Please add the main layer maintainers to CC: | ||
47 | |||
48 | Henning Heinold <henning@itconsulting-heinold.de> | ||
49 | Otavio Salvador <otavio@ossystems.com.br> | ||
50 | Richard Leitner <richard.leitner@skidata.com> | ||
@@ -25,45 +25,7 @@ revision: HEAD | |||
25 | For use with a specific Yocto Project release please refer to the corresponding | 25 | For use with a specific Yocto Project release please refer to the corresponding |
26 | git branches. | 26 | git branches. |
27 | 27 | ||
28 | Contributing | 28 | Guides on how to contribute to meta-java are described in CONTRIBUTING.md. |
29 | ------------ | ||
30 | |||
31 | To contribute to this layer you should submit the patches for review to the | ||
32 | mailing list (openembedded-devel@lists.openembedded.org). | ||
33 | |||
34 | Please refer to: | ||
35 | https://wiki.yoctoproject.org/wiki/Contribution_Guidelines#General_Information | ||
36 | |||
37 | for some useful guidelines to be followed when submitting patches. | ||
38 | |||
39 | Mailing list: | ||
40 | |||
41 | http://lists.openembedded.org/mailman/listinfo/openembedded-devel | ||
42 | |||
43 | Source code: | ||
44 | |||
45 | git://git.yoctoproject.org/meta-java | ||
46 | http://git.yoctoproject.org/git/meta-java | ||
47 | |||
48 | When creating single patches, please use something like: | ||
49 | |||
50 | git format-patch -M -s --subject-prefix='meta-java][PATCH' -1 | ||
51 | |||
52 | When creating a patch series, please add a cover letter describing it shortly. | ||
53 | Therefore use something like: | ||
54 | |||
55 | git format-patch -M -s --cover-letter --subject-prefix='meta-java][PATCH' origin | ||
56 | |||
57 | When sending patches, please use something like: | ||
58 | |||
59 | git send-email --to openembedded-devel@lists.openembedded.org <generated patch(es)> | ||
60 | |||
61 | Main layer maintainers: | ||
62 | |||
63 | Henning Heinold <henning@itconsulting-heinold.de> | ||
64 | Maxin John <maxin.john@intel.com> | ||
65 | Otavio Salvador <otavio@ossystems.com.br> | ||
66 | Richard Leitner <richard.leitner@skidata.com> | ||
67 | 29 | ||
68 | Testing | 30 | Testing |
69 | ------- | 31 | ------- |
@@ -105,7 +67,7 @@ Known Limitations/Bugs | |||
105 | +--------+-----------------+-----------------+-----------------+ | 67 | +--------+-----------------+-----------------+-----------------+ |
106 | 68 | ||
107 | If you encounter any other problems or bugs please report them to our mailing | 69 | If you encounter any other problems or bugs please report them to our mailing |
108 | list at openembedded-devel@lists.openembedded.org. | 70 | list at yocto-patches@lists.yoctoproject.org. |
109 | 71 | ||
110 | Usage instructions | 72 | Usage instructions |
111 | ------------------ | 73 | ------------------ |
diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass index 2ce96ab..67541d2 100644 --- a/classes/java-library.bbclass +++ b/classes/java-library.bbclass | |||
@@ -40,11 +40,11 @@ def java_package_name(d): | |||
40 | 40 | ||
41 | JPN ?= "${@java_package_name(d)}" | 41 | JPN ?= "${@java_package_name(d)}" |
42 | 42 | ||
43 | DEPENDS_prepend = "virtual/javac-native fastjar-native " | 43 | DEPENDS:prepend = "virtual/javac-native fastjar-native " |
44 | 44 | ||
45 | PACKAGES += "${JPN}" | 45 | PACKAGES += "${JPN}" |
46 | 46 | ||
47 | FILES_${JPN} = "${datadir_java}" | 47 | FILES:${JPN} = "${datadir_java}" |
48 | 48 | ||
49 | # File name of the libraries' main Jar file | 49 | # File name of the libraries' main Jar file |
50 | JARFILENAME = "${BP}.jar" | 50 | JARFILENAME = "${BP}.jar" |
@@ -54,15 +54,15 @@ ALTJARFILENAMES = "${BPN}.jar" | |||
54 | 54 | ||
55 | # Java "source" distributions often contain precompiled things | 55 | # Java "source" distributions often contain precompiled things |
56 | # we want to delete first. | 56 | # we want to delete first. |
57 | do_removebinaries() { | 57 | do_deletebinaries() { |
58 | find ${WORKDIR} ! -path "${RECIPE_SYSROOT}/*" ! -path "${RECIPE_SYSROOT_NATIVE}/*" \ | 58 | find ${WORKDIR} ! -path "${RECIPE_SYSROOT}/*" ! -path "${RECIPE_SYSROOT_NATIVE}/*" \ |
59 | -name "*.jar" -exec rm {} \; | 59 | -name "*.jar" -exec rm {} \; |
60 | find ${WORKDIR} ! -path "${RECIPE_SYSROOT}/*" ! -path "${RECIPE_SYSROOT_NATIVE}/*" \ | 60 | find ${WORKDIR} ! -path "${RECIPE_SYSROOT}/*" ! -path "${RECIPE_SYSROOT_NATIVE}/*" \ |
61 | -name "*.class" -exec rm {} \; | 61 | -name "*.class" -exec rm {} \; |
62 | } | 62 | } |
63 | 63 | ||
64 | addtask removebinaries after do_unpack before do_patch | 64 | addtask deletebinaries after do_unpack before do_patch |
65 | 65 | ||
66 | do_install_append() { | 66 | do_install:append() { |
67 | oe_jarinstall ${JARFILENAME} ${ALTJARFILENAMES} | 67 | oe_jarinstall ${JARFILENAME} ${ALTJARFILENAMES} |
68 | } | 68 | } |
diff --git a/classes/openjdk-build-helper.bbclass b/classes/openjdk-build-helper.bbclass index 4e334c2..1aeca8d 100644 --- a/classes/openjdk-build-helper.bbclass +++ b/classes/openjdk-build-helper.bbclass | |||
@@ -2,8 +2,8 @@ | |||
2 | # passing a valid ${PARALLEL_MAKE} to it. OTOH OpenJDK's makefiles are | 2 | # passing a valid ${PARALLEL_MAKE} to it. OTOH OpenJDK's makefiles are |
3 | # parallelizable and we need ${PARALLEL_MAKE} to derive the proper value. | 3 | # parallelizable and we need ${PARALLEL_MAKE} to derive the proper value. |
4 | # The base for this quirk is that GNU Make only considers the last "-j" option. | 4 | # The base for this quirk is that GNU Make only considers the last "-j" option. |
5 | EXTRA_OEMAKE_remove_task-compile = "${PARALLEL_MAKE}" | 5 | EXTRA_OEMAKE:remove:task-compile = "${PARALLEL_MAKE}" |
6 | EXTRA_OEMAKE_remove_task-install = "${PARALLEL_MAKEINST}" | 6 | EXTRA_OEMAKE:remove:task-install = "${PARALLEL_MAKEINST}" |
7 | 7 | ||
8 | # OpenJDK supports parallel compilation but uses a plain number for this. | 8 | # OpenJDK supports parallel compilation but uses a plain number for this. |
9 | # In OE we have PARALLEL_MAKE which is the actual option passed to make, | 9 | # In OE we have PARALLEL_MAKE which is the actual option passed to make, |
@@ -45,7 +45,7 @@ def openjdk_build_helper_get_target_cflags(d): | |||
45 | # doesn't work anyway. | 45 | # doesn't work anyway. |
46 | version = d.getVar('GCCVERSION')[0] | 46 | version = d.getVar('GCCVERSION')[0] |
47 | # skip non digit characters at the beginning, e.g. from "linaro-6.2%" | 47 | # skip non digit characters at the beginning, e.g. from "linaro-6.2%" |
48 | match = re.search("\d", version) | 48 | match = re.search(r"\d", version) |
49 | if match: | 49 | if match: |
50 | version = version[match.start():] | 50 | version = version[match.start():] |
51 | return openjdk_build_helper_get_cflags_by_cc_version(d, version) | 51 | return openjdk_build_helper_get_cflags_by_cc_version(d, version) |
@@ -83,7 +83,7 @@ def openjdk_build_helper_get_llvm_configure_arch(d): | |||
83 | elif arch == "arm": | 83 | elif arch == "arm": |
84 | arch = "arm" | 84 | arch = "arm" |
85 | else: | 85 | else: |
86 | if 'shark' in d.getVar('PACKAGECONFIG').split(): | 86 | if bb.utils.contains('PACKAGECONFIG', 'shark', True, False, d): |
87 | bb.warn("%s does not support %s in Shark builds yet" % (d.getVar('PN'), arch) ); | 87 | bb.warn("%s does not support %s in Shark builds yet" % (d.getVar('PN'), arch) ); |
88 | 88 | ||
89 | return arch | 89 | return arch |
diff --git a/classes/openjdk-test-image.bbclass b/classes/openjdk-test-image.bbclass index f6e4fca..47ad4bb 100644 --- a/classes/openjdk-test-image.bbclass +++ b/classes/openjdk-test-image.bbclass | |||
@@ -1,5 +1,5 @@ | |||
1 | DESCRIPTION = "An image for OpenJDK testing purposes" | 1 | DESCRIPTION = "An image for OpenJDK testing purposes" |
2 | 2 | ||
3 | TEST_SUITES_append = " javac" | 3 | TEST_SUITES:append = " javac" |
4 | 4 | ||
5 | inherit openjre-test-image | 5 | inherit openjre-test-image |
diff --git a/classes/openjre-test-image.bbclass b/classes/openjre-test-image.bbclass index 77dbd74..9562be4 100644 --- a/classes/openjre-test-image.bbclass +++ b/classes/openjre-test-image.bbclass | |||
@@ -4,6 +4,6 @@ IMAGE_FEATURES += "ssh-server-openssh package-management" | |||
4 | 4 | ||
5 | IMAGE_INSTALL = "${CORE_IMAGE_BASE_INSTALL}" | 5 | IMAGE_INSTALL = "${CORE_IMAGE_BASE_INSTALL}" |
6 | 6 | ||
7 | DEFAULT_TEST_SUITES_pn-${PN} = "ping ssh java" | 7 | DEFAULT_TEST_SUITES:pn-${PN} = "ping ssh java" |
8 | 8 | ||
9 | inherit core-image | 9 | inherit core-image |
diff --git a/conf/layer.conf b/conf/layer.conf index 294c319..71d6a10 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -7,11 +7,13 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" | |||
7 | BBFILE_COLLECTIONS += "meta-java" | 7 | BBFILE_COLLECTIONS += "meta-java" |
8 | BBFILE_PATTERN_meta-java := "^${LAYERDIR}/" | 8 | BBFILE_PATTERN_meta-java := "^${LAYERDIR}/" |
9 | BBFILE_PRIORITY_meta-java = "10" | 9 | BBFILE_PRIORITY_meta-java = "10" |
10 | LAYERSERIES_COMPAT_meta-java = "dunfell" | 10 | LAYERSERIES_COMPAT_meta-java = "scarthgap" |
11 | LAYERDEPENDS_meta-java += "openembedded-layer" | 11 | LAYERDEPENDS_meta-java += "openembedded-layer" |
12 | 12 | ||
13 | LICENSE_PATH += "${LAYERDIR}/licenses" | 13 | LICENSE_PATH += "${LAYERDIR}/licenses" |
14 | 14 | ||
15 | HOSTTOOLS_NONFATAL += "free" | ||
16 | |||
15 | SIGGEN_EXCLUDERECIPES_ABISAFE += "\ | 17 | SIGGEN_EXCLUDERECIPES_ABISAFE += "\ |
16 | ca-certificates-java \ | 18 | ca-certificates-java \ |
17 | " | 19 | " |
diff --git a/docs/update8checksums.sh b/docs/update8checksums.sh index 476841b..ccf68d1 100755 --- a/docs/update8checksums.sh +++ b/docs/update8checksums.sh | |||
@@ -31,7 +31,7 @@ COMMON_TAG="jdk8u${OPENJDK_UPDATE}-ga" | |||
31 | 31 | ||
32 | AARCH32_BASEURL="https://hg.openjdk.java.net/aarch32-port/jdk8u" | 32 | AARCH32_BASEURL="https://hg.openjdk.java.net/aarch32-port/jdk8u" |
33 | AARCH32_CHANGESET_ID="$(grep "^CHANGESET_ID" recipes-core/openjdk/openjdk-8-release-aarch32.inc | cut -d= -f2 | tr -d \")" | 33 | AARCH32_CHANGESET_ID="$(grep "^CHANGESET_ID" recipes-core/openjdk/openjdk-8-release-aarch32.inc | cut -d= -f2 | tr -d \")" |
34 | AARCH32_TAG="jdk8u${OPENJDK_UPDATE}-ga-aarch32-${AARCH32_CHANGESET_ID}" | 34 | AARCH32_TAG="jdk8u${OPENJDK_UPDATE}-${AARCH32_CHANGESET_ID}" |
35 | 35 | ||
36 | AARCH64_BASEURL="https://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah" | 36 | AARCH64_BASEURL="https://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah" |
37 | AARCH64_CHANGESET_ID="$(grep "^CHANGESET_ID" recipes-core/openjdk/openjdk-8-release-aarch64.inc | cut -d= -f2 | tr -d \")" | 37 | AARCH64_CHANGESET_ID="$(grep "^CHANGESET_ID" recipes-core/openjdk/openjdk-8-release-aarch64.inc | cut -d= -f2 | tr -d \")" |
diff --git a/lib/oeqa/runtime/cases/java.py b/lib/oeqa/runtime/cases/java.py index c1e1498..d366d61 100644 --- a/lib/oeqa/runtime/cases/java.py +++ b/lib/oeqa/runtime/cases/java.py | |||
@@ -20,6 +20,7 @@ class JavaTest(OERuntimeTestCase): | |||
20 | cls.tc.target.run('rm %s' % dst) | 20 | cls.tc.target.run('rm %s' % dst) |
21 | 21 | ||
22 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 22 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
23 | @OEHasPackage(["openjdk-7-jre", "openjdk-7", "openjre-8", "openjdk-8"]) | ||
23 | def test_java_exists(self): | 24 | def test_java_exists(self): |
24 | status, output = self.target.run('which java') | 25 | status, output = self.target.run('which java') |
25 | msg = 'java binary not in PATH or not on target.' | 26 | msg = 'java binary not in PATH or not on target.' |
diff --git a/lib/oeqa/runtime/cases/javac.py b/lib/oeqa/runtime/cases/javac.py index 39ae298..3f11511 100644 --- a/lib/oeqa/runtime/cases/javac.py +++ b/lib/oeqa/runtime/cases/javac.py | |||
@@ -18,12 +18,16 @@ class JavacTest(OERuntimeTestCase): | |||
18 | dst = '/tmp/test.java /tmp/test.class' | 18 | dst = '/tmp/test.java /tmp/test.class' |
19 | cls.tc.target.run('rm %s' % dst) | 19 | cls.tc.target.run('rm %s' % dst) |
20 | 20 | ||
21 | @OETestDepends(['ssh.SSHTest.test_ssh']) | ||
22 | @OEHasPackage(["openjdk-7", "openjdk-8"]) | ||
21 | @OETestDepends(['java.JavaTest.test_java_exists']) | 23 | @OETestDepends(['java.JavaTest.test_java_exists']) |
22 | def test_javac_exists(self): | 24 | def test_javac_exists(self): |
23 | status, output = self.target.run('which javac') | 25 | status, output = self.target.run('which javac') |
24 | msg = 'javac binary not in PATH or not on target.' | 26 | msg = 'javac binary not in PATH or not on target.' |
25 | self.assertEqual(status, 0, msg=msg) | 27 | self.assertEqual(status, 0, msg=msg) |
26 | 28 | ||
29 | @OETestDepends(['ssh.SSHTest.test_ssh']) | ||
30 | @OEHasPackage(["openjdk-7", "openjdk-8"]) | ||
27 | @OETestDepends(['javac.JavacTest.test_javac_exists']) | 31 | @OETestDepends(['javac.JavacTest.test_javac_exists']) |
28 | def test_javac_works(self): | 32 | def test_javac_works(self): |
29 | status, output = self.target.run('javac /tmp/test.java') | 33 | status, output = self.target.run('javac /tmp/test.java') |
diff --git a/recipes-core/ant/ant-native_1.8.1.bb b/recipes-core/ant/ant-native_1.8.1.bb index 7839abd..8814039 100644 --- a/recipes-core/ant/ant-native_1.8.1.bb +++ b/recipes-core/ant/ant-native_1.8.1.bb | |||
@@ -20,7 +20,7 @@ DEPENDS = " \ | |||
20 | junit-native jdepend-native commons-net-native commons-logging-native \ | 20 | junit-native jdepend-native commons-net-native commons-logging-native \ |
21 | " | 21 | " |
22 | 22 | ||
23 | do_removecruft() { | 23 | do_deletecruft() { |
24 | # Removes thing that need proprietary Jar files or are otherwise problematic | 24 | # Removes thing that need proprietary Jar files or are otherwise problematic |
25 | rm -rf ${S}/src/main/org/apache/tools/ant/taskdefs/optional/image | 25 | rm -rf ${S}/src/main/org/apache/tools/ant/taskdefs/optional/image |
26 | rm -rf ${S}/src/main/org/apache/tools/ant/types/optional/image | 26 | rm -rf ${S}/src/main/org/apache/tools/ant/types/optional/image |
@@ -30,7 +30,7 @@ do_removecruft() { | |||
30 | rm -rf ${S}/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java | 30 | rm -rf ${S}/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java |
31 | } | 31 | } |
32 | 32 | ||
33 | addtask removecruft before do_patch after do_removebinaries | 33 | addtask deletecruft before do_patch after do_deletebinaries |
34 | 34 | ||
35 | do_compile() { | 35 | do_compile() { |
36 | mkdir -p build | 36 | mkdir -p build |
@@ -57,7 +57,7 @@ do_compile() { | |||
57 | sed -i -e"s|@JAR_FILE@|$cp|" ${WORKDIR}/ant | 57 | sed -i -e"s|@JAR_FILE@|$cp|" ${WORKDIR}/ant |
58 | } | 58 | } |
59 | 59 | ||
60 | do_install_append() { | 60 | do_install:append() { |
61 | install -d ${D}${bindir} | 61 | install -d ${D}${bindir} |
62 | install -m 0755 ${WORKDIR}/ant ${D}${bindir} | 62 | install -m 0755 ${WORKDIR}/ant ${D}${bindir} |
63 | } | 63 | } |
diff --git a/recipes-core/antlr/antlr_2.7.7.bb b/recipes-core/antlr/antlr_2.7.7.bb index d2453a9..d744201 100644 --- a/recipes-core/antlr/antlr_2.7.7.bb +++ b/recipes-core/antlr/antlr_2.7.7.bb | |||
@@ -5,11 +5,11 @@ LICENSE = "PD" | |||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=361934e706423915b4d9f413ad37fb65" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=361934e706423915b4d9f413ad37fb65" |
6 | 6 | ||
7 | SRC_URI = "http://www.antlr2.org/download/${BP}.tar.gz" | 7 | SRC_URI = "http://www.antlr2.org/download/${BP}.tar.gz" |
8 | SRC_URI_append_class-native = " file://runantlr" | 8 | SRC_URI:append:class-native = " file://runantlr" |
9 | 9 | ||
10 | inherit java-library | 10 | inherit java-library |
11 | 11 | ||
12 | do_configure_class-native() { | 12 | do_configure:class-native() { |
13 | sed -i -e"s|@JAR_FILE@|${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar|" ${WORKDIR}/runantlr | 13 | sed -i -e"s|@JAR_FILE@|${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar|" ${WORKDIR}/runantlr |
14 | } | 14 | } |
15 | 15 | ||
@@ -21,7 +21,7 @@ do_compile() { | |||
21 | fastjar cf ${JARFILENAME} -C build . | 21 | fastjar cf ${JARFILENAME} -C build . |
22 | } | 22 | } |
23 | 23 | ||
24 | do_install_class-native() { | 24 | do_install:class-native() { |
25 | install -d ${D}${bindir} | 25 | install -d ${D}${bindir} |
26 | install -m 0755 ${WORKDIR}/runantlr ${D}${bindir}/ | 26 | install -m 0755 ${WORKDIR}/runantlr ${D}${bindir}/ |
27 | } | 27 | } |
diff --git a/recipes-core/ca-certificates-java/ca-certificates-java_20180516.bb b/recipes-core/ca-certificates-java/ca-certificates-java_20180516.bb index feaa7dc..2405b30 100644 --- a/recipes-core/ca-certificates-java/ca-certificates-java_20180516.bb +++ b/recipes-core/ca-certificates-java/ca-certificates-java_20180516.bb | |||
@@ -17,7 +17,7 @@ DEPENDS = "virtual/javac-native fastjar-native" | |||
17 | PACKAGE_WRITE_DEPS += "openjdk-8-native" | 17 | PACKAGE_WRITE_DEPS += "openjdk-8-native" |
18 | 18 | ||
19 | SRC_URI = "\ | 19 | SRC_URI = "\ |
20 | git://salsa.debian.org/java-team/ca-certificates-java.git \ | 20 | git://salsa.debian.org/java-team/ca-certificates-java.git;branch=master;protocol=https \ |
21 | file://0001-UpdateCertificates-handle-SYSROOT-environment-variab.patch \ | 21 | file://0001-UpdateCertificates-handle-SYSROOT-environment-variab.patch \ |
22 | file://${BPN}.hook.in \ | 22 | file://${BPN}.hook.in \ |
23 | " | 23 | " |
@@ -37,7 +37,7 @@ python () { | |||
37 | raise bb.parse.SkipRecipe("PREFERRED_RPROVIDER_java2-runtime '%s' unsupported" % runtime) | 37 | raise bb.parse.SkipRecipe("PREFERRED_RPROVIDER_java2-runtime '%s' unsupported" % runtime) |
38 | } | 38 | } |
39 | 39 | ||
40 | do_patch_append () { | 40 | do_patch:append () { |
41 | bb.build.exec_func('do_fix_sysconfdir', d) | 41 | bb.build.exec_func('do_fix_sysconfdir', d) |
42 | } | 42 | } |
43 | 43 | ||
@@ -78,7 +78,7 @@ do_install () { | |||
78 | ${D}${sbindir}/create-ca-certificates-java | 78 | ${D}${sbindir}/create-ca-certificates-java |
79 | } | 79 | } |
80 | 80 | ||
81 | pkg_postinst_${PN} () { | 81 | pkg_postinst:${PN} () { |
82 | if [ -n "$D" ] ; then | 82 | if [ -n "$D" ] ; then |
83 | # In this case we want to use the Java in the image recipe's | 83 | # In this case we want to use the Java in the image recipe's |
84 | # native sysroot (native Java, not qemu target Java) to | 84 | # native sysroot (native Java, not qemu target Java) to |
@@ -98,10 +98,9 @@ pkg_postinst_${PN} () { | |||
98 | JVM_LIBDIR=$JVM_LIBDIR $D${sbindir}/create-ca-certificates-java | 98 | JVM_LIBDIR=$JVM_LIBDIR $D${sbindir}/create-ca-certificates-java |
99 | } | 99 | } |
100 | 100 | ||
101 | RDEPENDS_${PN} = "ca-certificates" | 101 | RDEPENDS:${PN} = "ca-certificates" |
102 | RDEPENDS_${PN}_append_class-target = " java2-runtime" | 102 | RDEPENDS:${PN}:append:class-target = " java2-runtime" |
103 | RDEPENDS_${PN}_append_class-native = " virtual/java-native" | ||
104 | 103 | ||
105 | FILES_${PN} += "${datadir_java}" | 104 | FILES:${PN} += "${datadir_java}" |
106 | 105 | ||
107 | BBCLASSEXTEND = "native" | 106 | BBCLASSEXTEND = "native" |
diff --git a/recipes-core/cacao/cacao-initial-native_0.98.bb b/recipes-core/cacao/cacao-initial-native_0.98.bb index 8125e88..8432456 100644 --- a/recipes-core/cacao/cacao-initial-native_0.98.bb +++ b/recipes-core/cacao/cacao-initial-native_0.98.bb | |||
@@ -6,7 +6,7 @@ SECTION = "interpreters" | |||
6 | 6 | ||
7 | PROVIDES = "virtual/java-initial-native" | 7 | PROVIDES = "virtual/java-initial-native" |
8 | 8 | ||
9 | inherit native autotools-brokensep | 9 | inherit autotools-brokensep native |
10 | 10 | ||
11 | DEPENDS = "zlib-native libtool-native fastjar-native classpath-initial-native jikes-initial-native" | 11 | DEPENDS = "zlib-native libtool-native fastjar-native classpath-initial-native jikes-initial-native" |
12 | 12 | ||
@@ -35,7 +35,7 @@ export JAVAC="jikes-initial" | |||
35 | # enforces the usage of fastjar | 35 | # enforces the usage of fastjar |
36 | export JAR="fastjar" | 36 | export JAR="fastjar" |
37 | 37 | ||
38 | do_configure_append() { | 38 | do_configure:append() { |
39 | # Fix the executable name in the wrapper script. | 39 | # Fix the executable name in the wrapper script. |
40 | sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/java.in | 40 | sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/java.in |
41 | } | 41 | } |
diff --git a/recipes-core/cacao/cacao-2d6f6c14daf9/cacao-1.6.1-do-not-rely-on-absolute-paths.patch b/recipes-core/cacao/cacao/0001-java.in-Do-not-use-hardcode-paths.patch index 665377b..521814e 100644 --- a/recipes-core/cacao/cacao-2d6f6c14daf9/cacao-1.6.1-do-not-rely-on-absolute-paths.patch +++ b/recipes-core/cacao/cacao/0001-java.in-Do-not-use-hardcode-paths.patch | |||
@@ -1,25 +1,31 @@ | |||
1 | java.in: Do not use hardcode paths | 1 | From 51a63cdac93caf69d1b6ace40f73f6147ba37de5 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Erkka=20K=C3=A4=C3=A4ri=C3=A4?= <erkka.kaaria@intel.com> | ||
3 | Date: Thu, 20 Aug 2020 13:48:38 +0200 | ||
4 | Subject: [PATCH 1/2] java.in: Do not use hardcode paths | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
2 | 8 | ||
3 | Cacao uses hardcoded paths to various files, if these paths are not | 9 | Cacao uses hardcoded paths to various files, if these paths are not |
4 | provided. This causes issues when sharing sstate with otherwise | 10 | provided. This causes issues when sharing sstate with otherwise |
5 | identical workers, if build time paths are not identical. | 11 | identical workers, if build time paths are not identical. |
6 | 12 | ||
7 | Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> | ||
8 | |||
9 | Upstream-Status: Inappropriate [Yocto-specific fixes] | 13 | Upstream-Status: Inappropriate [Yocto-specific fixes] |
10 | 14 | ||
15 | Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> | ||
16 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
11 | --- | 17 | --- |
12 | cacao-1.6.1/src/scripts/java.in | 16 ++++++++++++++-- | 18 | src/scripts/java.in | 15 +++++++++++++-- |
13 | 1 file changed, 14 insertions(+), 2 deletions(-) | 19 | 1 file changed, 13 insertions(+), 2 deletions(-) |
14 | 20 | ||
15 | diff --git cacao-1.6.1/src/scripts/java.in cacao-1.6.1/src/scripts/java.in | 21 | diff --git a/src/scripts/java.in b/src/scripts/java.in |
16 | index 0790f02..2118de7 100644 | 22 | index 0790f0255..a4f16ecdc 100644 |
17 | --- cacao-1.6.1/src/scripts/java.in | 23 | --- a/src/scripts/java.in |
18 | +++ cacao-1.6.1/src/scripts/java.in | 24 | +++ b/src/scripts/java.in |
19 | @@ -22,5 +22,17 @@ | 25 | @@ -22,5 +22,16 @@ |
20 | ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 26 | ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
21 | ## 02110-1301, USA. | 27 | ## 02110-1301, USA. |
22 | 28 | ||
23 | -IFS="" | 29 | -IFS="" |
24 | -exec $(dirname ${0})/cacao ${1+"$@"} | 30 | -exec $(dirname ${0})/cacao ${1+"$@"} |
25 | +SH_DIR=`dirname "$0"` | 31 | +SH_DIR=`dirname "$0"` |
@@ -35,7 +41,6 @@ index 0790f02..2118de7 100644 | |||
35 | +export BOOTCLASSPATH="${PARENT_DIR}/share/cacao/vm.zip:${PARENT_DIR}/share/classpath/glibj.zip" | 41 | +export BOOTCLASSPATH="${PARENT_DIR}/share/cacao/vm.zip:${PARENT_DIR}/share/classpath/glibj.zip" |
36 | +LIBRARY_PATH="-Djava.library.path=${PARENT_DIR}/lib/classpath" | 42 | +LIBRARY_PATH="-Djava.library.path=${PARENT_DIR}/lib/classpath" |
37 | +exec ${REAL_DIR}/cacao ${LIBRARY_PATH} ${1+"$@"} | 43 | +exec ${REAL_DIR}/cacao ${LIBRARY_PATH} ${1+"$@"} |
38 | + | 44 | -- |
39 | -- | 45 | 2.28.0 |
40 | 2.7.4 | ||
41 | 46 | ||
diff --git a/recipes-core/cacao/cacao-2d6f6c14daf9/system-boehm-gc.patch b/recipes-core/cacao/cacao/0002-cacao-use-system-s-boehm-garbage-collector.patch index c30f5be..102e9a7 100644 --- a/recipes-core/cacao/cacao-2d6f6c14daf9/system-boehm-gc.patch +++ b/recipes-core/cacao/cacao/0002-cacao-use-system-s-boehm-garbage-collector.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | cacao: use system's boehm garbage collector | 1 | From 7833101c8c8938d58a32e355b9af1b56e4229a87 Mon Sep 17 00:00:00 2001 |
2 | From: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> | ||
3 | Date: Thu, 20 Aug 2020 13:50:47 +0200 | ||
4 | Subject: [PATCH 2/2] cacao: use system's boehm garbage collector | ||
2 | 5 | ||
3 | This is a Gentoo's patch [1] to force the use of system's bdwgc. | 6 | This is a Gentoo's patch [1] to force the use of system's bdwgc. |
4 | 7 | ||
@@ -10,11 +13,17 @@ with the system's version. | |||
10 | Upstream-Status: Inappropriate [not author] | 13 | Upstream-Status: Inappropriate [not author] |
11 | 14 | ||
12 | Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> | 15 | Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> |
16 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
17 | --- | ||
18 | configure.ac | 8 ++------ | ||
19 | src/mm/Makefile.am | 9 ++++----- | ||
20 | 2 files changed, 6 insertions(+), 11 deletions(-) | ||
13 | 21 | ||
14 | diff --git a/configure.ac b/configure.ac | 22 | diff --git a/configure.ac b/configure.ac |
23 | index aceb2033b..db8a9770e 100644 | ||
15 | --- a/configure.ac | 24 | --- a/configure.ac |
16 | +++ b/configure.ac | 25 | +++ b/configure.ac |
17 | @@ -691,6 +691,8 @@ | 26 | @@ -738,6 +738,8 @@ AC_CHECK_ENABLE_GCC_PR40134 |
18 | 27 | ||
19 | AC_CHECK_ENABLE_PIC_ASM | 28 | AC_CHECK_ENABLE_PIC_ASM |
20 | 29 | ||
@@ -23,7 +32,7 @@ diff --git a/configure.ac b/configure.ac | |||
23 | dnl Define version numbers. | 32 | dnl Define version numbers. |
24 | AC_VERSION_DETAIL | 33 | AC_VERSION_DETAIL |
25 | AC_VERSION_CONFIG | 34 | AC_VERSION_CONFIG |
26 | @@ -793,12 +795,6 @@ | 35 | @@ -855,12 +857,6 @@ AC_CONFIG_FILES([Makefile] |
27 | ) | 36 | ) |
28 | 37 | ||
29 | 38 | ||
@@ -37,9 +46,10 @@ diff --git a/configure.ac b/configure.ac | |||
37 | 46 | ||
38 | 47 | ||
39 | diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am | 48 | diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am |
49 | index 9d0945a29..cbd7dc963 100644 | ||
40 | --- a/src/mm/Makefile.am | 50 | --- a/src/mm/Makefile.am |
41 | +++ b/src/mm/Makefile.am | 51 | +++ b/src/mm/Makefile.am |
42 | @@ -35,14 +35,13 @@ | 52 | @@ -35,14 +35,13 @@ GC_FILE = \ |
43 | endif | 53 | endif |
44 | 54 | ||
45 | if ENABLE_GC_BOEHM | 55 | if ENABLE_GC_BOEHM |
@@ -58,3 +68,6 @@ diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am | |||
58 | endif | 68 | endif |
59 | 69 | ||
60 | if ENABLE_GC_CACAO | 70 | if ENABLE_GC_CACAO |
71 | -- | ||
72 | 2.28.0 | ||
73 | |||
diff --git a/recipes-core/cacao/cacao_2d6f6c14daf9.bb b/recipes-core/cacao/cacao_git.bb index 0e50b68..fef7f34 100644 --- a/recipes-core/cacao/cacao_2d6f6c14daf9.bb +++ b/recipes-core/cacao/cacao_git.bb | |||
@@ -4,27 +4,25 @@ LICENSE = "GPL-2.0" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
5 | SECTION = "interpreters" | 5 | SECTION = "interpreters" |
6 | 6 | ||
7 | DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-initial-native classpath-native bdwgc-native virtual/java-initial-native" | 7 | DEPENDS:class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-initial-native classpath-native bdwgc-native virtual/java-initial-native" |
8 | PROVIDES_class-native = "virtual/java-native" | 8 | PROVIDES:class-native = "virtual/java-native" |
9 | 9 | ||
10 | DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" | 10 | DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" |
11 | RPROVIDES_${PN} = "java2-runtime" | 11 | RPROVIDES:${PN} = "java2-runtime" |
12 | 12 | ||
13 | SRC_URI = "https://bitbucket.org/cacaovm/cacao-staging/get/${PV}.zip \ | 13 | SRCREV = "6c4694f9bd175386a8c451531e9a5ad97aa23b6f" |
14 | file://system-boehm-gc.patch \ | 14 | SRC_URI = "git://bitbucket.org/cacaovm/cacao.git;protocol=https;branch=master \ |
15 | file://cacao-1.6.1-do-not-rely-on-absolute-paths.patch \ | 15 | file://0001-java.in-Do-not-use-hardcode-paths.patch \ |
16 | file://0002-cacao-use-system-s-boehm-garbage-collector.patch \ | ||
16 | " | 17 | " |
17 | S = "${WORKDIR}/cacaovm-cacao-staging-${PV}" | 18 | S = "${WORKDIR}/git" |
18 | |||
19 | SRC_URI[md5sum] = "5157d0bb9eb1332f7a6b6186eaac01aa" | ||
20 | SRC_URI[sha256sum] = "34b51d660d69c2a83225fd75eab5e1fac002fb5974cb4a74b7478baf923a76cd" | ||
21 | 19 | ||
22 | inherit java autotools-brokensep update-alternatives pkgconfig features_check | 20 | inherit java autotools-brokensep update-alternatives pkgconfig features_check |
23 | 21 | ||
24 | REQUIRED_DISTRO_FEATURES = "x11" | 22 | REQUIRED_DISTRO_FEATURES = "x11" |
25 | REQUIRED_DISTRO_FEATURES_class-native := "" | 23 | REQUIRED_DISTRO_FEATURES:class-native := "" |
26 | 24 | ||
27 | EXTRA_OECONF_class-native = "\ | 25 | EXTRA_OECONF:class-native = "\ |
28 | --enable-debug \ | 26 | --enable-debug \ |
29 | --with-vm-zip=${datadir}/cacao/vm.zip \ | 27 | --with-vm-zip=${datadir}/cacao/vm.zip \ |
30 | --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \ | 28 | --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \ |
@@ -35,7 +33,7 @@ EXTRA_OECONF_class-native = "\ | |||
35 | --disable-libjvm \ | 33 | --disable-libjvm \ |
36 | " | 34 | " |
37 | 35 | ||
38 | CACHED_CONFIGUREVARS_class-native += "ac_cv_prog_JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial" | 36 | CACHED_CONFIGUREVARS:class-native += "ac_cv_prog_JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial" |
39 | 37 | ||
40 | EXTRA_OECONF = "\ | 38 | EXTRA_OECONF = "\ |
41 | --with-vm-zip=${datadir}/cacao/vm.zip \ | 39 | --with-vm-zip=${datadir}/cacao/vm.zip \ |
@@ -48,21 +46,21 @@ EXTRA_OECONF = "\ | |||
48 | --disable-test-dependency-checks \ | 46 | --disable-test-dependency-checks \ |
49 | " | 47 | " |
50 | 48 | ||
51 | do_configure_prepend () { | 49 | do_configure:prepend () { |
52 | # upgrade m4 macros in source tree | 50 | # upgrade m4 macros in source tree |
53 | libtoolize --force --copy --install | 51 | libtoolize --force --copy --install |
54 | rm -f src/mm/boehm-gc/ltmain.sh | 52 | rm -f src/mm/boehm-gc/ltmain.sh |
55 | mkdir -p src/mm/boehm-gc/m4 | 53 | mkdir -p src/mm/boehm-gc/m4 |
56 | } | 54 | } |
57 | 55 | ||
58 | do_install_append_class-target() { | 56 | do_install:append:class-target() { |
59 | rm ${D}/${bindir}/java | 57 | rm ${D}/${bindir}/java |
60 | } | 58 | } |
61 | 59 | ||
62 | FILES_${PN} = "${bindir}/${PN} ${libdir}/cacao/lib*.so ${libdir}/lib*.so* ${datadir}/${PN}" | 60 | FILES:${PN} = "${bindir}/${PN} ${libdir}/cacao/lib*.so ${libdir}/lib*.so* ${datadir}/${PN}" |
63 | FILES_${PN}-dbg += "${bindir}/.debug ${libdir}/.debug/lib*.so*" | 61 | FILES:${PN}-dbg += "${bindir}/.debug ${libdir}/.debug/lib*.so*" |
64 | FILES_${PN}-doc += "${datadir}/gc" | 62 | FILES:${PN}-doc += "${datadir}/gc" |
65 | 63 | ||
66 | BBCLASSEXTEND = "native" | 64 | BBCLASSEXTEND = "native" |
67 | 65 | ||
68 | COMPATIBLE_MACHINE_aarch64 = "-" | 66 | COMPATIBLE_MACHINE:aarch64 = "-" |
diff --git a/recipes-core/classpath/classpath-features-check.inc b/recipes-core/classpath/classpath-features-check.inc new file mode 100644 index 0000000..c238fc3 --- /dev/null +++ b/recipes-core/classpath/classpath-features-check.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # | ||
3 | # SPDX-License-Identifier: Apache-2.0 | ||
4 | |||
5 | inherit features_check | ||
6 | REQUIRED_DISTRO_FEATURES = "x11" | ||
diff --git a/recipes-core/classpath/classpath-initial-native_0.93.bb b/recipes-core/classpath/classpath-initial-native_0.93.bb index 51229ec..7bb1ca1 100644 --- a/recipes-core/classpath/classpath-initial-native_0.93.bb +++ b/recipes-core/classpath/classpath-initial-native_0.93.bb | |||
@@ -28,7 +28,7 @@ EXTRA_OECONF += "\ | |||
28 | # Ensure tools.zip is not installed at same path as classpath-native | 28 | # Ensure tools.zip is not installed at same path as classpath-native |
29 | EXTRA_OEMAKE += "pkgdatadir=${STAGING_DATADIR_NATIVE}/classpath-initial" | 29 | EXTRA_OEMAKE += "pkgdatadir=${STAGING_DATADIR_NATIVE}/classpath-initial" |
30 | 30 | ||
31 | do_install_append() { | 31 | do_install:append() { |
32 | # remove files clashing with classpath-native in sysroot | 32 | # remove files clashing with classpath-native in sysroot |
33 | rm \ | 33 | rm \ |
34 | ${D}${bindir}/gappletviewer \ | 34 | ${D}${bindir}/gappletviewer \ |
diff --git a/recipes-core/classpath/classpath-native.inc b/recipes-core/classpath/classpath-native.inc index b1de458..c81e064 100644 --- a/recipes-core/classpath/classpath-native.inc +++ b/recipes-core/classpath/classpath-native.inc | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=af0004801732bc4b20d90f351cf80510" | |||
5 | 5 | ||
6 | DEPENDS = "fastjar-native zip-native" | 6 | DEPENDS = "fastjar-native zip-native" |
7 | 7 | ||
8 | inherit autotools native gettext | 8 | inherit autotools gettext native |
9 | 9 | ||
10 | SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" | 10 | SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" |
11 | 11 | ||
diff --git a/recipes-core/classpath/classpath-native_0.99.bb b/recipes-core/classpath/classpath-native_0.99.bb index daf7611..ecf8c0a 100644 --- a/recipes-core/classpath/classpath-native_0.99.bb +++ b/recipes-core/classpath/classpath-native_0.99.bb | |||
@@ -23,7 +23,7 @@ EXTRA_OECONF += "\ | |||
23 | --includedir=${STAGING_INCDIR}/classpath \ | 23 | --includedir=${STAGING_INCDIR}/classpath \ |
24 | " | 24 | " |
25 | 25 | ||
26 | do_compile_append () { | 26 | do_compile:append () { |
27 | # tools using java-initial rather than java sed it out | 27 | # tools using java-initial rather than java sed it out |
28 | cd tools | 28 | cd tools |
29 | sed -e "s/java-initial/java/g" \ | 29 | sed -e "s/java-initial/java/g" \ |
diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc index e23b752..35e7db3 100644 --- a/recipes-core/classpath/classpath.inc +++ b/recipes-core/classpath/classpath.inc | |||
@@ -7,19 +7,19 @@ LICENSE = "GPL-2.0 & SAX-PD" | |||
7 | 7 | ||
8 | PBN = "classpath" | 8 | PBN = "classpath" |
9 | 9 | ||
10 | inherit autotools java gettext | 10 | inherit autotools pkgconfig java gettext |
11 | 11 | ||
12 | DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file" | 12 | DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file" |
13 | 13 | ||
14 | RPROVIDES_${PN} = "" | 14 | RPROVIDES:${PN} = "" |
15 | 15 | ||
16 | RDEPENDS_${PN} = "${PBN}-common (>= ${PV})" | 16 | RDEPENDS:${PN} = "${PBN}-common (>= ${PV})" |
17 | RDEPENDS_${PN}-examples = "java2-runtime ${PN}-awt" | 17 | RDEPENDS:${PN}-examples = "java2-runtime ${PN}-awt" |
18 | RDEPENDS_${PN}-tools = "java2-runtime" | 18 | RDEPENDS:${PN}-tools = "java2-runtime" |
19 | 19 | ||
20 | RPROVIDES_${PN} = "${PBN}" | 20 | RPROVIDES:${PN} = "${PBN}" |
21 | RPROVIDES_${PN}-common = "${PBN}-common" | 21 | RPROVIDES:${PN}-common = "${PBN}-common" |
22 | RPROVIDES_${PN}-gtk = "${PBN}-awt" | 22 | RPROVIDES:${PN}-gtk = "${PBN}-awt" |
23 | 23 | ||
24 | PR = "r3" | 24 | PR = "r3" |
25 | 25 | ||
@@ -49,7 +49,7 @@ EXTRA_OECONF = "\ | |||
49 | EXTRA_OECONF += "\ | 49 | EXTRA_OECONF += "\ |
50 | " | 50 | " |
51 | 51 | ||
52 | do_configure_prepend () { | 52 | do_configure:prepend () { |
53 | cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S} | 53 | cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S} |
54 | } | 54 | } |
55 | 55 | ||
@@ -60,7 +60,7 @@ do_install() { | |||
60 | } | 60 | } |
61 | 61 | ||
62 | # We really have valid non-symlink .so files | 62 | # We really have valid non-symlink .so files |
63 | INSANE_SKIP_${PN} = "dev-so" | 63 | INSANE_SKIP:${PN} = "dev-so" |
64 | 64 | ||
65 | # Defines the packages that this classpath recipe creates. | 65 | # Defines the packages that this classpath recipe creates. |
66 | # This allows the classpath-minimal variants to override this | 66 | # This allows the classpath-minimal variants to override this |
@@ -71,20 +71,20 @@ CPPACKAGES = "${PBN}-common ${PN}-examples \ | |||
71 | 71 | ||
72 | PACKAGES =+ "${CPPACKAGES}" | 72 | PACKAGES =+ "${CPPACKAGES}" |
73 | 73 | ||
74 | FILES_${PN}-dev += "${libdir}/${PBN}/*.la ${incdir}/${PBN}" | 74 | FILES:${PN}-dev += "${libdir}/${PBN}/*.la ${incdir}/${PBN}" |
75 | 75 | ||
76 | FILES_${PBN}-common = "${datadir}/${PBN}/glibj.zip ${libdir}/logging.properties ${libdir}/${PBN}/security" | 76 | FILES:${PBN}-common = "${datadir}/${PBN}/glibj.zip ${libdir}/logging.properties ${libdir}/${PBN}/security" |
77 | FILES_${PN}-examples = "${datadir}/${PBN}/examples" | 77 | FILES:${PN}-examples = "${datadir}/${PBN}/examples" |
78 | 78 | ||
79 | FILES_${PN}-tools = "${datadir}/${PBN}/tools.zip ${bindir}" | 79 | FILES:${PN}-tools = "${datadir}/${PBN}/tools.zip ${bindir}" |
80 | FILES_${PN}-tools-doc = "${mandir}" | 80 | FILES:${PN}-tools-doc = "${mandir}" |
81 | 81 | ||
82 | FILES_${PN}-dbg += "${libdir}/${PBN}/.debug" | 82 | FILES:${PN}-dbg += "${libdir}/${PBN}/.debug" |
83 | FILES_${PN}-doc = "${infodir}" | 83 | FILES:${PN}-doc = "${infodir}" |
84 | 84 | ||
85 | # gcjwebplugin - not built yet | 85 | # gcjwebplugin - not built yet |
86 | #FILES_${PN}-gcjwebplugin = "${libdir}/${PBN}/libgcjwebplugin.so" | 86 | #FILES_${PN}-gcjwebplugin = "${libdir}/${PBN}/libgcjwebplugin.so" |
87 | FILES_${PN}-gtk = "${libdir}/${PBN}/libgtkpeer.so ${libdir}/${PBN}/libjawt.so" | 87 | FILES:${PN}-gtk = "${libdir}/${PBN}/libgtkpeer.so ${libdir}/${PBN}/libjawt.so" |
88 | FILES_${PN}-gconf = "${libdir}/${PBN}/libgconfpeer.so" | 88 | FILES:${PN}-gconf = "${libdir}/${PBN}/libgconfpeer.so" |
89 | FILES_${PN} = "${libdir}/${PBN}/lib*so*" | 89 | FILES:${PN} = "${libdir}/${PBN}/lib*so*" |
90 | 90 | ||
diff --git a/recipes-core/classpath/classpath_0.99.bb b/recipes-core/classpath/classpath_0.99.bb index 5b9d904..f18ad1d 100644 --- a/recipes-core/classpath/classpath_0.99.bb +++ b/recipes-core/classpath/classpath_0.99.bb | |||
@@ -1,8 +1,6 @@ | |||
1 | require classpath.inc | 1 | require classpath.inc |
2 | 2 | ||
3 | inherit features_check | 3 | include classpath-features-check.inc |
4 | |||
5 | REQUIRED_DISTRO_FEATURES = "x11" | ||
6 | 4 | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=92acc79f1f429143f4624d07b253702a" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=92acc79f1f429143f4624d07b253702a" |
8 | 6 | ||
diff --git a/recipes-core/cup/cup_0.10k.bb b/recipes-core/cup/cup_0.10k.bb index 3ce5a21..ce81453 100644 --- a/recipes-core/cup/cup_0.10k.bb +++ b/recipes-core/cup/cup_0.10k.bb | |||
@@ -4,8 +4,8 @@ LICENSE = "CUP" | |||
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=2c9db91c00f38e52cfc8e67bafaa7c33" | 4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=2c9db91c00f38e52cfc8e67bafaa7c33" |
5 | 5 | ||
6 | 6 | ||
7 | RDEPENDS_${PN} = "java2-runtime" | 7 | RDEPENDS:${PN} = "java2-runtime" |
8 | RDEPENDS_${PN}_class-native = "" | 8 | RDEPENDS:${PN}:class-native = "" |
9 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | 9 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
10 | 10 | ||
11 | inherit java-library | 11 | inherit java-library |
@@ -32,14 +32,14 @@ do_compile() { | |||
32 | fastjar cf ${BP}.jar -C build . | 32 | fastjar cf ${BP}.jar -C build . |
33 | } | 33 | } |
34 | 34 | ||
35 | do_install_append() { | 35 | do_install:append() { |
36 | install -d ${D}${bindir} | 36 | install -d ${D}${bindir} |
37 | install -m 0755 ${WORKDIR}/cup ${D}${bindir} | 37 | install -m 0755 ${WORKDIR}/cup ${D}${bindir} |
38 | } | 38 | } |
39 | 39 | ||
40 | PACKAGES = "${PN}" | 40 | PACKAGES = "${PN}" |
41 | 41 | ||
42 | FILES_${PN} += "${datadir_java}" | 42 | FILES:${PN} += "${datadir_java}" |
43 | 43 | ||
44 | SRC_URI[md5sum] = "8b11edfec13c590ea443d0f0ae0da479" | 44 | SRC_URI[md5sum] = "8b11edfec13c590ea443d0f0ae0da479" |
45 | SRC_URI[sha256sum] = "7e6dc5be74ae56c7e86e69ad0ad88dae3b2847afa9e73a76635918a6b1eb75cd" | 45 | SRC_URI[sha256sum] = "7e6dc5be74ae56c7e86e69ad0ad88dae3b2847afa9e73a76635918a6b1eb75cd" |
diff --git a/recipes-core/ecj/libecj-bootstrap.inc b/recipes-core/ecj/libecj-bootstrap.inc index 04425f4..2f3cc97 100644 --- a/recipes-core/ecj/libecj-bootstrap.inc +++ b/recipes-core/ecj/libecj-bootstrap.inc | |||
@@ -9,7 +9,7 @@ DEPENDS = "classpath-initial-native fastjar-native jikes-initial-native virtual/ | |||
9 | 9 | ||
10 | INC_PR = "r5" | 10 | INC_PR = "r5" |
11 | 11 | ||
12 | inherit native java | 12 | inherit java native |
13 | 13 | ||
14 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}" |
15 | 15 | ||
@@ -54,6 +54,7 @@ do_compile() { | |||
54 | 54 | ||
55 | fastjar -c -C build . -f ${JAR} | 55 | fastjar -c -C build . -f ${JAR} |
56 | } | 56 | } |
57 | do_compile[vardepsexclude] += "BB_NUMBER_THREADS" | ||
57 | 58 | ||
58 | do_install() { | 59 | do_install() { |
59 | oe_jarinstall ${JAR} ecj-bootstrap.jar | 60 | oe_jarinstall ${JAR} ecj-bootstrap.jar |
diff --git a/recipes-core/fastjar/fastjar.inc b/recipes-core/fastjar/fastjar.inc index 2a40e3c..8412236 100644 --- a/recipes-core/fastjar/fastjar.inc +++ b/recipes-core/fastjar/fastjar.inc | |||
@@ -12,15 +12,15 @@ SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.ta | |||
12 | inherit autotools update-alternatives | 12 | inherit autotools update-alternatives |
13 | 13 | ||
14 | PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc" | 14 | PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc" |
15 | FILES_${PN}-grepjar = "${bindir}/grepjar" | 15 | FILES:${PN}-grepjar = "${bindir}/grepjar" |
16 | 16 | ||
17 | PROVIDES = "virtual/jar" | 17 | PROVIDES = "virtual/jar" |
18 | ALTERNATIVE_${PN} = "jar" | 18 | ALTERNATIVE:${PN} = "jar" |
19 | ALTERNATIVE_LINK = "${bindir}/jar" | 19 | ALTERNATIVE_LINK = "${bindir}/jar" |
20 | ALTERNATIVE_TARGET = "${bindir}/fastjar" | 20 | ALTERNATIVE_TARGET = "${bindir}/fastjar" |
21 | 21 | ||
22 | # update-aternatives does not work for native class | 22 | # update-aternatives does not work for native class |
23 | do_install_append_class-native () { | 23 | do_install:append:class-native () { |
24 | ln -s fastjar ${D}${bindir}/jar | 24 | ln -s fastjar ${D}${bindir}/jar |
25 | } | 25 | } |
26 | 26 | ||
diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc index b0b9419..d6f8fd7 100644 --- a/recipes-core/icedtea/icedtea7-native.inc +++ b/recipes-core/icedtea/icedtea7-native.inc | |||
@@ -16,24 +16,28 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} | |||
16 | PACKAGECONFIG[x11] = ",--disable-headful,libx11-native xorgproto-native libxt-native libxext-native libxrender-native" | 16 | PACKAGECONFIG[x11] = ",--disable-headful,libx11-native xorgproto-native libxt-native libxext-native libxrender-native" |
17 | 17 | ||
18 | OEMAKE_BUILD_HEADLESS_ONLY = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'BUILD_HEADLESS_ONLY=1', d)}" | 18 | OEMAKE_BUILD_HEADLESS_ONLY = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'BUILD_HEADLESS_ONLY=1', d)}" |
19 | CFLAGS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ' -DHEADLESS=true', d)}" | 19 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ' -DHEADLESS=true', d)}" |
20 | 20 | ||
21 | # Disable dead store elimination and set C++ standard to C++98. | 21 | # Disable dead store elimination and set C++ standard to C++98. |
22 | # There are dead stores in the JVM that would be pretty hard to | 22 | # There are dead stores in the JVM that would be pretty hard to |
23 | # remove, so disable the optimisation in the compiler. | 23 | # remove, so disable the optimisation in the compiler. |
24 | CFLAGS_append = " -fno-tree-dse" | 24 | CFLAGS:append = " -std=gnu++98 -fno-tree-dse -fno-tree-vectorize" |
25 | CXXFLAGS_append = " -fno-tree-dse" | 25 | CXXFLAGS:append = " -std=gnu++98 -fno-tree-dse" |
26 | CXX_append = " -std=gnu++98" | ||
27 | 26 | ||
28 | # WORKAROUND: ignore errors from new compilers | 27 | # WORKAROUND: ignore errors from new compilers |
29 | CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type" | 28 | CFLAGS:append = " -Wno-error=stringop-overflow -Wno-error=return-type" |
29 | |||
30 | # oe.utils.get_host_compiler_version returns "gcc, 9.2" and we want -> "9" | ||
31 | HOST_COMPILER_MAJOR="${@oe.utils.get_host_compiler_version(d)[1].split(".", 2)[0]}" | ||
32 | CFLAGS:append = " ${@oe.utils.less_or_equal('HOST_COMPILER_MAJOR', '8', '', ' -Wno-error=format-overflow', d)}" | ||
30 | 33 | ||
31 | # Explicitly pass -fcommon since GCC 10 defaults to -fno-common for C sources | 34 | # Explicitly pass -fcommon since GCC 10 defaults to -fno-common for C sources |
32 | CFLAGS_append = " -fcommon" | 35 | CFLAGS:append = " -fcommon" |
33 | 36 | ||
34 | inherit native java autotools pkgconfig | 37 | inherit java autotools pkgconfig |
35 | inherit openjdk-build-helper | 38 | inherit openjdk-build-helper |
36 | inherit python3native | 39 | inherit python3native |
40 | inherit native | ||
37 | 41 | ||
38 | JAVA_HOME[unexport] = "1" | 42 | JAVA_HOME[unexport] = "1" |
39 | 43 | ||
@@ -61,43 +65,41 @@ B = "${S}/build" | |||
61 | # openjdk looks in /usr/include and /usr/lib for freetype by default. | 65 | # openjdk looks in /usr/include and /usr/lib for freetype by default. |
62 | export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2" | 66 | export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2" |
63 | export ALT_FREETYPE_LIB_PATH = "${STAGING_LIBDIR}" | 67 | export ALT_FREETYPE_LIB_PATH = "${STAGING_LIBDIR}" |
68 | export ALT_CUPS_HEADERS_PATH = "${STAGING_INCDIR}" | ||
64 | 69 | ||
65 | # libfreetype.so.6 is copied from STAGING_LIBDIR | 70 | # libfreetype.so.6 is copied from STAGING_LIBDIR |
66 | # which is already stripped. | 71 | # which is already stripped. |
67 | INSANE_SKIP_${PN} = "already-stripped" | 72 | INSANE_SKIP:${PN} = "already-stripped" |
68 | 73 | ||
69 | EXTRA_OECONF = "\ | 74 | EXTRA_OECONF = "\ |
70 | --with-parallel-jobs=${@openjdk_build_helper_get_parallel_make(d)} \ | 75 | --with-parallel-jobs=${@openjdk_build_helper_get_parallel_make(d)} \ |
71 | \ | 76 | --disable-tests \ |
72 | --disable-tests \ | 77 | --disable-hotspot-tests \ |
73 | --disable-hotspot-tests \ | 78 | --disable-langtools-tests \ |
74 | --disable-langtools-tests \ | 79 | --disable-jdk-tests \ |
75 | --disable-jdk-tests \ | 80 | --disable-pulse-java \ |
76 | --disable-pulse-java \ | 81 | --disable-docs \ |
77 | --disable-docs \ | 82 | --disable-nss \ |
78 | --disable-nss \ | 83 | --disable-system-lcms \ |
79 | --disable-system-lcms \ | 84 | --disable-system-gtk \ |
80 | --disable-system-gtk \ | 85 | --with-jdk-home=${WORKDIR}/fake-jdk \ |
81 | \ | 86 | --with-javac=${STAGING_BINDIR_NATIVE}/javac \ |
82 | --with-jdk-home=${WORKDIR}/fake-jdk \ | 87 | --with-rhino=${STAGING_DATADIR_NATIVE}/java/rhino.jar \ |
83 | --with-javac=${STAGING_BINDIR_NATIVE}/javac \ | 88 | --with-openjdk-src-zip=${DL_DIR}/${OPENJDK_FILE_DOWNLOAD} \ |
84 | --with-rhino=${STAGING_DATADIR_NATIVE}/java/rhino.jar \ | 89 | --with-hotspot-src-zip=${DL_DIR}/${HOTSPOT_FILE_DOWNLOAD} \ |
85 | \ | 90 | --with-corba-src-zip=${DL_DIR}/${CORBA_FILE_DOWNLOAD} \ |
86 | --with-openjdk-src-zip=${DL_DIR}/${OPENJDK_FILE} \ | 91 | --with-jaxp-src-zip=${DL_DIR}/${JAXP_FILE_DOWNLOAD} \ |
87 | --with-hotspot-src-zip=${DL_DIR}/${HOTSPOT_FILE} \ | 92 | --with-jaxws-src-zip=${DL_DIR}/${JAXWS_FILE_DOWNLOAD} \ |
88 | --with-corba-src-zip=${DL_DIR}/${CORBA_FILE} \ | 93 | --with-jdk-src-zip=${DL_DIR}/${JDK_FILE_DOWNLOAD} \ |
89 | --with-jaxp-src-zip=${DL_DIR}/${JAXP_FILE} \ | 94 | --with-langtools-src-zip=${DL_DIR}/${LANGTOOLS_FILE_DOWNLOAD} \ |
90 | --with-jaxws-src-zip=${DL_DIR}/${JAXWS_FILE} \ | 95 | ac_cv_path_UNZIP_BIN="${STAGING_BINDIR_NATIVE}/unzip" \ |
91 | --with-jdk-src-zip=${DL_DIR}/${JDK_FILE} \ | 96 | " |
92 | --with-langtools-src-zip=${DL_DIR}/${LANGTOOLS_FILE} \ | ||
93 | ac_cv_path_UNZIP_BIN="${STAGING_BINDIR_NATIVE}/unzip" \ | ||
94 | " | ||
95 | 97 | ||
96 | JDK_DIR = "icedtea7-native" | 98 | JDK_DIR = "icedtea7-native" |
97 | 99 | ||
98 | JDK_INSTALL_DIR = "${D}/${libdir_jvm}/${JDK_DIR}" | 100 | JDK_INSTALL_DIR = "${D}/${libdir_jvm}/${JDK_DIR}" |
99 | 101 | ||
100 | do_configure_prepend() { | 102 | do_configure:prepend() { |
101 | arch="${@openjdk_build_helper_get_icedtea_arch(d)}" | 103 | arch="${@openjdk_build_helper_get_icedtea_arch(d)}" |
102 | libarch="${@openjdk_build_helper_get_icedtea_arch(d)}" | 104 | libarch="${@openjdk_build_helper_get_icedtea_arch(d)}" |
103 | 105 | ||
@@ -128,7 +130,7 @@ do_configure_prepend() { | |||
128 | 130 | ||
129 | POST_CONFIGURE_CLEAN_X11 = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'rm openjdk*/jdk/src/solaris/classes/sun/awt/X11/*.java', d)}" | 131 | POST_CONFIGURE_CLEAN_X11 = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'rm openjdk*/jdk/src/solaris/classes/sun/awt/X11/*.java', d)}" |
130 | 132 | ||
131 | do_configure_append() { | 133 | do_configure:append() { |
132 | oe_runmake patch-fsg | 134 | oe_runmake patch-fsg |
133 | 135 | ||
134 | for F in openjdk/jdk/make/common/shared/Compiler-gcc.gmk ; | 136 | for F in openjdk/jdk/make/common/shared/Compiler-gcc.gmk ; |
diff --git a/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-replace-sys-sysctl.patch b/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-replace-sys-sysctl.patch new file mode 100644 index 0000000..1c7a585 --- /dev/null +++ b/recipes-core/icedtea/openjdk-7-03b147/icedtea-jdk-replace-sys-sysctl.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | --- openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c | ||
2 | +++ openjdk/jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c | ||
3 | @@ -35,7 +35,7 @@ | ||
4 | #endif | ||
5 | #ifdef __linux__ | ||
6 | #include <unistd.h> | ||
7 | -#include <sys/sysctl.h> | ||
8 | +#include <linux/sysctl.h> | ||
9 | #include <sys/utsname.h> | ||
10 | #include <netinet/ip.h> | ||
11 | |||
12 | --- openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c | ||
13 | +++ openjdk/jdk/src/solaris/native/java/net/PlainSocketImpl.c | ||
14 | @@ -43,7 +43,7 @@ | ||
15 | #endif | ||
16 | #ifdef __linux__ | ||
17 | #include <unistd.h> | ||
18 | -#include <sys/sysctl.h> | ||
19 | +#include <linux/sysctl.h> | ||
20 | #endif | ||
21 | |||
22 | #include "jvm.h" | ||
diff --git a/recipes-core/icedtea/openjdk-7-release-03b147.inc b/recipes-core/icedtea/openjdk-7-release-03b147.inc index 9816c0c..16bf592 100644 --- a/recipes-core/icedtea/openjdk-7-release-03b147.inc +++ b/recipes-core/icedtea/openjdk-7-release-03b147.inc | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
5 | FILESPATH =. "${FILE_DIRNAME}/openjdk-7-03b147:" | 5 | FILESPATH =. "${FILE_DIRNAME}/openjdk-7-03b147:" |
6 | 6 | ||
7 | # Force arm mode for now | 7 | # Force arm mode for now |
8 | ARM_INSTRUCTION_SET_armv4t = "ARM" | 8 | ARM_INSTRUCTION_SET:armv4t = "ARM" |
9 | 9 | ||
10 | ICEDTEA_URI = "http://icedtea.wildebeest.org/download/source/${ICEDTEA}.tar.gz;name=iced" | 10 | ICEDTEA_URI = "http://icedtea.wildebeest.org/download/source/${ICEDTEA}.tar.gz;name=iced" |
11 | 11 | ||
@@ -13,50 +13,58 @@ ICEDTEA_PREFIX = "icedtea7-forest-2.1" | |||
13 | ICEDTEA_HG_URL = "http://icedtea.classpath.org/hg/release/${ICEDTEA_PREFIX}" | 13 | ICEDTEA_HG_URL = "http://icedtea.classpath.org/hg/release/${ICEDTEA_PREFIX}" |
14 | 14 | ||
15 | OPENJDK_CHANGESET = "22cc03983e20" | 15 | OPENJDK_CHANGESET = "22cc03983e20" |
16 | OPENJDK_FILE = "${OPENJDK_CHANGESET}.tar.bz2" | 16 | OPENJDK_FILE_UPSTREAM = "${OPENJDK_CHANGESET}.tar.bz2" |
17 | OPENJDK_URI = "${ICEDTEA_HG_URL}/archive/${OPENJDK_FILE};name=openjdk;unpack=false" | 17 | OPENJDK_FILE_DOWNLOAD = "openjdk-${OPENJDK_CHANGESET}.tar.bz2" |
18 | OPENJDK_URI = "${ICEDTEA_HG_URL}/archive/${OPENJDK_FILE_UPSTREAM};name=openjdk;unpack=false;downloadfilename=${OPENJDK_FILE_DOWNLOAD}" | ||
18 | SRC_URI[openjdk.md5sum] = "f98b0f7a69f9427a5b3775dddddc89cb" | 19 | SRC_URI[openjdk.md5sum] = "f98b0f7a69f9427a5b3775dddddc89cb" |
19 | SRC_URI[openjdk.sha256sum] = "758227833982371e3a94def84226a947f8dbbd176517f313b8cb96840bdea41e" | 20 | SRC_URI[openjdk.sha256sum] = "758227833982371e3a94def84226a947f8dbbd176517f313b8cb96840bdea41e" |
20 | 21 | ||
21 | HOTSPOT_CHANGESET = "8b7c4c5f6ba9" | 22 | HOTSPOT_CHANGESET = "8b7c4c5f6ba9" |
22 | HOTSPOT_FILE = "${HOTSPOT_CHANGESET}.tar.gz" | 23 | HOTSPOT_FILE_UPSTREAM = "${HOTSPOT_CHANGESET}.tar.gz" |
23 | HOTSPOT_URI = "${ICEDTEA_HG_URL}/hotspot/archive/${HOTSPOT_FILE};name=hotspot;unpack=false" | 24 | HOTSPOT_FILE_DOWNLOAD = "hotspot-${HOTSPOT_CHANGESET}.tar.gz" |
25 | HOTSPOT_URI = "${ICEDTEA_HG_URL}/hotspot/archive/${HOTSPOT_FILE_UPSTREAM};name=hotspot;unpack=false;downloadfilename=${HOTSPOT_FILE_DOWNLOAD}" | ||
24 | SRC_URI[hotspot.md5sum] = "cb45a8f19d77acc1f4f48e75e36a27fe" | 26 | SRC_URI[hotspot.md5sum] = "cb45a8f19d77acc1f4f48e75e36a27fe" |
25 | SRC_URI[hotspot.sha256sum] = "22866990d143e76ced94b76defa3051e5e5d9a51fd272d63daa0df272d6406a2" | 27 | SRC_URI[hotspot.sha256sum] = "22866990d143e76ced94b76defa3051e5e5d9a51fd272d63daa0df272d6406a2" |
26 | 28 | ||
27 | CORBA_CHANGESET = "5617f6c5cc94" | 29 | CORBA_CHANGESET = "5617f6c5cc94" |
28 | CORBA_FILE = "${CORBA_CHANGESET}.tar.gz" | 30 | CORBA_FILE_UPSTREAM = "${CORBA_CHANGESET}.tar.gz" |
29 | CORBA_URI = "${ICEDTEA_HG_URL}/corba/archive/${CORBA_FILE};name=corba;unpack=false" | 31 | CORBA_FILE_DOWNLOAD = "corba-${CORBA_CHANGESET}.tar.gz" |
32 | CORBA_URI = "${ICEDTEA_HG_URL}/corba/archive/${CORBA_FILE_UPSTREAM};name=corba;unpack=false;downloadfilename=${CORBA_FILE_DOWNLOAD}" | ||
30 | SRC_URI[corba.md5sum] = "920f1a788a7fdef29a5cd70892331251" | 33 | SRC_URI[corba.md5sum] = "920f1a788a7fdef29a5cd70892331251" |
31 | SRC_URI[corba.sha256sum] = "963915483530f311ff313635f79ed11ea7ce5a1c0dbee5d1acb1994132857fa3" | 34 | SRC_URI[corba.sha256sum] = "963915483530f311ff313635f79ed11ea7ce5a1c0dbee5d1acb1994132857fa3" |
32 | 35 | ||
33 | JAXP_CHANGESET = "7a8825b15df6" | 36 | JAXP_CHANGESET = "7a8825b15df6" |
34 | JAXP_FILE = "${JAXP_CHANGESET}.tar.gz" | 37 | JAXP_FILE_UPSTREAM = "${JAXP_CHANGESET}.tar.gz" |
35 | JAXP_URI = "${ICEDTEA_HG_URL}/jaxp/archive/${JAXP_FILE};name=jaxp;unpack=false" | 38 | JAXP_FILE_DOWNLOAD = "jaxp-${JAXP_CHANGESET}.tar.gz" |
39 | JAXP_URI = "${ICEDTEA_HG_URL}/jaxp/archive/${JAXP_FILE_UPSTREAM};name=jaxp;unpack=false;downloadfilename=${JAXP_FILE_DOWNLOAD}" | ||
36 | SRC_URI[jaxp.md5sum] = "a0982b6df79739127871e355a40ca5a6" | 40 | SRC_URI[jaxp.md5sum] = "a0982b6df79739127871e355a40ca5a6" |
37 | SRC_URI[jaxp.sha256sum] = "297c8dbeed5afa5395b6be06b17282d53f8a888c2909074dfc1605afc0daf1c2" | 41 | SRC_URI[jaxp.sha256sum] = "297c8dbeed5afa5395b6be06b17282d53f8a888c2909074dfc1605afc0daf1c2" |
38 | 42 | ||
39 | JAXWS_CHANGESET = "7edfbfe974f2" | 43 | JAXWS_CHANGESET = "7edfbfe974f2" |
40 | JAXWS_FILE = "${JAXWS_CHANGESET}.tar.gz" | 44 | JAXWS_FILE_UPSTREAM = "${JAXWS_CHANGESET}.tar.gz" |
41 | JAXWS_URI = "${ICEDTEA_HG_URL}/jaxws/archive/${JAXWS_FILE};name=jaxws;unpack=false" | 45 | JAXWS_FILE_DOWNLOAD = "jaxws-${JAXWS_CHANGESET}.tar.gz" |
46 | JAXWS_URI = "${ICEDTEA_HG_URL}/jaxws/archive/${JAXWS_FILE_UPSTREAM};name=jaxws;unpack=false;downloadfilename=${JAXWS_FILE_DOWNLOAD}" | ||
42 | SRC_URI[jaxws.md5sum] = "2deecec809ea8e38835678889c2bc3ac" | 47 | SRC_URI[jaxws.md5sum] = "2deecec809ea8e38835678889c2bc3ac" |
43 | SRC_URI[jaxws.sha256sum] = "823ca6b8fd780bf1b1565a90cfc8ec6f0ee422a5d25ffb20b1ce0272dc4955aa" | 48 | SRC_URI[jaxws.sha256sum] = "823ca6b8fd780bf1b1565a90cfc8ec6f0ee422a5d25ffb20b1ce0272dc4955aa" |
44 | 49 | ||
45 | JDK_CHANGESET = "d5ddeffc4651" | 50 | JDK_CHANGESET = "d5ddeffc4651" |
46 | JDK_FILE = "${JDK_CHANGESET}.tar.gz" | 51 | JDK_FILE_UPSTREAM = "${JDK_CHANGESET}.tar.gz" |
47 | JDK_URI = "${ICEDTEA_HG_URL}/jdk/archive/${JDK_FILE};name=jdk;unpack=false" | 52 | JDK_FILE_DOWNLOAD = "jdk-${JDK_CHANGESET}.tar.gz" |
53 | JDK_URI = "${ICEDTEA_HG_URL}/jdk/archive/${JDK_FILE_UPSTREAM};name=jdk;unpack=false;downloadfilename=${JDK_FILE_DOWNLOAD}" | ||
48 | SRC_URI[jdk.md5sum] = "27c28d6be213df818490e69f12efe475" | 54 | SRC_URI[jdk.md5sum] = "27c28d6be213df818490e69f12efe475" |
49 | SRC_URI[jdk.sha256sum] = "e83e6234842376147a4c32451f23d629ba107e908ebdb0f367657f9cc6c1be98" | 55 | SRC_URI[jdk.sha256sum] = "e83e6234842376147a4c32451f23d629ba107e908ebdb0f367657f9cc6c1be98" |
50 | 56 | ||
51 | LANGTOOLS_CHANGESET = "b534c4c6cd9b" | 57 | LANGTOOLS_CHANGESET = "b534c4c6cd9b" |
52 | LANGTOOLS_FILE = "${LANGTOOLS_CHANGESET}.tar.gz" | 58 | LANGTOOLS_FILE_UPSTREAM = "${LANGTOOLS_CHANGESET}.tar.gz" |
53 | LANGTOOLS_URI = "${ICEDTEA_HG_URL}/langtools/archive/${LANGTOOLS_FILE};name=langtools;unpack=false" | 59 | LANGTOOLS_FILE_DOWNLOAD = "langtools-${LANGTOOLS_CHANGESET}.tar.gz" |
60 | LANGTOOLS_URI = "${ICEDTEA_HG_URL}/langtools/archive/${LANGTOOLS_FILE_UPSTREAM};name=langtools;unpack=false;downloadfilename=${LANGTOOLS_FILE_DOWNLOAD}" | ||
54 | SRC_URI[langtools.md5sum] = "16b72f3fea8ac4e5b50de693e87f9c53" | 61 | SRC_URI[langtools.md5sum] = "16b72f3fea8ac4e5b50de693e87f9c53" |
55 | SRC_URI[langtools.sha256sum] = "c77dd42d83f06d18fa8aa65c93d137608a2e02cf24b68fc10d7b1c0bcc12a93c" | 62 | SRC_URI[langtools.sha256sum] = "c77dd42d83f06d18fa8aa65c93d137608a2e02cf24b68fc10d7b1c0bcc12a93c" |
56 | 63 | ||
57 | CACAO_VERSION = "a567bcb7f589" | 64 | CACAO_VERSION = "a567bcb7f589" |
58 | CACAO_FILE = "${CACAO_VERSION}.tar.gz" | 65 | CACAO_FILE_UPSTREAM = "${CACAO_VERSION}.tar.gz" |
59 | CACAO_URI = "http://icedtea.wildebeest.org/download/drops/cacao/${CACAO_FILE};name=cacao;unpack=false" | 66 | CACAO_FILE_DOWNLOAD = "cacao-${CACAO_VERSION}.tar.gz" |
67 | CACAO_URI = "http://icedtea.wildebeest.org/download/drops/cacao/${CACAO_FILE_UPSTREAM};name=cacao;unpack=false;downloadfilename=${CACAO_FILE_DOWNLOAD}" | ||
60 | SRC_URI[cacao.md5sum] = "ec1def7f0d3d25e9e7da47c480f26a73" | 68 | SRC_URI[cacao.md5sum] = "ec1def7f0d3d25e9e7da47c480f26a73" |
61 | SRC_URI[cacao.sha256sum] = "d49f79debc131a5694cae6ab3ba2864e7f3249ee8d9dc09aae8afdd4dc6b09f9" | 69 | SRC_URI[cacao.sha256sum] = "d49f79debc131a5694cae6ab3ba2864e7f3249ee8d9dc09aae8afdd4dc6b09f9" |
62 | 70 | ||
@@ -93,6 +101,7 @@ OPENJDK_PATCHES = " \ | |||
93 | file://icedtea-jdk-unzip.patch;apply=no \ | 101 | file://icedtea-jdk-unzip.patch;apply=no \ |
94 | file://icedtea-hotspot-handle-gcc7-format-overflow.patch;apply=no \ | 102 | file://icedtea-hotspot-handle-gcc7-format-overflow.patch;apply=no \ |
95 | file://icedtea-hotspot-fix-prefix_relocInfo-declaration.patch;apply=no \ | 103 | file://icedtea-hotspot-fix-prefix_relocInfo-declaration.patch;apply=no \ |
104 | file://icedtea-jdk-replace-sys-sysctl.patch;apply=no \ | ||
96 | " | 105 | " |
97 | 106 | ||
98 | OPENJDK_HEADLESS_PATCHES = " \ | 107 | OPENJDK_HEADLESS_PATCHES = " \ |
@@ -118,9 +127,10 @@ export DISTRIBUTION_PATCHES = " \ | |||
118 | patches/icedtea-jdk-unzip.patch \ | 127 | patches/icedtea-jdk-unzip.patch \ |
119 | patches/icedtea-hotspot-handle-gcc7-format-overflow.patch \ | 128 | patches/icedtea-hotspot-handle-gcc7-format-overflow.patch \ |
120 | patches/icedtea-hotspot-fix-prefix_relocInfo-declaration.patch \ | 129 | patches/icedtea-hotspot-fix-prefix_relocInfo-declaration.patch \ |
130 | patches/icedtea-jdk-replace-sys-sysctl.patch \ | ||
121 | ${CLEAN_X11_DISTRIBUTION_PATCH} \ | 131 | ${CLEAN_X11_DISTRIBUTION_PATCH} \ |
122 | " | 132 | " |
123 | 133 | ||
124 | # readdir_r was deprecated in glibc-2.24. Ignore the error for now | 134 | # readdir_r was deprecated in glibc-2.24. Ignore the error for now |
125 | # NOTE: When updating the recipe, please check if this is still needed | 135 | # NOTE: When updating the recipe, please check if this is still needed |
126 | CFLAGS_append = " -Wno-error=deprecated-declarations" | 136 | CFLAGS:append = " -Wno-error=deprecated-declarations" |
diff --git a/recipes-core/jakarta-commons/commons-beanutils_1.8.0.bb b/recipes-core/jakarta-commons/commons-beanutils_1.8.0.bb index 06287f6..2c5ecc2 100644 --- a/recipes-core/jakarta-commons/commons-beanutils_1.8.0.bb +++ b/recipes-core/jakarta-commons/commons-beanutils_1.8.0.bb | |||
@@ -7,7 +7,7 @@ DESCRIPTION = "Static utility methods useful in manipulating Java classes that c | |||
7 | SRC_URI = "http://www.apache.org/dist/commons/beanutils/source/${BP}-src.tar.gz" | 7 | SRC_URI = "http://www.apache.org/dist/commons/beanutils/source/${BP}-src.tar.gz" |
8 | 8 | ||
9 | DEPENDS += "commons-collections3 commons-logging" | 9 | DEPENDS += "commons-collections3 commons-logging" |
10 | RDEPENDS_${PN} = "libcommons-collections3-java libcommons-logging-java" | 10 | RDEPENDS:${PN} = "libcommons-collections3-java libcommons-logging-java" |
11 | 11 | ||
12 | CP = "commons-collections3 commons-logging" | 12 | CP = "commons-collections3 commons-logging" |
13 | 13 | ||
diff --git a/recipes-core/jakarta-commons/commons-configuration_1.5.bb b/recipes-core/jakarta-commons/commons-configuration_1.5.bb deleted file mode 100644 index 0f8a166..0000000 --- a/recipes-core/jakarta-commons/commons-configuration_1.5.bb +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | require jakarta-commons.inc | ||
2 | |||
3 | PR = "${INC_PR}.1" | ||
4 | |||
5 | SUMMARY = "Generic configuration interface for Java applications" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | http://archive.apache.org/dist/commons/configuration/source/${BP}-src.tar.gz;name=archive \ | ||
9 | http://ftp.hosting-studio.de/pub/linux/apache/ant/source/apache-ant-1.7.1-src.tar.bz2;name=ant \ | ||
10 | " | ||
11 | |||
12 | PNBLACKLIST[commons-configuration] ?= "BROKEN: indirectly depends on broken 'xom'" | ||
13 | |||
14 | DEPENDS += "commons-logging commons-collections3 commons-beanutils commons-codec commons-digester commons-jxpath commons-lang servlet2.4" | ||
15 | RDEPENDS_${PN} = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libcommons-codec-java libcommons-digester-java libcommons-jxpath-java libcommons-lang-java libservlet2.4-java" | ||
16 | |||
17 | CP = "commons-logging commons-collections3 commons-beanutils commons-codec commons-digester commons-jxpath commons-lang servlet-api-2.4" | ||
18 | |||
19 | # Makes use of -sourcepath hack: We inject Ant sourcefiles into the build and remove them | ||
20 | # afterwards. | ||
21 | COMPILE_SOURCEPATH = "${WORKDIR}/apache-ant-1.7.1/src/main:src/java" | ||
22 | |||
23 | CLEAN_PATH = "build/org/apache/tools" | ||
24 | |||
25 | SRC_URI[archive.md5sum] = "6a019d26d576a87eda2ef84c8ffc2e31" | ||
26 | SRC_URI[archive.sha256sum] = "06e5dd81c1302118298156f70b8138fa131ed8f258671b1b67e36a34d80357a0" | ||
27 | SRC_URI[ant.md5sum] = "0d68db4a1ada5c91bcbf53cefd0c2fd7" | ||
28 | SRC_URI[ant.sha256sum] = "4dc49a7260ef90a6dc6611b7e96b9f047d507589736d4a2ad6efbe3edfc6fba6" | ||
diff --git a/recipes-core/jakarta-commons/commons-digester_1.8.bb b/recipes-core/jakarta-commons/commons-digester_1.8.bb index 0f079f1..de264b8 100644 --- a/recipes-core/jakarta-commons/commons-digester_1.8.bb +++ b/recipes-core/jakarta-commons/commons-digester_1.8.bb | |||
@@ -7,7 +7,7 @@ SUMMARY = "Converts XML to a Java object by a set of mapping rules." | |||
7 | SRC_URI = "http://archive.apache.org/dist/commons/digester/source/${BP}-src.tar.gz" | 7 | SRC_URI = "http://archive.apache.org/dist/commons/digester/source/${BP}-src.tar.gz" |
8 | 8 | ||
9 | DEPENDS += "commons-logging commons-beanutils" | 9 | DEPENDS += "commons-logging commons-beanutils" |
10 | RDEPENDS_${PN} = "libcommons-logging-java libcommons-beanutils-java" | 10 | RDEPENDS:${PN} = "libcommons-logging-java libcommons-beanutils-java" |
11 | 11 | ||
12 | CP = "commons-logging commons-beanutils" | 12 | CP = "commons-logging commons-beanutils" |
13 | 13 | ||
diff --git a/recipes-core/jakarta-commons/commons-discovery_0.4.bb b/recipes-core/jakarta-commons/commons-discovery_0.4.bb index 01cb54e..aa87349 100644 --- a/recipes-core/jakarta-commons/commons-discovery_0.4.bb +++ b/recipes-core/jakarta-commons/commons-discovery_0.4.bb | |||
@@ -8,7 +8,7 @@ SUMMARY = "discovering, or finding, implementations for pluggable interfaces" | |||
8 | SRC_URI = "http://archive.apache.org/dist/commons/discovery/source/${BP}-src.tar.gz" | 8 | SRC_URI = "http://archive.apache.org/dist/commons/discovery/source/${BP}-src.tar.gz" |
9 | 9 | ||
10 | DEPENDS += "commons-logging" | 10 | DEPENDS += "commons-logging" |
11 | RDEPENDS_${PN} = "libcommons-logging-java" | 11 | RDEPENDS:${PN} = "libcommons-logging-java" |
12 | 12 | ||
13 | CP = "commons-logging" | 13 | CP = "commons-logging" |
14 | 14 | ||
diff --git a/recipes-core/jakarta-commons/commons-el_1.0.bb b/recipes-core/jakarta-commons/commons-el_1.0.bb index 4174dce..bb4c35b 100644 --- a/recipes-core/jakarta-commons/commons-el_1.0.bb +++ b/recipes-core/jakarta-commons/commons-el_1.0.bb | |||
@@ -8,7 +8,7 @@ SUMMARY = "Implementation of the JSP2.0 Expression Language API" | |||
8 | SRC_URI = "http://archive.apache.org/dist/commons/el/source/${BP}-src.tar.gz" | 8 | SRC_URI = "http://archive.apache.org/dist/commons/el/source/${BP}-src.tar.gz" |
9 | 9 | ||
10 | DEPENDS += "jsp2.0 servlet2.4" | 10 | DEPENDS += "jsp2.0 servlet2.4" |
11 | RDEPENDS_${PN} = "libjsp2.0-java libservlet2.4-java" | 11 | RDEPENDS:${PN} = "libjsp2.0-java libservlet2.4-java" |
12 | 12 | ||
13 | CP = "jsp-api-2.0 servlet-api-2.4" | 13 | CP = "jsp-api-2.0 servlet-api-2.4" |
14 | 14 | ||
diff --git a/recipes-core/jakarta-commons/commons-fileupload_1.2.1.bb b/recipes-core/jakarta-commons/commons-fileupload_1.2.1.bb index dab7996..395fa15 100644 --- a/recipes-core/jakarta-commons/commons-fileupload_1.2.1.bb +++ b/recipes-core/jakarta-commons/commons-fileupload_1.2.1.bb | |||
@@ -8,7 +8,7 @@ DESCRIPTION = "Robust, high-performance, file upload capability for Java servlet | |||
8 | SRC_URI = "http://archive.apache.org/dist/commons/fileupload/source/${BP}-src.tar.gz" | 8 | SRC_URI = "http://archive.apache.org/dist/commons/fileupload/source/${BP}-src.tar.gz" |
9 | 9 | ||
10 | DEPENDS += "commons-beanutils commons-io servlet2.3" | 10 | DEPENDS += "commons-beanutils commons-io servlet2.3" |
11 | RDEPENDS_${PN} = "libcommons-beanutils-java libcommons-io-java libservlet2.3-java" | 11 | RDEPENDS:${PN} = "libcommons-beanutils-java libcommons-io-java libservlet2.3-java" |
12 | 12 | ||
13 | CP = "commons-beanutils commons-io servlet-2.3" | 13 | CP = "commons-beanutils commons-io servlet-2.3" |
14 | 14 | ||
diff --git a/recipes-core/jakarta-commons/commons-httpclient_3.1.bb b/recipes-core/jakarta-commons/commons-httpclient_3.1.bb index 8daed1b..a6fb53b 100644 --- a/recipes-core/jakarta-commons/commons-httpclient_3.1.bb +++ b/recipes-core/jakarta-commons/commons-httpclient_3.1.bb | |||
@@ -10,8 +10,8 @@ SRC_URI = "http://archive.apache.org/dist/httpcomponents/commons-httpclient/sour | |||
10 | S = "${WORKDIR}/${BP}" | 10 | S = "${WORKDIR}/${BP}" |
11 | 11 | ||
12 | DEPENDS += "commons-logging commons-codec" | 12 | DEPENDS += "commons-logging commons-codec" |
13 | RDEPENDS_${PN} = "libcommons-logging-java libcommons-codec-java" | 13 | RDEPENDS:${PN} = "libcommons-logging-java libcommons-codec-java" |
14 | RDEPENDS_${PN}_class-native = "" | 14 | RDEPENDS:${PN}:class-native = "" |
15 | 15 | ||
16 | CP = "commons-logging commons-codec" | 16 | CP = "commons-logging commons-codec" |
17 | 17 | ||
diff --git a/recipes-core/jakarta-commons/commons-jxpath_1.3.bb b/recipes-core/jakarta-commons/commons-jxpath_1.3.bb deleted file mode 100644 index 3561444..0000000 --- a/recipes-core/jakarta-commons/commons-jxpath_1.3.bb +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | require jakarta-commons.inc | ||
2 | |||
3 | PR = "${INC_PR}.1" | ||
4 | |||
5 | SUMMARY = "JXPath interpreter for Java" | ||
6 | |||
7 | SRC_URI = "http://archive.apache.org/dist/commons/jxpath/source/${BP}-src.tar.gz" | ||
8 | |||
9 | PNBLACKLIST[commons-jxpath] ?= "BROKEN: indirectly depends on broken 'xom'" | ||
10 | |||
11 | DEPENDS += "commons-logging commons-collections3 commons-beanutils servlet2.3 jdom" | ||
12 | RDEPENDS_${PN} = "libcommons-logging-java libcommons-collections3-java libcommons-beanutils-java libservlet2.3-java libjdom-java" | ||
13 | |||
14 | CP = "commons-logging commons-collections3 commons-beanutils servlet-2.3 jdom" | ||
15 | |||
16 | SRC_URI[md5sum] = "9af6ed5d009061986d709a370829860e" | ||
17 | SRC_URI[sha256sum] = "da314198d75c6da660e2603bd1543a8f5d0b640c5144b748e62e59afc278efe6" | ||
diff --git a/recipes-core/jakarta-commons/commons-net_1.4.1.bb b/recipes-core/jakarta-commons/commons-net_1.4.1.bb index 5737c46..ba62ebc 100644 --- a/recipes-core/jakarta-commons/commons-net_1.4.1.bb +++ b/recipes-core/jakarta-commons/commons-net_1.4.1.bb | |||
@@ -11,8 +11,8 @@ S = "${WORKDIR}/${BP}" | |||
11 | 11 | ||
12 | DEPENDS += "oro" | 12 | DEPENDS += "oro" |
13 | 13 | ||
14 | RDEPENDS_${PN} = "liboro-java" | 14 | RDEPENDS:${PN} = "liboro-java" |
15 | RDEPENDS_${PN}_class-native = "" | 15 | RDEPENDS:${PN}:class-native = "" |
16 | 16 | ||
17 | CP = "oro" | 17 | CP = "oro" |
18 | 18 | ||
diff --git a/recipes-core/jakarta-libs/bsf_2.4.0.bb b/recipes-core/jakarta-libs/bsf_2.4.0.bb index a79cbf4..22d9320 100644 --- a/recipes-core/jakarta-libs/bsf_2.4.0.bb +++ b/recipes-core/jakarta-libs/bsf_2.4.0.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "Apache-2.0" | |||
4 | PR = "r2" | 4 | PR = "r2" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b1e01b26bacfc2232046c90a330332b3" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b1e01b26bacfc2232046c90a330332b3" |
6 | 6 | ||
7 | SRC_URI = "http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-${PV}.tar.gz" | 7 | SRC_URI = "https://dlcdn.apache.org/commons/bsf/source/bsf-src-${PV}.tar.gz" |
8 | 8 | ||
9 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | 9 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
10 | 10 | ||
diff --git a/recipes-core/jamvm/jamvm-initial-native_1.4.5.bb b/recipes-core/jamvm/jamvm-initial-native_1.4.5.bb index bf005db..7773409 100644 --- a/recipes-core/jamvm/jamvm-initial-native_1.4.5.bb +++ b/recipes-core/jamvm/jamvm-initial-native_1.4.5.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "A compact Java Virtual Machine which conforms to the JVM specification version 2." | 1 | SUMMARY = "A compact Java Virtual Machine which conforms to the JVM specification version 2." |
2 | HOMEPAGE = "http://jamvm.sourceforge.net/" | 2 | HOMEPAGE = "http://jamvm.sourceforge.net/" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL-2.0-or-later" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
5 | 5 | ||
6 | DEPENDS = "zlib-native classpath-initial-native jikes-initial-native libffi-native" | 6 | DEPENDS = "zlib-native classpath-initial-native jikes-initial-native libffi-native" |
@@ -20,7 +20,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz \ | |||
20 | # This uses 32 bit arm, so force the instruction set to arm, not thumb | 20 | # This uses 32 bit arm, so force the instruction set to arm, not thumb |
21 | ARM_INSTRUCTION_SET = "arm" | 21 | ARM_INSTRUCTION_SET = "arm" |
22 | 22 | ||
23 | inherit native autotools pkgconfig | 23 | inherit autotools pkgconfig native |
24 | 24 | ||
25 | # libdir must be modified so that jamvm-initial and -native | 25 | # libdir must be modified so that jamvm-initial and -native |
26 | # do not interfere | 26 | # do not interfere |
@@ -38,7 +38,7 @@ CFLAGS += "-DDEFAULT_MAX_HEAP=512*MB" | |||
38 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/jikes-initial \ | 38 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/jikes-initial \ |
39 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath-inital/glibj.zip \ | 39 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath-inital/glibj.zip \ |
40 | " | 40 | " |
41 | do_install_append() { | 41 | do_install:append() { |
42 | install -d ${D}${bindir}/ | 42 | install -d ${D}${bindir}/ |
43 | install -m 0755 ${WORKDIR}/java-initial ${D}${bindir}/ | 43 | install -m 0755 ${WORKDIR}/java-initial ${D}${bindir}/ |
44 | } | 44 | } |
diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc index b03a5b9..693817f 100644 --- a/recipes-core/jamvm/jamvm.inc +++ b/recipes-core/jamvm/jamvm.inc | |||
@@ -4,25 +4,25 @@ LICENSE = "GPL-2.0" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
5 | 5 | ||
6 | DEPENDS = "zlib classpath virtual/javac-native libffi virtual/java-initial-native" | 6 | DEPENDS = "zlib classpath virtual/javac-native libffi virtual/java-initial-native" |
7 | DEPENDS_class-native = "virtual/java-initial-native classpath-initial-native zlib-native classpath-native ecj-initial-native libffi-native" | 7 | DEPENDS:class-native = "virtual/java-initial-native classpath-initial-native zlib-native classpath-native ecj-initial-native libffi-native" |
8 | 8 | ||
9 | RDEPENDS_${PN} = "classpath" | 9 | RDEPENDS:${PN} = "classpath" |
10 | RDEPENDS_${PN}_class-native = "" | 10 | RDEPENDS:${PN}:class-native = "" |
11 | 11 | ||
12 | PROVIDES_class-native = "virtual/java-native" | 12 | PROVIDES:class-native = "virtual/java-native" |
13 | RPROVIDES_${PN} = "java2-runtime" | 13 | RPROVIDES:${PN} = "java2-runtime" |
14 | RPROVIDES_${PN}_class-native = "" | 14 | RPROVIDES:${PN}:class-native = "" |
15 | 15 | ||
16 | BBCLASSEXTEND = "native" | 16 | BBCLASSEXTEND = "native" |
17 | 17 | ||
18 | inherit java autotools update-alternatives pkgconfig relative_symlinks features_check | 18 | inherit java autotools update-alternatives pkgconfig relative_symlinks features_check |
19 | 19 | ||
20 | REQUIRED_DISTRO_FEATURES_class-target = "x11" | 20 | REQUIRED_DISTRO_FEATURES:class-target = "x11" |
21 | 21 | ||
22 | # This uses 32 bit arm, so force the instruction set to arm, not thumb | 22 | # This uses 32 bit arm, so force the instruction set to arm, not thumb |
23 | ARM_INSTRUCTION_SET = "arm" | 23 | ARM_INSTRUCTION_SET = "arm" |
24 | 24 | ||
25 | do_configure_append_class-native() { | 25 | do_configure:append:class-native() { |
26 | sed -i -e"s|STAGING_LIBDIR_NATIVE|${STAGING_LIBDIR_NATIVE}|g" \ | 26 | sed -i -e"s|STAGING_LIBDIR_NATIVE|${STAGING_LIBDIR_NATIVE}|g" \ |
27 | -e "s|STAGING_DATADIR_NATIVE|${STAGING_DATADIR_NATIVE}|g" \ | 27 | -e "s|STAGING_DATADIR_NATIVE|${STAGING_DATADIR_NATIVE}|g" \ |
28 | ${WORKDIR}/java | 28 | ${WORKDIR}/java |
@@ -32,28 +32,28 @@ do_configure_append_class-native() { | |||
32 | EXTRA_OECONF = "--with-classpath-install-dir=${prefix} --libdir=${libdir}/jamvm --enable-ffi --disable-int-inlining" | 32 | EXTRA_OECONF = "--with-classpath-install-dir=${prefix} --libdir=${libdir}/jamvm --enable-ffi --disable-int-inlining" |
33 | 33 | ||
34 | # Needed for big compilation targets like OpenJDK | 34 | # Needed for big compilation targets like OpenJDK |
35 | CFLAGS_append_class-native = " -DDEFAULT_MAX_HEAP=1024*MB" | 35 | CFLAGS:append:class-native = " -DDEFAULT_MAX_HEAP=1024*MB" |
36 | 36 | ||
37 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/javac \ | 37 | EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/javac \ |
38 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ | 38 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ |
39 | " | 39 | " |
40 | # Enforce usage of ecj-initial. | 40 | # Enforce usage of ecj-initial. |
41 | EXTRA_OEMAKE_class-native = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \ | 41 | EXTRA_OEMAKE:class-native = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \ |
42 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ | 42 | GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \ |
43 | " | 43 | " |
44 | 44 | ||
45 | do_install_append_class-native() { | 45 | do_install:append:class-native() { |
46 | install -d ${D}${bindir} | 46 | install -d ${D}${bindir} |
47 | install -m 0755 ${WORKDIR}/java ${D}${bindir}/java | 47 | install -m 0755 ${WORKDIR}/java ${D}${bindir}/java |
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | PRIVATE_LIBS = "libjvm.so" | 51 | PRIVATE_LIBS = "libjvm.so" |
52 | INSANE_SKIP_${PN} = "dev-so" | 52 | INSANE_SKIP:${PN} = "dev-so" |
53 | 53 | ||
54 | FILES_${PN} += "${libdir}/jamvm/lib*.so" | 54 | FILES:${PN} += "${libdir}/jamvm/lib*.so" |
55 | 55 | ||
56 | ALTERNATIVE_${PN} = "java" | 56 | ALTERNATIVE:${PN} = "java" |
57 | ALTERNATIVE_TARGET = "${bindir}/jamvm" | 57 | ALTERNATIVE_TARGET = "${bindir}/jamvm" |
58 | ALTERNATIVE_PRIORITY = "4" | 58 | ALTERNATIVE_PRIORITY = "4" |
59 | # shared state for jamvm-native does not work | 59 | # shared state for jamvm-native does not work |
diff --git a/recipes-core/jamvm/jamvm_git.bb b/recipes-core/jamvm/jamvm_git.bb index 57f7e64..34861ac 100644 --- a/recipes-core/jamvm/jamvm_git.bb +++ b/recipes-core/jamvm/jamvm_git.bb | |||
@@ -6,7 +6,7 @@ require jamvm.inc | |||
6 | SRCREV = "6cef41d859fbc9ce7868a97cb2cb5dd2b10b9103" | 6 | SRCREV = "6cef41d859fbc9ce7868a97cb2cb5dd2b10b9103" |
7 | PV = "2.0.0-devel+git${SRCPV}" | 7 | PV = "2.0.0-devel+git${SRCPV}" |
8 | 8 | ||
9 | SRC_URI = "git://git.code.sf.net/p/jamvm/code;protocol=git \ | 9 | SRC_URI = "git://git.code.sf.net/p/jamvm/code;protocol=git;branch=master \ |
10 | file://jamvm-jni_h-noinst.patch \ | 10 | file://jamvm-jni_h-noinst.patch \ |
11 | file://libffi.patch \ | 11 | file://libffi.patch \ |
12 | file://jamvm-minmax-heap.patch \ | 12 | file://jamvm-minmax-heap.patch \ |
@@ -15,4 +15,4 @@ SRC_URI = "git://git.code.sf.net/p/jamvm/code;protocol=git \ | |||
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | COMPATIBLE_MACHINE_aarch64 = "-" | 18 | COMPATIBLE_MACHINE:aarch64 = "-" |
diff --git a/recipes-core/javasqlite/javasqlite_20150419.bb b/recipes-core/javasqlite/javasqlite_20150419.bb index 06fbac2..45262e2 100644 --- a/recipes-core/javasqlite/javasqlite_20150419.bb +++ b/recipes-core/javasqlite/javasqlite_20150419.bb | |||
@@ -5,7 +5,7 @@ This is a Java wrapper including a basic JDBC driver for the SQLite 2/3 \ | |||
5 | database engine. It is designed using JNI to interface to the SQLite API. \ | 5 | database engine. It is designed using JNI to interface to the SQLite API. \ |
6 | That API is wrapped by methods in the SQLite.Database class." | 6 | That API is wrapped by methods in the SQLite.Database class." |
7 | 7 | ||
8 | LICENSE = "BSD" | 8 | LICENSE = "MIT-Modern-Variant" |
9 | SECTION = "application" | 9 | SECTION = "application" |
10 | PR = "r1" | 10 | PR = "r1" |
11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
@@ -18,8 +18,8 @@ LIC_FILES_CHKSUM = "file://license.terms;md5=3da0e50feac5f64f08184584a8cad58a" | |||
18 | inherit autotools-brokensep | 18 | inherit autotools-brokensep |
19 | 19 | ||
20 | DEPENDS += "sqlite3 sqlite3-native icedtea7-native" | 20 | DEPENDS += "sqlite3 sqlite3-native icedtea7-native" |
21 | RDEPENDS_${PN} += "sqlite3" | 21 | RDEPENDS:${PN} += "sqlite3" |
22 | FILES_${PN} +="/usr/share" | 22 | FILES:${PN} +="/usr/share" |
23 | 23 | ||
24 | PARALLEL_MAKE = "-j 1" | 24 | PARALLEL_MAKE = "-j 1" |
25 | 25 | ||
@@ -35,13 +35,9 @@ EXTRA_OECONF = " \ | |||
35 | EXTRA_OEMAKE = "DESTDIR=${D}" | 35 | EXTRA_OEMAKE = "DESTDIR=${D}" |
36 | 36 | ||
37 | # This dev package contains an '.so' file used for JNI development | 37 | # This dev package contains an '.so' file used for JNI development |
38 | INSANE_SKIP_${PN}-dev = "dev-elf" | 38 | INSANE_SKIP:${PN}-dev = "dev-elf" |
39 | 39 | ||
40 | do_configure_append (){ | 40 | do_compile:prepend (){ |
41 | cp ${S}/*-libtool ${S}/libtool | ||
42 | } | ||
43 | |||
44 | do_compile_prepend (){ | ||
45 | echo '#!/bin/sh' > ${STAGING_BINDIR_NATIVE}/cc | 41 | echo '#!/bin/sh' > ${STAGING_BINDIR_NATIVE}/cc |
46 | echo '${BUILD_CC} $@' >> ${STAGING_BINDIR_NATIVE}/cc | 42 | echo '${BUILD_CC} $@' >> ${STAGING_BINDIR_NATIVE}/cc |
47 | chmod a+x ${STAGING_BINDIR_NATIVE}/cc | 43 | chmod a+x ${STAGING_BINDIR_NATIVE}/cc |
diff --git a/recipes-core/jcraft/jsch_0.1.40.bb b/recipes-core/jcraft/jsch_0.1.40.bb index 1d4b96b..aeb04b4 100644 --- a/recipes-core/jcraft/jsch_0.1.40.bb +++ b/recipes-core/jcraft/jsch_0.1.40.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "SSH implementation in Java" | 1 | SUMMARY = "SSH implementation in Java" |
2 | HOMEPAGE = "http://www.jcraft.com/jsch" | 2 | HOMEPAGE = "http://www.jcraft.com/jsch" |
3 | LICENSE = "BSD" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55e3b6a0987ccd0c34530f3df2d206ae" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=55e3b6a0987ccd0c34530f3df2d206ae" |
5 | 5 | ||
6 | SRC_URI = "${SOURCEFORGE_MIRROR}/jsch/jsch-${PV}.zip" | 6 | SRC_URI = "${SOURCEFORGE_MIRROR}/jsch/jsch-${PV}.zip" |
@@ -9,8 +9,8 @@ inherit java-library | |||
9 | 9 | ||
10 | DEPENDS = "jzlib" | 10 | DEPENDS = "jzlib" |
11 | 11 | ||
12 | RDEPENDS_${PN} = "libjzlib-java" | 12 | RDEPENDS:${PN} = "libjzlib-java" |
13 | RDEPENDS_${PN}_class-native = "" | 13 | RDEPENDS:${PN}:class-native = "" |
14 | 14 | ||
15 | do_compile() { | 15 | do_compile() { |
16 | mkdir -p build | 16 | mkdir -p build |
@@ -25,5 +25,7 @@ do_compile() { | |||
25 | SRC_URI[md5sum] = "b59cec19a487e95aed68378976b4b566" | 25 | SRC_URI[md5sum] = "b59cec19a487e95aed68378976b4b566" |
26 | SRC_URI[sha256sum] = "ca9d2ae08fd7a8983fb00d04f0f0c216a985218a5eb364ff9bee73870f28e097" | 26 | SRC_URI[sha256sum] = "ca9d2ae08fd7a8983fb00d04f0f0c216a985218a5eb364ff9bee73870f28e097" |
27 | 27 | ||
28 | CVE_STATUS[CVE-2016-5725] = "not-applicable-platform: Issue only applies on Windows" | ||
29 | |||
28 | BBCLASSEXTEND = "native" | 30 | BBCLASSEXTEND = "native" |
29 | 31 | ||
diff --git a/recipes-core/jcraft/jzlib_1.0.7.bb b/recipes-core/jcraft/jzlib_1.0.7.bb index 70b5212..1e34d2c 100644 --- a/recipes-core/jcraft/jzlib_1.0.7.bb +++ b/recipes-core/jcraft/jzlib_1.0.7.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "zlib implementation in Java" | 1 | SUMMARY = "zlib implementation in Java" |
2 | LICENSE = "BSD" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a2b2e5b95bf768dd5c4ca097c9cde9e9" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a2b2e5b95bf768dd5c4ca097c9cde9e9" |
4 | 4 | ||
5 | HOMEPAGE = "http://www.jcraft.com/jzlib" | 5 | HOMEPAGE = "http://www.jcraft.com/jzlib" |
diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb b/recipes-core/jdepend/jdepend_2.9.1.bb index 7c6cc8c..1fa156c 100644 --- a/recipes-core/jdepend/jdepend_2.9.1.bb +++ b/recipes-core/jdepend/jdepend_2.9.1.bb | |||
@@ -1,12 +1,12 @@ | |||
1 | SUMMARY = "Design quality metrics generator for each Java" | 1 | SUMMARY = "Design quality metrics generator for each Java" |
2 | 2 | ||
3 | # see https://github.com/clarkware/jdepend/blob/master/LICENSE | 3 | # see https://github.com/clarkware/jdepend/blob/master/LICENSE |
4 | LICENSE = "BSD" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230" |
6 | 6 | ||
7 | HOMEPAGE = "https://github.com/clarkware/jdepend" | 7 | HOMEPAGE = "https://github.com/clarkware/jdepend" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/clarkware/jdepend" | 9 | SRC_URI = "git://github.com/clarkware/jdepend;protocol=https;branch=master" |
10 | SRCREV = "57980590313a5dbde236a3eb2c8958e9e53e6a10" | 10 | SRCREV = "57980590313a5dbde236a3eb2c8958e9e53e6a10" |
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
diff --git a/recipes-core/jikes/jikes_1.22.bb b/recipes-core/jikes/jikes_1.22.bb index 233005a..3e83ff8 100644 --- a/recipes-core/jikes/jikes_1.22.bb +++ b/recipes-core/jikes/jikes_1.22.bb | |||
@@ -13,14 +13,14 @@ inherit autotools update-alternatives relative_symlinks | |||
13 | 13 | ||
14 | BBCLASSEXTEND = "native" | 14 | BBCLASSEXTEND = "native" |
15 | 15 | ||
16 | RDEPENDS_${PN} = "classpath" | 16 | RDEPENDS:${PN} = "classpath" |
17 | PROVIDES_class-native = "" | 17 | PROVIDES:class-native = "" |
18 | RDEPENDS_${PN}_class-native = "" | 18 | RDEPENDS:${PN}:class-native = "" |
19 | 19 | ||
20 | EXTRA_OECONF = "--disable-fp-emulation --enable-source15" | 20 | EXTRA_OECONF = "--disable-fp-emulation --enable-source15" |
21 | 21 | ||
22 | # configure script incorrectly defines these when cross compiling for ARM | 22 | # configure script incorrectly defines these when cross compiling for ARM |
23 | CXXFLAGS_append_arm += "-UHAVE_64BIT_TYPES -DWORDS_BIGENDIAN=1" | 23 | CXXFLAGS:append:arm = " -UHAVE_64BIT_TYPES -DWORDS_BIGENDIAN=1" |
24 | 24 | ||
25 | do_install() { | 25 | do_install() { |
26 | oe_runmake 'DESTDIR=${D}' install | 26 | oe_runmake 'DESTDIR=${D}' install |
@@ -28,7 +28,7 @@ do_install() { | |||
28 | } | 28 | } |
29 | 29 | ||
30 | PROVIDES = "virtual/javac" | 30 | PROVIDES = "virtual/javac" |
31 | ALTERNATIVE_${PN} = "javac" | 31 | ALTERNATIVE:${PN} = "javac" |
32 | ALTERNATIVE_LINK = "/usr/bin/javac" | 32 | ALTERNATIVE_LINK = "/usr/bin/javac" |
33 | ALTERNATIVE_TARGET = "${bindir}/javac.jikes" | 33 | ALTERNATIVE_TARGET = "${bindir}/javac.jikes" |
34 | 34 | ||
diff --git a/recipes-core/jlex/jlex_1.2.6.bb b/recipes-core/jlex/jlex_1.2.6.bb index b8f9ffb..48ec357 100644 --- a/recipes-core/jlex/jlex_1.2.6.bb +++ b/recipes-core/jlex/jlex_1.2.6.bb | |||
@@ -1,16 +1,18 @@ | |||
1 | SUMMARY = "Lexical analyzer generator for Java" | 1 | SUMMARY = "Lexical analyzer generator for Java" |
2 | AUTHOR = "Elliot Berk, A. Appel, C. Scott Ananian" | 2 | AUTHOR = "Elliot Berk, A. Appel, C. Scott Ananian" |
3 | |||
4 | JLEX_MAIN_FILENAME = "jlex-${PV}-Main.java" | ||
3 | LICENSE = "JLEX" | 5 | LICENSE = "JLEX" |
4 | LIC_FILES_CHKSUM = "file://Main.java;beginline=148;endline=166;md5=9bf4a6a951053991db64f9d7330d648a" | 6 | LIC_FILES_CHKSUM = "file://${JLEX_MAIN_FILENAME};beginline=148;endline=166;md5=9bf4a6a951053991db64f9d7330d648a" |
5 | 7 | ||
6 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | 8 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
7 | 9 | ||
8 | RDEPENDS_${PN} = "java2-runtime" | 10 | RDEPENDS:${PN} = "java2-runtime" |
9 | RDEPENDS_${PN}_class-native = "" | 11 | RDEPENDS:${PN}:class-native = "" |
10 | 12 | ||
11 | inherit java-library | 13 | inherit java-library |
12 | 14 | ||
13 | SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.java \ | 15 | SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.java;downloadfilename=${JLEX_MAIN_FILENAME} \ |
14 | file://jlex \ | 16 | file://jlex \ |
15 | " | 17 | " |
16 | 18 | ||
@@ -26,20 +28,21 @@ do_configure() { | |||
26 | 28 | ||
27 | do_compile() { | 29 | do_compile() { |
28 | mkdir -p build | 30 | mkdir -p build |
31 | cp ${JLEX_MAIN_FILENAME} Main.java | ||
29 | 32 | ||
30 | javac -d build Main.java | 33 | javac -d build Main.java |
31 | 34 | ||
32 | fastjar cf ${BP}.jar -C build . | 35 | fastjar cf ${BP}.jar -C build . |
33 | } | 36 | } |
34 | 37 | ||
35 | do_install_append() { | 38 | do_install:append() { |
36 | install -d ${D}${bindir} | 39 | install -d ${D}${bindir} |
37 | install -m 0755 jlex ${D}${bindir}/ | 40 | install -m 0755 jlex ${D}${bindir}/ |
38 | } | 41 | } |
39 | 42 | ||
40 | PACKAGES = "${PN}" | 43 | PACKAGES = "${PN}" |
41 | 44 | ||
42 | FILES_${PN} += "${datadir_java}" | 45 | FILES:${PN} += "${datadir_java}" |
43 | 46 | ||
44 | SRC_URI[md5sum] = "fe0cff5db3e2f0f5d67a153cf6c783af" | 47 | SRC_URI[md5sum] = "fe0cff5db3e2f0f5d67a153cf6c783af" |
45 | SRC_URI[sha256sum] = "aeebaece3b3a53972bb0ba0f810540386c267070ee9dca6ffa43c6ff74a54bd7" | 48 | SRC_URI[sha256sum] = "aeebaece3b3a53972bb0ba0f810540386c267070ee9dca6ffa43c6ff74a54bd7" |
diff --git a/recipes-core/junit/junit_3.8.2.bb b/recipes-core/junit/junit_3.8.2.bb index b366910..57dd459 100644 --- a/recipes-core/junit/junit_3.8.2.bb +++ b/recipes-core/junit/junit_3.8.2.bb | |||
@@ -16,14 +16,14 @@ inherit java-library | |||
16 | do_unpackpost[dirs] = "${B}" | 16 | do_unpackpost[dirs] = "${B}" |
17 | do_unpackpost() { | 17 | do_unpackpost() { |
18 | mkdir -p src | 18 | mkdir -p src |
19 | # Prevent deletion by do_removebinaries. | 19 | # Prevent deletion by do_deletebinaries. |
20 | if [ -e src.jar ]; then | 20 | if [ -e src.jar ]; then |
21 | mv src.jar src.zip | 21 | mv src.jar src.zip |
22 | fi | 22 | fi |
23 | unzip -o src.zip -d src | 23 | unzip -o src.zip -d src |
24 | } | 24 | } |
25 | 25 | ||
26 | addtask unpackpost before do_removebinaries after do_unpack | 26 | addtask unpackpost before do_deletebinaries after do_unpack |
27 | 27 | ||
28 | do_compile() { | 28 | do_compile() { |
29 | mkdir -p build | 29 | mkdir -p build |
diff --git a/recipes-core/libmatthew/libmatthew.inc b/recipes-core/libmatthew/libmatthew.inc index 2119c0b..4157d51 100644 --- a/recipes-core/libmatthew/libmatthew.inc +++ b/recipes-core/libmatthew/libmatthew.inc | |||
@@ -5,11 +5,14 @@ SECTION = "libs" | |||
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | DEPENDS = "virtual/java-native classpath-native classpath" | 6 | DEPENDS = "virtual/java-native classpath-native classpath" |
7 | 7 | ||
8 | |||
8 | S = "${WORKDIR}/libmatthew-java-${PV}" | 9 | S = "${WORKDIR}/libmatthew-java-${PV}" |
9 | 10 | ||
10 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | 11 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
11 | inherit java-library | 12 | inherit java-library |
12 | 13 | ||
14 | include recipes-core/classpath/classpath-features-check.inc | ||
15 | |||
13 | # Some internal version numbers which change from time to time. | 16 | # Some internal version numbers which change from time to time. |
14 | # Allowing to override them makes this include file more | 17 | # Allowing to override them makes this include file more |
15 | # versatile. | 18 | # versatile. |
@@ -47,7 +50,7 @@ do_install() { | |||
47 | oe_libinstall -so libunix-java ${D}${libdir_jni} | 50 | oe_libinstall -so libunix-java ${D}${libdir_jni} |
48 | } | 51 | } |
49 | 52 | ||
50 | do_install_append() { | 53 | do_install:append() { |
51 | rm ${D}${datadir_java}/${PN}.jar | 54 | rm ${D}${datadir_java}/${PN}.jar |
52 | } | 55 | } |
53 | PACKAGES = "\ | 56 | PACKAGES = "\ |
@@ -56,17 +59,17 @@ PACKAGES = "\ | |||
56 | ${PN}-io-java ${PN}-debug-java \ | 59 | ${PN}-io-java ${PN}-debug-java \ |
57 | " | 60 | " |
58 | 61 | ||
59 | FILES_libcgi-java = "${datadir_java}/cgi*.jar" | 62 | FILES:libcgi-java = "${datadir_java}/cgi*.jar" |
60 | FILES_libcgi-jni = "${libdir_jni}/libcgi-java.so" | 63 | FILES:libcgi-jni = "${libdir_jni}/libcgi-java.so" |
61 | FILES_libcgi-jni-dbg = "${libdir_jni}/.debug/libcgi-java.so" | 64 | FILES:libcgi-jni-dbg = "${libdir_jni}/.debug/libcgi-java.so" |
62 | RDEPENDS_libcgi-java = "libcgi-jni" | 65 | RDEPENDS:libcgi-java = "libcgi-jni" |
63 | 66 | ||
64 | FILES_libunixsocket-java = "${datadir_java}/unix*.jar" | 67 | FILES:libunixsocket-java = "${datadir_java}/unix*.jar" |
65 | FILES_libunixsocket-jni = "${libdir_jni}/libunix-java.so" | 68 | FILES:libunixsocket-jni = "${libdir_jni}/libunix-java.so" |
66 | FILES_libunixsocket-jni-dbg = "${libdir_jni}/.debug/libunix-java.so" | 69 | FILES:libunixsocket-jni-dbg = "${libdir_jni}/.debug/libunix-java.so" |
67 | RDEPENDS_libunixsocket-java = "libunixsocket-jni" | 70 | RDEPENDS:libunixsocket-java = "libunixsocket-jni" |
68 | 71 | ||
69 | FILES_${PN}-io-java = "${datadir_java}/io*.jar" | 72 | FILES:${PN}-io-java = "${datadir_java}/io*.jar" |
70 | 73 | ||
71 | FILES_${PN}-debug-java = "${datadir_java}/debug-*.jar ${datadir_java}/hexdump*.jar" | 74 | FILES:${PN}-debug-java = "${datadir_java}/debug-*.jar ${datadir_java}/hexdump*.jar" |
72 | 75 | ||
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc index c87266d..cba1ea6 100644 --- a/recipes-core/openjdk/openjdk-7-common.inc +++ b/recipes-core/openjdk/openjdk-7-common.inc | |||
@@ -4,17 +4,17 @@ LICENSE = "GPL-2.0-with-classpath-exception" | |||
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | SECTION = "libs" | 5 | SECTION = "libs" |
6 | 6 | ||
7 | ICEDTEA_VERSION = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1].split("-")[1] or '1.0'}" | 7 | ICEDTEA_VERSION = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1].split("-")[1] or '1.0'}" |
8 | 8 | ||
9 | S = "${WORKDIR}/${ICEDTEA}" | 9 | S = "${WORKDIR}/${ICEDTEA}" |
10 | 10 | ||
11 | DEPENDS_append_libc-uclibc = " virtual/libiconv " | 11 | DEPENDS:append_libc-uclibc = " virtual/libiconv " |
12 | 12 | ||
13 | # The OpenJDK build with interpreter optimizations for ARM depends on a binary | 13 | # The OpenJDK build with interpreter optimizations for ARM depends on a binary |
14 | # that generates constants for an assembler source file. There is no other | 14 | # that generates constants for an assembler source file. There is no other |
15 | # way than to generate this on a pseudo machine. Cross-compiling would not help | 15 | # way than to generate this on a pseudo machine. Cross-compiling would not help |
16 | # because structure sizes and/or alignment may differ. | 16 | # because structure sizes and/or alignment may differ. |
17 | DEPENDS_append = " qemu-native " | 17 | DEPENDS:append = " qemu-native " |
18 | 18 | ||
19 | B = "${S}/build" | 19 | B = "${S}/build" |
20 | 20 | ||
@@ -138,14 +138,14 @@ EXTRA_OECONF += " \ | |||
138 | --disable-system-sctp \ | 138 | --disable-system-sctp \ |
139 | " | 139 | " |
140 | 140 | ||
141 | do_configure_prepend() { | 141 | do_configure:prepend() { |
142 | # Automatically copy everything that starts with "icedtea" (or "cacao") and ends with | 142 | # Automatically copy everything that starts with "icedtea" (or "cacao") and ends with |
143 | # ".patch" into the patches directory. | 143 | # ".patch" into the patches directory. |
144 | find ${WORKDIR} -maxdepth 1 -name "icedtea*.patch" -exec cp {} ${S}/patches \; | 144 | find ${WORKDIR} -maxdepth 1 -name "icedtea*.patch" -exec cp {} ${S}/patches \; |
145 | find ${WORKDIR} -maxdepth 1 -name "cacao*.patch" -exec cp {} ${S}/patches \; | 145 | find ${WORKDIR} -maxdepth 1 -name "cacao*.patch" -exec cp {} ${S}/patches \; |
146 | } | 146 | } |
147 | 147 | ||
148 | do_configure_append() { | 148 | do_configure:append() { |
149 | oe_runmake patch | 149 | oe_runmake patch |
150 | } | 150 | } |
151 | 151 | ||
@@ -168,7 +168,7 @@ EXTRA_OEMAKE += ' \ | |||
168 | 168 | ||
169 | OE_LAUNCHER_LDFLAGS = "-Wl,-rpath-link,${STAGING_LIBDIR}/llvm${WANT_LLVM_RELEASE} -Wl,-rpath,${libdir}/llvm${WANT_LLVM_RELEASE}" | 169 | OE_LAUNCHER_LDFLAGS = "-Wl,-rpath-link,${STAGING_LIBDIR}/llvm${WANT_LLVM_RELEASE} -Wl,-rpath,${libdir}/llvm${WANT_LLVM_RELEASE}" |
170 | 170 | ||
171 | OE_LAUNCHER_LDFLAGS_arm = "" | 171 | OE_LAUNCHER_LDFLAGS:arm = "" |
172 | 172 | ||
173 | EXTRA_OEMAKE += 'OE_LAUNCHER_LDFLAGS="${OE_LAUNCHER_LDFLAGS}"' | 173 | EXTRA_OEMAKE += 'OE_LAUNCHER_LDFLAGS="${OE_LAUNCHER_LDFLAGS}"' |
174 | 174 | ||
@@ -229,7 +229,7 @@ PACKAGES = " \ | |||
229 | ${JDKPN}-common \ | 229 | ${JDKPN}-common \ |
230 | " | 230 | " |
231 | 231 | ||
232 | FILES_${JDKPN}-dbg = "\ | 232 | FILES:${JDKPN}-dbg = "\ |
233 | ${JDK_HOME}/bin/.debug \ | 233 | ${JDK_HOME}/bin/.debug \ |
234 | ${JDK_HOME}/lib/.debug \ | 234 | ${JDK_HOME}/lib/.debug \ |
235 | ${JDK_HOME}/lib/${JDK_ARCH}/jli/.debug \ | 235 | ${JDK_HOME}/lib/${JDK_ARCH}/jli/.debug \ |
@@ -244,9 +244,9 @@ FILES_${JDKPN}-dbg = "\ | |||
244 | ${JDK_HOME}/jre/lib/${JDK_ARCH}/client/.debug \ | 244 | ${JDK_HOME}/jre/lib/${JDK_ARCH}/client/.debug \ |
245 | " | 245 | " |
246 | 246 | ||
247 | FILES_${JDKPN}-demo = "${JDK_HOME}/demo ${JDK_HOME}/sample" | 247 | FILES:${JDKPN}-demo = "${JDK_HOME}/demo ${JDK_HOME}/sample" |
248 | RDEPENDS_${JDKPN}-demo = "${JDKPN}-jre" | 248 | RDEPENDS:${JDKPN}-demo = "${JDKPN}-jre" |
249 | FILES_${JDKPN}-demo-dbg = "\ | 249 | FILES:${JDKPN}-demo-dbg = "\ |
250 | ${JDK_HOME}/demo/jvmti/gctest/lib/.debug \ | 250 | ${JDK_HOME}/demo/jvmti/gctest/lib/.debug \ |
251 | ${JDK_HOME}/demo/jvmti/heapTracker/lib/.debug \ | 251 | ${JDK_HOME}/demo/jvmti/heapTracker/lib/.debug \ |
252 | ${JDK_HOME}/demo/jvmti/heapViewer/lib/.debug \ | 252 | ${JDK_HOME}/demo/jvmti/heapViewer/lib/.debug \ |
@@ -258,13 +258,13 @@ FILES_${JDKPN}-demo-dbg = "\ | |||
258 | ${JDK_HOME}/demo/jvmti/compiledMethodLoad/lib/.debug \ | 258 | ${JDK_HOME}/demo/jvmti/compiledMethodLoad/lib/.debug \ |
259 | " | 259 | " |
260 | 260 | ||
261 | FILES_${JDKPN}-source = "${JDK_HOME}/src.zip" | 261 | FILES:${JDKPN}-source = "${JDK_HOME}/src.zip" |
262 | 262 | ||
263 | FILES_${JDKPN}-java = "${JDK_HOME}/jre/bin/java" | 263 | FILES:${JDKPN}-java = "${JDK_HOME}/jre/bin/java" |
264 | 264 | ||
265 | FILES_${JDKPN}-vm-zero = "${JDK_HOME}/jre/lib/${JDK_ARCH}/server/" | 265 | FILES:${JDKPN}-vm-zero = "${JDK_HOME}/jre/lib/${JDK_ARCH}/server/" |
266 | 266 | ||
267 | FILES_${JDKPN}-common = "${JDK_HOME}/jre/ASSEMBLY_EXCEPTION \ | 267 | FILES:${JDKPN}-common = "${JDK_HOME}/jre/ASSEMBLY_EXCEPTION \ |
268 | ${JDK_HOME}/jre/THIRD_PARTY_README \ | 268 | ${JDK_HOME}/jre/THIRD_PARTY_README \ |
269 | ${JDK_HOME}/jre/LICENSE \ | 269 | ${JDK_HOME}/jre/LICENSE \ |
270 | ${JDK_HOME}/ASSEMBLY_EXCEPTION \ | 270 | ${JDK_HOME}/ASSEMBLY_EXCEPTION \ |
@@ -274,7 +274,7 @@ FILES_${JDKPN}-common = "${JDK_HOME}/jre/ASSEMBLY_EXCEPTION \ | |||
274 | ${JDK_HOME}/jre/lib \ | 274 | ${JDK_HOME}/jre/lib \ |
275 | " | 275 | " |
276 | 276 | ||
277 | FILES_${PN}_append = " \ | 277 | FILES:${PN}:append = " \ |
278 | ${JDK_HOME}/jre/bin/keytool \ | 278 | ${JDK_HOME}/jre/bin/keytool \ |
279 | ${JDK_HOME}/jre/bin/orbd \ | 279 | ${JDK_HOME}/jre/bin/orbd \ |
280 | ${JDK_HOME}/jre/bin/pack200 \ | 280 | ${JDK_HOME}/jre/bin/pack200 \ |
@@ -287,9 +287,9 @@ FILES_${PN}_append = " \ | |||
287 | ${JDK_HOME}/jre/bin/javaws \ | 287 | ${JDK_HOME}/jre/bin/javaws \ |
288 | " | 288 | " |
289 | 289 | ||
290 | RDEPENDS_${JDKPN}-common = "librhino-java" | 290 | RDEPENDS:${JDKPN}-common = "librhino-java" |
291 | 291 | ||
292 | RPROVIDES_${JDKPN}-vm-zero = "java2-vm" | 292 | RPROVIDES:${JDKPN}-vm-zero = "java2-vm" |
293 | 293 | ||
294 | # Even though a vm is a hard dependency it is set as RRECOMMENDS so a single vm can get uninstalled: | 294 | # Even though a vm is a hard dependency it is set as RRECOMMENDS so a single vm can get uninstalled: |
295 | # root@beaglebone:~/java# opkg remove openjdk-7-vm-shark | 295 | # root@beaglebone:~/java# opkg remove openjdk-7-vm-shark |
@@ -298,39 +298,39 @@ RPROVIDES_${JDKPN}-vm-zero = "java2-vm" | |||
298 | # * print_dependents_warning: Package openjdk-7-vm-shark is depended upon by packages: | 298 | # * print_dependents_warning: Package openjdk-7-vm-shark is depended upon by packages: |
299 | # * print_dependents_warning: openjdk-7-java | 299 | # * print_dependents_warning: openjdk-7-java |
300 | # * print_dependents_warning: These might cease to work if package openjdk-7-vm-shark is removed. | 300 | # * print_dependents_warning: These might cease to work if package openjdk-7-vm-shark is removed. |
301 | RRECOMMENDS_${JDKPN}-java = "java2-vm" | 301 | RRECOMMENDS:${JDKPN}-java = "java2-vm" |
302 | 302 | ||
303 | # For some reason shark and cacao do not automatically depends on -common. | 303 | # For some reason shark and cacao do not automatically depends on -common. |
304 | # So we add that manually. | 304 | # So we add that manually. |
305 | 305 | ||
306 | # There is a symlink to a .so but this one is valid. | 306 | # There is a symlink to a .so but this one is valid. |
307 | INSANE_SKIP_${JDKPN}-vm-zero = "dev-so" | 307 | INSANE_SKIP:${JDKPN}-vm-zero = "dev-so" |
308 | INSANE_SKIP_${JDKPN}-common = "dev-so" | 308 | INSANE_SKIP:${JDKPN}-common = "dev-so" |
309 | 309 | ||
310 | # libfreetype.so.6 is copied from STAGING_LIBDIR | 310 | # libfreetype.so.6 is copied from STAGING_LIBDIR |
311 | # which is already stripped. | 311 | # which is already stripped. |
312 | INSANE_SKIP_${JDKPN}-jre = "already-stripped" | 312 | INSANE_SKIP:${JDKPN}-jre = "already-stripped" |
313 | 313 | ||
314 | FILES_${JDKPN}-jdk = " \ | 314 | FILES:${JDKPN}-jdk = " \ |
315 | ${JDK_HOME}/bin \ | 315 | ${JDK_HOME}/bin \ |
316 | ${JDK_HOME}/lib \ | 316 | ${JDK_HOME}/lib \ |
317 | ${JDK_HOME}/include \ | 317 | ${JDK_HOME}/include \ |
318 | ${JDK_HOME}${libdir}/jvm \ | 318 | ${JDK_HOME}${libdir}/jvm \ |
319 | " | 319 | " |
320 | RDEPENDS_${JDKPN}-jre = "${JDKPN}-java ${JDKPN}-common" | 320 | RDEPENDS:${JDKPN}-jre = "${JDKPN}-java ${JDKPN}-common" |
321 | RDEPENDS_${JDKPN}-java = "${JDKPN}-common" | 321 | RDEPENDS:${JDKPN}-java = "${JDKPN}-common" |
322 | RPROVIDES_${JDKPN}-jre = "java2-runtime" | 322 | RPROVIDES:${JDKPN}-jre = "java2-runtime" |
323 | 323 | ||
324 | RDEPENDS_${JDKPN}-jdk = "${JDKPN}-jre" | 324 | RDEPENDS:${JDKPN}-jdk = "${JDKPN}-jre" |
325 | 325 | ||
326 | FILES_${JDKPN}-doc = "${JDK_HOME}/man" | 326 | FILES:${JDKPN}-doc = "${JDK_HOME}/man" |
327 | 327 | ||
328 | # Name of the directory containing the compiled output | 328 | # Name of the directory containing the compiled output |
329 | BUILD_DIR = "openjdk.build" | 329 | BUILD_DIR = "openjdk.build" |
330 | BUILD_DIR_ECJ = "openjdk.build-ecj" | 330 | BUILD_DIR_ECJ = "openjdk.build-ecj" |
331 | 331 | ||
332 | # Force arm mode for now | 332 | # Force arm mode for now |
333 | ARM_INSTRUCTION_SET_armv4t = "ARM" | 333 | ARM_INSTRUCTION_SET:armv4t = "ARM" |
334 | 334 | ||
335 | ICEDTEA_URI = "http://icedtea.wildebeest.org/download/source/${ICEDTEA}.tar.gz;name=iced" | 335 | ICEDTEA_URI = "http://icedtea.wildebeest.org/download/source/${ICEDTEA}.tar.gz;name=iced" |
336 | 336 | ||
@@ -361,7 +361,7 @@ LANGTOOLS_URI = "${ICEDTEA_DROP_URL}/${LANGTOOLS_FILE};name=langtools;unpack=fal | |||
361 | # handles all postinst action for openjdk | 361 | # handles all postinst action for openjdk |
362 | # some of the former results in a build error because "ERR" is in the first line. | 362 | # some of the former results in a build error because "ERR" is in the first line. |
363 | 363 | ||
364 | pkg_postinst_ontarget_${JDKPN}-vm-shark () { | 364 | pkg_postinst_ontarget:${JDKPN}-vm-shark () { |
365 | true | 365 | true |
366 | if grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && ! grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 366 | if grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && ! grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
367 | sed -i -e "/\-shark.*/d" -e "s|\(^\-server*\)|\-shark KNOWN\n\1|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 367 | sed -i -e "/\-shark.*/d" -e "s|\(^\-server*\)|\-shark KNOWN\n\1|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
@@ -370,7 +370,7 @@ pkg_postinst_ontarget_${JDKPN}-vm-shark () { | |||
370 | fi | 370 | fi |
371 | } | 371 | } |
372 | 372 | ||
373 | pkg_prerm_${JDKPN}-vm-shark () { | 373 | pkg_prerm:${JDKPN}-vm-shark () { |
374 | true | 374 | true |
375 | sed -i -e "/^\-shark.*/d" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 375 | sed -i -e "/^\-shark.*/d" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
376 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 376 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
@@ -381,7 +381,7 @@ pkg_prerm_${JDKPN}-vm-shark () { | |||
381 | echo "-shark ERROR" >> ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 381 | echo "-shark ERROR" >> ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
382 | } | 382 | } |
383 | 383 | ||
384 | pkg_postinst_ontarget_${JDKPN}-vm-cacao () { | 384 | pkg_postinst_ontarget:${JDKPN}-vm-cacao () { |
385 | true | 385 | true |
386 | if grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && ! grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 386 | if grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && ! grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
387 | sed -i -e "/\-cacao.*/d" -e "s|\(^\-server*\)|\-cacao KNOWN\n\1|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 387 | sed -i -e "/\-cacao.*/d" -e "s|\(^\-server*\)|\-cacao KNOWN\n\1|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
@@ -390,7 +390,7 @@ pkg_postinst_ontarget_${JDKPN}-vm-cacao () { | |||
390 | fi | 390 | fi |
391 | } | 391 | } |
392 | 392 | ||
393 | pkg_prerm_${JDKPN}-vm-cacao () { | 393 | pkg_prerm:${JDKPN}-vm-cacao () { |
394 | true | 394 | true |
395 | sed -i -e "/^\-cacao.*/d" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 395 | sed -i -e "/^\-cacao.*/d" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
396 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 396 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
@@ -401,7 +401,7 @@ pkg_prerm_${JDKPN}-vm-cacao () { | |||
401 | echo "-cacao ERROR" >> ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 401 | echo "-cacao ERROR" >> ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
402 | } | 402 | } |
403 | 403 | ||
404 | pkg_postinst_ontarget_${JDKPN}-vm-jamvm () { | 404 | pkg_postinst_ontarget:${JDKPN}-vm-jamvm () { |
405 | true | 405 | true |
406 | if grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && ! grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 406 | if grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && ! grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
407 | sed -i -e "/\-jamvm.*/d" -e "s|\(^\-server*\)|\-jamvm KNOWN\n\1|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 407 | sed -i -e "/\-jamvm.*/d" -e "s|\(^\-server*\)|\-jamvm KNOWN\n\1|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
@@ -410,7 +410,7 @@ pkg_postinst_ontarget_${JDKPN}-vm-jamvm () { | |||
410 | fi | 410 | fi |
411 | } | 411 | } |
412 | 412 | ||
413 | pkg_prerm_${JDKPN}-vm-jamvm () { | 413 | pkg_prerm:${JDKPN}-vm-jamvm () { |
414 | true | 414 | true |
415 | sed -i -e "/^\-jamvm.*/d" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 415 | sed -i -e "/^\-jamvm.*/d" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
416 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 416 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
@@ -421,7 +421,7 @@ pkg_prerm_${JDKPN}-vm-jamvm () { | |||
421 | echo "-jamvm ERROR" >> ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 421 | echo "-jamvm ERROR" >> ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
422 | } | 422 | } |
423 | 423 | ||
424 | pkg_postinst_ontarget_${JDKPN}-vm-zero () { | 424 | pkg_postinst_ontarget:${JDKPN}-vm-zero () { |
425 | true | 425 | true |
426 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 426 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg && grep -q "\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
427 | FIRST_KNOWN=`grep "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | head -n 1` | 427 | FIRST_KNOWN=`grep "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | head -n 1` |
@@ -432,7 +432,7 @@ pkg_postinst_ontarget_${JDKPN}-vm-zero () { | |||
432 | sed -i -e "s|^\-server.*|\-server KNOWN|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 432 | sed -i -e "s|^\-server.*|\-server KNOWN|" -e "/^$/d" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
433 | } | 433 | } |
434 | 434 | ||
435 | pkg_prerm_${JDKPN}-vm-zero () { | 435 | pkg_prerm:${JDKPN}-vm-zero () { |
436 | true | 436 | true |
437 | sed -i -e "/^\-server.*/\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg | 437 | sed -i -e "/^\-server.*/\-server ERROR" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg |
438 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then | 438 | if grep -q "KNOWN" ${JDK_HOME}/jre/lib/${JDK_ARCH}/jvm.cfg; then |
@@ -441,14 +441,14 @@ pkg_prerm_${JDKPN}-vm-zero () { | |||
441 | fi | 441 | fi |
442 | } | 442 | } |
443 | 443 | ||
444 | pkg_postinst_${JDKPN}-jre () { | 444 | pkg_postinst:${JDKPN}-jre () { |
445 | ln -s ${JDK_HOME}/jre $D/${libdir}/jvm/jre | 445 | ln -s ${JDK_HOME}/jre $D/${libdir}/jvm/jre |
446 | } | 446 | } |
447 | 447 | ||
448 | inherit update-alternatives | 448 | inherit update-alternatives |
449 | 449 | ||
450 | ALTERNATIVE_${JDKPN}-jre = "java keytool" | 450 | ALTERNATIVE:${JDKPN}-jre = "java keytool" |
451 | ALTERNATIVE_${JDKPN}-jdk = "javac" | 451 | ALTERNATIVE:${JDKPN}-jdk = "javac" |
452 | 452 | ||
453 | ALTERNATIVE_TARGET[java] = "${JDK_HOME}/jre/bin/java" | 453 | ALTERNATIVE_TARGET[java] = "${JDK_HOME}/jre/bin/java" |
454 | ALTERNATIVE_TARGET[javac] = "${JDK_HOME}/bin/javac" | 454 | ALTERNATIVE_TARGET[javac] = "${JDK_HOME}/bin/javac" |
@@ -459,3 +459,6 @@ ALTERNATIVE_LINK_NAME[javac] = "${bindir}/javac" | |||
459 | ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool" | 459 | ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool" |
460 | 460 | ||
461 | ALTERNATIVE_PRIORITY = "50" | 461 | ALTERNATIVE_PRIORITY = "50" |
462 | |||
463 | # canon-prefix-map doesn't exist in gcc 12.x | ||
464 | DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" | ||
diff --git a/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb b/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb index d774cc2..57827d9 100644 --- a/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb +++ b/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb | |||
@@ -80,4 +80,4 @@ export DISTRIBUTION_PATCHES | |||
80 | # to avoid this error add -fpermissive | 80 | # to avoid this error add -fpermissive |
81 | # | 81 | # |
82 | # NOTE: When updating the recipe, please check if this is still needed | 82 | # NOTE: When updating the recipe, please check if this is still needed |
83 | CFLAGS_append = " -Wno-error=deprecated-declarations -Wno-error=narrowing -fpermissive" | 83 | CFLAGS:append = " -Wno-error=deprecated-declarations -Wno-error=narrowing -fpermissive" |
diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index c78bb2a..82bf31e 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc | |||
@@ -26,8 +26,9 @@ SRC_URI = "\ | |||
26 | ${PATCHES_URI} \ | 26 | ${PATCHES_URI} \ |
27 | " | 27 | " |
28 | 28 | ||
29 | do_configure_prepend () { | 29 | do_configure:prepend () { |
30 | export TOPDIR=${S} | 30 | export TOPDIR=${S} |
31 | sed -i 's#\$TOPDIR#${S}#g' ${S}/common/autoconf/configure.ac | ||
31 | } | 32 | } |
32 | 33 | ||
33 | do_unpack_extract_submodules () { | 34 | do_unpack_extract_submodules () { |
@@ -42,6 +43,21 @@ do_unpack_extract_submodules () { | |||
42 | tar xjf ${WORKDIR}/${NASHORN_FILE_LOCAL} --transform "s,-${NASHORN_CHANGESET},,g" | 43 | tar xjf ${WORKDIR}/${NASHORN_FILE_LOCAL} --transform "s,-${NASHORN_CHANGESET},,g" |
43 | } | 44 | } |
44 | 45 | ||
46 | do_patch:prepend() { | ||
47 | # use do_patch:prepend syntax and not pre/postfuncs to | ||
48 | # call do_unpack_extract_submodules | ||
49 | # *) the archiver.bbclass modifies WORKDIR, S, B,... | ||
50 | # and those modifications are lost otherwise, | ||
51 | # which leads to build failures in do_unpack_and_patch -> do_patch | ||
52 | func = 'do_unpack_extract_submodules' | ||
53 | bb.build.exec_func(func, d) | ||
54 | |||
55 | # delete X11 wrappers if x11 is not part of PACKAGECONFIG | ||
56 | if bb.utils.contains('PACKAGECONFIG', 'x11', False, True, d): | ||
57 | func_delete = 'do_unpack_delete_X11_wrappers' | ||
58 | bb.build.exec_func(func_delete, d) | ||
59 | } | ||
60 | |||
45 | do_unpack_delete_X11_wrappers() { | 61 | do_unpack_delete_X11_wrappers() { |
46 | find ${S}/jdk/src/solaris/classes/sun/awt/X11 -maxdepth 1 -name '*.java' -delete | 62 | find ${S}/jdk/src/solaris/classes/sun/awt/X11 -maxdepth 1 -name '*.java' -delete |
47 | } | 63 | } |
@@ -96,10 +112,7 @@ def package_config_option_cleanup(d): | |||
96 | if not option_headless and not with_cups: | 112 | if not option_headless and not with_cups: |
97 | option_headless = True | 113 | option_headless = True |
98 | 114 | ||
99 | if not option_soundless and not with_alsa: | 115 | if not option_soundless and not with_pulseaudio and not with_alsa: |
100 | option_soundless = True | ||
101 | |||
102 | if not option_soundless and not with_pulseaudio: | ||
103 | option_soundless = True | 116 | option_soundless = True |
104 | 117 | ||
105 | options = {'make': [], 'cpp': [], 'env': [], 'configure': ["--disable-ccache"] } | 118 | options = {'make': [], 'cpp': [], 'env': [], 'configure': ["--disable-ccache"] } |
@@ -155,8 +168,8 @@ def jdk_configure_options(d): | |||
155 | options = package_config_option_cleanup(d) | 168 | options = package_config_option_cleanup(d) |
156 | return options[3] | 169 | return options[3] |
157 | 170 | ||
158 | do_unpack[postfuncs] += "do_unpack_extract_submodules" | 171 | #do_unpack[postfuncs] += "do_unpack_extract_submodules" |
159 | do_unpack[postfuncs] += "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'do_unpack_delete_X11_wrappers', d)}" | 172 | #do_unpack[postfuncs] += "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', 'do_unpack_delete_X11_wrappers', d)}" |
160 | 173 | ||
161 | export DEBUG_BINARIES = "true" | 174 | export DEBUG_BINARIES = "true" |
162 | 175 | ||
@@ -164,7 +177,7 @@ ALTERNATIVE_PRIORITY = "50" | |||
164 | 177 | ||
165 | OPENJDK_UPDATE_VERSION = "${PV}" | 178 | OPENJDK_UPDATE_VERSION = "${PV}" |
166 | OPENJDK_BUILD_NUMBER = "ga" | 179 | OPENJDK_BUILD_NUMBER = "ga" |
167 | EXTRA_OECONF_append = "\ | 180 | EXTRA_OECONF:append = "\ |
168 | --with-build-number=${OPENJDK_BUILD_NUMBER} \ | 181 | --with-build-number=${OPENJDK_BUILD_NUMBER} \ |
169 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ | 182 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ |
170 | " | 183 | " |
@@ -176,8 +189,11 @@ EXTRA_OECONF_append = "\ | |||
176 | GLOBAL_FLAGS = "-fno-lifetime-dse -fno-delete-null-pointer-checks -fcommon" | 189 | GLOBAL_FLAGS = "-fno-lifetime-dse -fno-delete-null-pointer-checks -fcommon" |
177 | 190 | ||
178 | # flags for -native, and for bits that need a host-tool during -cross | 191 | # flags for -native, and for bits that need a host-tool during -cross |
179 | BUILD_CFLAGS_append = " ${GLOBAL_FLAGS}" | 192 | BUILD_CFLAGS:append = " ${GLOBAL_FLAGS}" |
180 | BUILD_CXXFLAGS_append = " ${GLOBAL_FLAGS}" | 193 | BUILD_CXXFLAGS:append = " ${GLOBAL_FLAGS}" |
181 | # flags for -cross | 194 | # flags for -cross |
182 | TARGET_CFLAGS_append = " ${GLOBAL_FLAGS}" | 195 | TARGET_CFLAGS:append = " ${GLOBAL_FLAGS}" |
183 | TARGET_CXXFLAGS_append = " ${GLOBAL_FLAGS}" | 196 | TARGET_CXXFLAGS:append = " ${GLOBAL_FLAGS}" |
197 | |||
198 | # canon-prefix-map doesn't exist in gcc 12.x | ||
199 | DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" | ||
diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc index 6c0f949..ff682f1 100644 --- a/recipes-core/openjdk/openjdk-8-cross.inc +++ b/recipes-core/openjdk/openjdk-8-cross.inc | |||
@@ -47,16 +47,13 @@ require openjdk-8-common.inc | |||
47 | 47 | ||
48 | JAVA_HOME[unexport] = "1" | 48 | JAVA_HOME[unexport] = "1" |
49 | 49 | ||
50 | SRC_URI_append = "\ | 50 | SRC_URI:append = "\ |
51 | file://jvm.cfg \ | 51 | file://jvm.cfg \ |
52 | file://0011-autoconf-fix-CC-with-arguments-detection.patch \ | 52 | file://0011-autoconf-fix-CC-with-arguments-detection.patch \ |
53 | file://0012-autoconf-NativeCompilation-remove-sysroot.patch \ | 53 | file://0012-autoconf-NativeCompilation-remove-sysroot.patch \ |
54 | " | 54 | " |
55 | 55 | ||
56 | BUILD_CFLAGS_append = " -Wno-stringop-overflow -Wno-error" | 56 | EXTRA_OECONF:append = "\ |
57 | TARGET_CFLAGS_append = " -Wno-stringop-overflow -Wno-error" | ||
58 | |||
59 | EXTRA_OECONF_append = "\ | ||
60 | --with-jobs=${@openjdk_build_helper_get_parallel_make(d)} \ | 57 | --with-jobs=${@openjdk_build_helper_get_parallel_make(d)} \ |
61 | \ | 58 | \ |
62 | --with-tools-dir=${STAGING_DIR_NATIVE} \ | 59 | --with-tools-dir=${STAGING_DIR_NATIVE} \ |
@@ -76,16 +73,16 @@ EXTRA_OECONF_append = "\ | |||
76 | ${@jdk_configure_options(d)} \ | 73 | ${@jdk_configure_options(d)} \ |
77 | " | 74 | " |
78 | 75 | ||
79 | do_configure_prepend() { | 76 | do_configure:prepend() { |
80 | export JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS}" | 77 | export JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS}" |
81 | export ${@jdk_environment_options(d)} | 78 | export ${@jdk_environment_options(d)} |
82 | } | 79 | } |
83 | 80 | ||
84 | do_configure_append() { | 81 | do_configure:append() { |
85 | sed -i -e 's,POST_STRIP_CMD:=.*,POST_STRIP_CMD:=,g' ${B}/spec.gmk | 82 | sed -i -e 's,POST_STRIP_CMD:=.*,POST_STRIP_CMD:=,g' ${B}/spec.gmk |
86 | } | 83 | } |
87 | 84 | ||
88 | do_install_append() { | 85 | do_install:append() { |
89 | if ${@bb.utils.contains('PACKAGECONFIG', 'repack', 'true', 'false', d)} ; then | 86 | if ${@bb.utils.contains('PACKAGECONFIG', 'repack', 'true', 'false', d)} ; then |
90 | if [ -d ${D}${JDK_HOME} ] ; then | 87 | if [ -d ${D}${JDK_HOME} ] ; then |
91 | find ${D}${JDK_HOME} -name "*.jar" -print0 | \ | 88 | find ${D}${JDK_HOME} -name "*.jar" -print0 | \ |
@@ -102,10 +99,12 @@ do_install_append() { | |||
102 | fi | 99 | fi |
103 | } | 100 | } |
104 | 101 | ||
102 | do_install[vardepsexclude] += "BB_NUMBER_THREADS" | ||
103 | |||
105 | export MAKE_VERBOSE = "y" | 104 | export MAKE_VERBOSE = "y" |
106 | export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip" | 105 | export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace STRIP_POLICY=no_strip" |
107 | 106 | ||
108 | EXTRA_OEMAKE_append = '\ | 107 | EXTRA_OEMAKE:append = '\ |
109 | ${@jdk_make_options(d)} \ | 108 | ${@jdk_make_options(d)} \ |
110 | ALT_SDT_H="${STAGING_INCDIR}" \ | 109 | ALT_SDT_H="${STAGING_INCDIR}" \ |
111 | ALT_CUPS_HEADERS_PATH="${STAGING_INCDIR}" \ | 110 | ALT_CUPS_HEADERS_PATH="${STAGING_INCDIR}" \ |
@@ -133,4 +132,4 @@ PACKAGE_PREPROCESS_FUNCS += "remove_debuglink" | |||
133 | 132 | ||
134 | # FIXME libjsig.so is a symlink to a .so but this one is valid | 133 | # FIXME libjsig.so is a symlink to a .so but this one is valid |
135 | # FIXME libfreetype.so.6 is copied from STAGING_LIBDIR which is already stripped | 134 | # FIXME libfreetype.so.6 is copied from STAGING_LIBDIR which is already stripped |
136 | INSANE_SKIP_${PN} = "dev-so already-stripped" | 135 | INSANE_SKIP:${PN} = "dev-so already-stripped" |
diff --git a/recipes-core/openjdk/openjdk-8-native.inc b/recipes-core/openjdk/openjdk-8-native.inc index 321a43d..c02e183 100644 --- a/recipes-core/openjdk/openjdk-8-native.inc +++ b/recipes-core/openjdk/openjdk-8-native.inc | |||
@@ -8,8 +8,8 @@ DEPENDS = "\ | |||
8 | " | 8 | " |
9 | 9 | ||
10 | PACKAGECONFIG ??= "gif jpeg png zlib" | 10 | PACKAGECONFIG ??= "gif jpeg png zlib" |
11 | PACKAGECONFIG[x11] = "--with-x,,libx11-native xorgproto-native libxt-native libxext-native libxrender-native" | 11 | PACKAGECONFIG[x11] = "--with-x,,libx11-native xorgproto-native libxt-native libxext-native libxrender-native libxtst-native" |
12 | PACKAGECONFIG[cups] = "--with-cups,,cups" | 12 | PACKAGECONFIG[cups] = "--with-cups,,cups-native" |
13 | PACKAGECONFIG[alsa] = "--with-alsa,,alsa-lib-native" | 13 | PACKAGECONFIG[alsa] = "--with-alsa,,alsa-lib-native" |
14 | PACKAGECONFIG[gif] = "--with-giflib=system,--with-giflib=bundled,giflib-native" | 14 | PACKAGECONFIG[gif] = "--with-giflib=system,--with-giflib=bundled,giflib-native" |
15 | PACKAGECONFIG[jce] = "--enable-unlimited-crypto,," | 15 | PACKAGECONFIG[jce] = "--enable-unlimited-crypto,," |
@@ -17,7 +17,7 @@ PACKAGECONFIG[jpeg] = "--with-libjpeg=system,--with-libjpeg=bundled,jpeg-native" | |||
17 | PACKAGECONFIG[png] = "--with-libpng=system,--with-libpng=bundled,libpng-native" | 17 | PACKAGECONFIG[png] = "--with-libpng=system,--with-libpng=bundled,libpng-native" |
18 | PACKAGECONFIG[zlib] = "--with-zlib=system,--with-zlib=bundled,zlib-native" | 18 | PACKAGECONFIG[zlib] = "--with-zlib=system,--with-zlib=bundled,zlib-native" |
19 | 19 | ||
20 | EXTRA_OECONF_append = "\ | 20 | EXTRA_OECONF:append = "\ |
21 | --with-jobs=${@openjdk_build_helper_get_parallel_make(d)} \ | 21 | --with-jobs=${@openjdk_build_helper_get_parallel_make(d)} \ |
22 | \ | 22 | \ |
23 | --with-tools-dir=${STAGING_DIR_NATIVE} \ | 23 | --with-tools-dir=${STAGING_DIR_NATIVE} \ |
@@ -32,36 +32,36 @@ EXTRA_OECONF_append = "\ | |||
32 | " | 32 | " |
33 | # --with-boot-jdk=${WORKDIR}/fake-jdk | 33 | # --with-boot-jdk=${WORKDIR}/fake-jdk |
34 | 34 | ||
35 | inherit native | ||
36 | |||
37 | require openjdk-8-common.inc | 35 | require openjdk-8-common.inc |
38 | 36 | ||
39 | CFLAGS_append = " ${@jdk_cpp_options(d)}" | 37 | inherit native |
40 | CPPFLAGS_append = "${@jdk_cpp_options(d)}" | 38 | |
41 | CXXFLAGS_append = " ${@jdk_cpp_options(d)}" | 39 | CFLAGS:append = " ${@jdk_cpp_options(d)}" |
40 | CPPFLAGS:append = "${@jdk_cpp_options(d)}" | ||
41 | CXXFLAGS:append = " ${@jdk_cpp_options(d)}" | ||
42 | 42 | ||
43 | export MAKE_VERBOSE = "y" | 43 | export MAKE_VERBOSE = "y" |
44 | export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace" | 44 | export MFLAGS="${@jdk_make_options(d)} MAKE_VERBOSE=y QUIETLY= VERBOSE=-s LOG_LEVEL=trace" |
45 | 45 | ||
46 | EXTRA_OEMAKE_append = ' \ | 46 | EXTRA_OEMAKE:append = ' \ |
47 | ${@jdk_make_options(d)} \ | 47 | ${@jdk_make_options(d)} \ |
48 | MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace \ | 48 | MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace \ |
49 | QUIETLY= \ | 49 | QUIETLY= \ |
50 | images \ | 50 | images \ |
51 | ' | 51 | ' |
52 | 52 | ||
53 | do_configure_prepend() { | 53 | do_configure:prepend() { |
54 | export JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS}" | 54 | export JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS}" |
55 | export ${@jdk_environment_options(d)} | 55 | export ${@jdk_environment_options(d)} |
56 | unset CC CXX | 56 | unset CC CXX |
57 | } | 57 | } |
58 | 58 | ||
59 | do_compile_prepend() { | 59 | do_compile:prepend() { |
60 | export JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS}" | 60 | export JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS}" |
61 | rm -f "${B}/images/j2sdk-image/jre/lib/security/cacerts" | 61 | rm -f "${B}/images/j2sdk-image/jre/lib/security/cacerts" |
62 | } | 62 | } |
63 | 63 | ||
64 | do_compile_append() { | 64 | do_compile:append() { |
65 | set -x | 65 | set -x |
66 | mkdir -p ${B}/certs | 66 | mkdir -p ${B}/certs |
67 | for pem in $(find ${STAGING_DATADIR}/ca-certificates -name "*.crt") | 67 | for pem in $(find ${STAGING_DATADIR}/ca-certificates -name "*.crt") |
@@ -88,3 +88,6 @@ do_install() { | |||
88 | ln -sf "../lib/jvm/${JDK_DIR}/bin/$tool" ${D}${bindir}/$tool | 88 | ln -sf "../lib/jvm/${JDK_DIR}/bin/$tool" ${D}${bindir}/$tool |
89 | done | 89 | done |
90 | } | 90 | } |
91 | |||
92 | # FIXME libfreetype.so.6 is copied from STAGING_LIBDIR which is already stripped | ||
93 | INSANE_SKIP:${PN} = "already-stripped" | ||
diff --git a/recipes-core/openjdk/openjdk-8-native_252.bb b/recipes-core/openjdk/openjdk-8-native_272.bb index 39321f2..39321f2 100644 --- a/recipes-core/openjdk/openjdk-8-native_252.bb +++ b/recipes-core/openjdk/openjdk-8-native_272.bb | |||
diff --git a/recipes-core/openjdk/openjdk-8-release-aarch32.inc b/recipes-core/openjdk/openjdk-8-release-aarch32.inc index 62dc866..17e3a3d 100644 --- a/recipes-core/openjdk/openjdk-8-release-aarch32.inc +++ b/recipes-core/openjdk/openjdk-8-release-aarch32.inc | |||
@@ -1,39 +1,39 @@ | |||
1 | require openjdk-8-release-common.inc | 1 | require openjdk-8-release-common.inc |
2 | 2 | ||
3 | COMPATIBLE_HOST = "^$" | 3 | COMPATIBLE_HOST = "^$" |
4 | COMPATIBLE_HOST_armv7a = "arm" | 4 | COMPATIBLE_HOST:armv7a = "arm" |
5 | COMPATIBLE_HOST_armv7ve = "arm" | 5 | COMPATIBLE_HOST:armv7ve = "arm" |
6 | 6 | ||
7 | CHANGESET_ID="20200415" | 7 | CHANGESET_ID="b09-aarch32-20200929" |
8 | 8 | ||
9 | CORBA_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 9 | CORBA_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
10 | SRC_URI[corba.sha256sum] = "e8dab3ffbc39fec724604b8c65408f32dcca1682769077c5b4f71b571938fe26" | 10 | SRC_URI[corba.sha256sum] = "3675f043479c7e3ee7128651527d15c4e56f72d22dd953b8d0d8e5c9a2c68741" |
11 | 11 | ||
12 | HOTSPOT_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 12 | HOTSPOT_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
13 | SRC_URI[hotspot.sha256sum] = "7aebf690a05746e4fbcdcd75ac4e67acb2f0b087bba3bcb064675468626f5822" | 13 | SRC_URI[hotspot.sha256sum] = "d5ea125d7e54fd3dd21bf1654c09b5ce17497d9327f770abd56ad1108a337b81" |
14 | 14 | ||
15 | JAXP_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 15 | JAXP_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
16 | SRC_URI[jaxp.sha256sum] = "44883e0e836ee5fa2fcb4df936bafcfad69c57d05876d44ecefc5b3cb6b085c0" | 16 | SRC_URI[jaxp.sha256sum] = "a025f9f047bc50947aa631641b2f836c3a3ec4a5f2c9019bc7b11ab8444f7b9e" |
17 | 17 | ||
18 | JAXWS_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 18 | JAXWS_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
19 | SRC_URI[jaxws.sha256sum] = "34f6cf3eb34c0c310e0cc31b876b189fd6b2e2c2dcc1066af5347f3a0873d2d3" | 19 | SRC_URI[jaxws.sha256sum] = "ad921e0f5cafab4c5b4bb248ea59bf1615864c4de17bfd7321759d063398dc3f" |
20 | 20 | ||
21 | JDK_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 21 | JDK_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
22 | SRC_URI[jdk.sha256sum] = "f89688b5673ed75b1bebfd530a979788a4cbe942ce39eb38784f8c9e1303012b" | 22 | SRC_URI[jdk.sha256sum] = "835e81fc88b8c0e40df0d89be5d8a852638b3f5f29acad6997cbc36a2e8341fe" |
23 | 23 | ||
24 | LANGTOOLS_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 24 | LANGTOOLS_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
25 | SRC_URI[langtools.sha256sum] = "18357720e3b924dea2f171235ae06e753aeef7958a3ce7a2a8d41fa6e2c90454" | 25 | SRC_URI[langtools.sha256sum] = "554491026bb9fadb837d635d4beea3ca9cb73f034c1379d57fcd77787816139f" |
26 | 26 | ||
27 | NASHORN_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 27 | NASHORN_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
28 | SRC_URI[nashorn.sha256sum] = "abd6ccf28278ce5775eebada339228fe2e3380d57d009179acdd7026adb21448" | 28 | SRC_URI[nashorn.sha256sum] = "8358000a7e52fcfd046027319569d17f2e99b710acbfd1a1120b50ce93afe223" |
29 | 29 | ||
30 | OPENJDK_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}" | 30 | OPENJDK_CHANGESET:arm = "jdk8u${PV}-${CHANGESET_ID}" |
31 | SRC_URI[openjdk.sha256sum] = "06d141aa01b80aa0c167167081e2139b3edf5af764cf17bbe9e1b57bf4f585ab" | 31 | SRC_URI[openjdk.sha256sum] = "4b38e672c82df5d18215849829a80a111b1c7b46567bc641e9fec92bedd0d32a" |
32 | 32 | ||
33 | PACKAGECONFIG_append_armv7a = " client" | 33 | PACKAGECONFIG:append:armv7a = " client" |
34 | PACKAGECONFIG_append_armv7ve = " client" | 34 | PACKAGECONFIG:append:armv7ve = " client" |
35 | 35 | ||
36 | do_install_append() { | 36 | do_install:append() { |
37 | if [ -d ${D}${JDK_HOME} ] ; then | 37 | if [ -d ${D}${JDK_HOME} ] ; then |
38 | sed -e 's,^\(-server ERROR$\),# \1,' \ | 38 | sed -e 's,^\(-server ERROR$\),# \1,' \ |
39 | -e 's,^-client IGNORE,-client ERROR,' \ | 39 | -e 's,^-client IGNORE,-client ERROR,' \ |
@@ -48,5 +48,5 @@ do_install_append() { | |||
48 | fi | 48 | fi |
49 | } | 49 | } |
50 | 50 | ||
51 | JDK_ARCH_armv7a = "aarch32" | 51 | JDK_ARCH:armv7a = "aarch32" |
52 | JDK_ARCH_armv7ve = "aarch32" | 52 | JDK_ARCH:armv7ve = "aarch32" |
diff --git a/recipes-core/openjdk/openjdk-8-release-aarch64.inc b/recipes-core/openjdk/openjdk-8-release-aarch64.inc index 86dffff..3aac110 100644 --- a/recipes-core/openjdk/openjdk-8-release-aarch64.inc +++ b/recipes-core/openjdk/openjdk-8-release-aarch64.inc | |||
@@ -2,28 +2,28 @@ require openjdk-8-release-common.inc | |||
2 | 2 | ||
3 | COMPATIBLE_HOST = "aarch64" | 3 | COMPATIBLE_HOST = "aarch64" |
4 | 4 | ||
5 | CHANGESET_ID="b09" | 5 | CHANGESET_ID="b10" |
6 | 6 | ||
7 | CORBA_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 7 | CORBA_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
8 | SRC_URI[corba.sha256sum] = "13ce2345dec4390a7ed61066275528c1d4fe246abb3ffc16bdfd93c0e8ead193" | 8 | SRC_URI[corba.sha256sum] = "112143d935a94cb95a0f9dba19a86184d08e699a68a82db58cdd9f0de1baeeae" |
9 | 9 | ||
10 | HOTSPOT_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 10 | HOTSPOT_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
11 | SRC_URI[hotspot.sha256sum] = "80dd8b1289905252f5f9d97ba2302fe4b77a76851709f10d429848750b709c66" | 11 | SRC_URI[hotspot.sha256sum] = "16ed30b46279e2ffef04ab392502e32525451bea38f3af0d3c3782bcd33a0274" |
12 | 12 | ||
13 | JAXP_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 13 | JAXP_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
14 | SRC_URI[jaxp.sha256sum] = "a52f5497318980f379ce05ff8e638a0ae0ce7265d8922ddfb731d26989faf161" | 14 | SRC_URI[jaxp.sha256sum] = "5dde165d7327b08f2ebc8d3081a1734d9ef737117dcaa417eb7dc39344220987" |
15 | 15 | ||
16 | JAXWS_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 16 | JAXWS_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
17 | SRC_URI[jaxws.sha256sum] = "1db8876408222a8eec8432bd9778559ea80cae36a2c6dead32723279d1622741" | 17 | SRC_URI[jaxws.sha256sum] = "cedde28264a85cb16ae46123091edb64f7c1d2cd5f3de6ba0d21cffff84c3ccf" |
18 | 18 | ||
19 | JDK_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 19 | JDK_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
20 | SRC_URI[jdk.sha256sum] = "abc7a1eec87ac330bebfa8ec4a3db72c27b63aa50175abfade580a46b7f2d865" | 20 | SRC_URI[jdk.sha256sum] = "7e53438e0506536fe373b7f8176512c701b87adda268831d180ead2695154a93" |
21 | 21 | ||
22 | LANGTOOLS_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 22 | LANGTOOLS_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
23 | SRC_URI[langtools.sha256sum] = "c4e3dd471372dad5a545ec038104c7706fa02da452275ce118ad7e38e418a57a" | 23 | SRC_URI[langtools.sha256sum] = "8dbcd45109d0c782a6cac5a1a310a5816d4dac8a9c095635832ab803bfdb861a" |
24 | 24 | ||
25 | NASHORN_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 25 | NASHORN_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
26 | SRC_URI[nashorn.sha256sum] = "956ef3a52dc97fb28aeeeb9ccbd371c2b7f14e253fd63d1f98bb1bf87ddf1929" | 26 | SRC_URI[nashorn.sha256sum] = "85497cdba0943644d838862761891d0a06dfaad5ea13b63af69f1a6d595e6387" |
27 | 27 | ||
28 | OPENJDK_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" | 28 | OPENJDK_CHANGESET:aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}" |
29 | SRC_URI[openjdk.sha256sum] = "b7b933ff2b8c0ee17eb6dbd02beb8769e7dfe15c50ab2fdeef55666e4b12cbe7" | 29 | SRC_URI[openjdk.sha256sum] = "97175c78de4c82b78d3c80b1b0d22c44b195ca067f253cfaa3c235328b808760" |
diff --git a/recipes-core/openjdk/openjdk-8-release-common.inc b/recipes-core/openjdk/openjdk-8-release-common.inc index bd3092f..ff8d96e 100644 --- a/recipes-core/openjdk/openjdk-8-release-common.inc +++ b/recipes-core/openjdk/openjdk-8-release-common.inc | |||
@@ -1,3 +1,4 @@ | |||
1 | |||
1 | PATCHES_URI = "\ | 2 | PATCHES_URI = "\ |
2 | file://0001-Allow-using-a-system-installed-libjpeg.patch \ | 3 | file://0001-Allow-using-a-system-installed-libjpeg.patch \ |
3 | file://0002-Allow-using-a-system-installed-libpng.patch \ | 4 | file://0002-Allow-using-a-system-installed-libpng.patch \ |
@@ -9,6 +10,7 @@ PATCHES_URI = "\ | |||
9 | file://0008-autoconf-fix-shark-build-common.patch \ | 10 | file://0008-autoconf-fix-shark-build-common.patch \ |
10 | file://0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch \ | 11 | file://0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch \ |
11 | file://0010-autoconf-remove-shell-variables-from-autoheader.patch \ | 12 | file://0010-autoconf-remove-shell-variables-from-autoheader.patch \ |
13 | file://0013-autoconf-remove-Werror.patch \ | ||
12 | ${HOTSPOT_UB_PATCH} \ | 14 | ${HOTSPOT_UB_PATCH} \ |
13 | file://2001-jdk-comparison-between-pointer-and-integer.patch \ | 15 | file://2001-jdk-comparison-between-pointer-and-integer.patch \ |
14 | file://2002-jdk-Allow-using-a-system-installed-libjpeg.patch \ | 16 | file://2002-jdk-Allow-using-a-system-installed-libjpeg.patch \ |
@@ -18,38 +20,35 @@ PATCHES_URI = "\ | |||
18 | file://2006-jdk-disable-backtrace-musl-build-fix.patch \ | 20 | file://2006-jdk-disable-backtrace-musl-build-fix.patch \ |
19 | file://2007-jdk-no-genx11-in-headless.patch \ | 21 | file://2007-jdk-no-genx11-in-headless.patch \ |
20 | file://2008-jdk-no-unused-deps.patch \ | 22 | file://2008-jdk-no-unused-deps.patch \ |
21 | file://2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch \ | 23 | file://2009-jdk-make-use-gcc-instead-of-ld-for-genSocketOptionRe.patch \ |
22 | " | 24 | " |
23 | HOTSPOT_UB_PATCH = "\ | 25 | HOTSPOT_UB_PATCH = "\ |
24 | file://1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch \ | 26 | file://1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch \ |
25 | file://1002-hotspot-use-correct-include-for-poll.patch \ | 27 | file://1002-hotspot-use-correct-include-for-poll.patch \ |
26 | file://1003-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch \ | 28 | file://1003-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch \ |
27 | file://1004-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch \ | 29 | file://1004-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch \ |
28 | file://1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch \ | 30 | file://1005-hotspot-Zero-build-requires-disabled-warnings.patch \ |
29 | file://1006-hotspot-Zero-build-requires-disabled-warnings.patch \ | 31 | file://1006-hotspot-Missing-return-statement-in-__sync_val_compa.patch \ |
30 | file://1007-hotspot-Missing-return-statement-in-__sync_val_compa.patch \ | 32 | file://1007-hotspot-Turn-on-the-Wreturn-type-warning.patch \ |
31 | file://1008-hotspot-Turn-on-the-Wreturn-type-warning.patch \ | 33 | file://1008-hotspot-handle-format-error-for-GCC-7.patch \ |
32 | file://1009-hotspot-handle-format-error-for-GCC-7.patch \ | 34 | file://1012-hotspot-enable-Wno-error.patch \ |
33 | " | 35 | " |
34 | HOTSPOT_UB_PATCH_append_class-target = "\ | 36 | HOTSPOT_UB_PATCH:append:class-target = "\ |
35 | file://1010-hotspot-fix-adlc-flags.patch \ | 37 | file://1009-hotspot-fix-adlc-flags.patch \ |
36 | file://1011-hotspot-fix-shark-build-common.patch \ | 38 | file://1010-hotspot-fix-shark-build-common.patch \ |
37 | file://1012-hotspot-restrict-to-staging-dir.patch \ | 39 | file://1011-hotspot-restrict-to-staging-dir.patch \ |
38 | " | 40 | " |
39 | HOTSPOT_UB_PATCH_prepend_aarch64 = "\ | 41 | HOTSPOT_UB_PATCH:prepend:aarch64 = "\ |
40 | file://aarch64-hotspot-Fix-further-functions-with-a-missing.patch \ | 42 | file://1401-hotspot-aarch64-Add-missing-return-value-to-LIR_Asse.patch \ |
41 | " | 43 | " |
42 | HOTSPOT_UB_PATCH_append_armv7a = " file://aarch32-hotspot-fix-missing-return-values.patch" | 44 | HOTSPOT_UB_PATCH:append:armv7a = " file://1201-hotspot-aarch32-fix-missing-return-values.patch" |
43 | HOTSPOT_UB_PATCH_append_armv7ve = " file://aarch32-hotspot-fix-missing-return-values.patch" | 45 | HOTSPOT_UB_PATCH:append:armv7ve = " file://1201-hotspot-aarch32-fix-missing-return-values.patch" |
44 | 46 | ||
45 | PATCHES_URI_append_class-target = "\ | 47 | PATCHES_URI:append:class-target = "\ |
46 | ${FIX_SHARK_BUILD_PT2_PATCH} \ | 48 | file://1013-hotspot-add-missing-includes-for-shark-build-pt2.patch \ |
47 | " | 49 | " |
48 | FIX_SHARK_BUILD_PT2_PATCH = "file://openjdk8-fix-shark-build-pt2.patch;striplevel=0" | ||
49 | FIX_SHARK_BUILD_PT2_PATCH_armv7a = "file://aarch32-hotspot-fix-shark-build-pt2.patch;striplevel=0" | ||
50 | FIX_SHARK_BUILD_PT2_PATCH_armv7ve = "file://aarch32-hotspot-fix-shark-build-pt2.patch;striplevel=0" | ||
51 | 50 | ||
52 | PATCHES_URI_append_libc-musl = "\ | 51 | PATCHES_URI:append:libc-musl = "\ |
53 | ${OBSOLETE_ISNANF_PATCH} \ | 52 | ${OBSOLETE_ISNANF_PATCH} \ |
54 | file://musl-0002-jdk-give-a-much-bigger-buffer-to-getmntent_r.patch \ | 53 | file://musl-0002-jdk-give-a-much-bigger-buffer-to-getmntent_r.patch \ |
55 | file://musl-0003-jdk-fix-libjvm-load-on-musl-set-LD_LIBRARY_PATH.patch \ | 54 | file://musl-0003-jdk-fix-libjvm-load-on-musl-set-LD_LIBRARY_PATH.patch \ |
@@ -63,55 +62,45 @@ PATCHES_URI_append_libc-musl = "\ | |||
63 | file://musl-0009-jdk-musl-has-gethostby_r.patch \ | 62 | file://musl-0009-jdk-musl-has-gethostby_r.patch \ |
64 | " | 63 | " |
65 | OBSOLETE_ISNANF_PATCH = "file://musl-0001-hotspot-stop-using-obsolete-isnanf.patch" | 64 | OBSOLETE_ISNANF_PATCH = "file://musl-0001-hotspot-stop-using-obsolete-isnanf.patch" |
66 | OBSOLETE_ISNANF_PATCH_armv7a = "" | 65 | OBSOLETE_ISNANF_PATCH:armv7a = "" |
67 | OBSOLETE_ISNANF_PATCH_armv7ve = "" | 66 | OBSOLETE_ISNANF_PATCH:armv7ve = "" |
68 | DISABLE_AGENT_BUILD_PT2 = "file://musl-0005-hotspot-disable-agent-build-pt2.patch" | 67 | DISABLE_AGENT_BUILD_PT2 = "file://musl-0005-hotspot-disable-agent-build-pt2.patch" |
69 | DISABLE_AGENT_BUILD_PT2_armv7a = "file://musl-0005-hotspot-disable-agent-build-pt2-aarch32.patch" | 68 | DISABLE_AGENT_BUILD_PT2:armv7a = "file://musl-0005-hotspot-disable-agent-build-pt2-aarch32.patch" |
70 | DISABLE_AGENT_BUILD_PT2_armv7ve = "file://musl-0005-hotspot-disable-agent-build-pt2-aarch32.patch" | 69 | DISABLE_AGENT_BUILD_PT2:armv7ve = "file://musl-0005-hotspot-disable-agent-build-pt2-aarch32.patch" |
71 | REMOVE_GLIBC_DEPENDENCIES_PT2 = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch" | 70 | REMOVE_GLIBC_DEPENDENCIES_PT2 = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch" |
72 | REMOVE_GLIBC_DEPENDENCIES_PT2_armv7a = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch" | 71 | REMOVE_GLIBC_DEPENDENCIES_PT2:armv7a = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch" |
73 | REMOVE_GLIBC_DEPENDENCIES_PT2_armv7ve = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch" | 72 | REMOVE_GLIBC_DEPENDENCIES_PT2:armv7ve = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch" |
74 | 73 | ||
75 | PATCHES_URI_append_libc-musl_armv7a = " file://aarch32-hotspot-remaining-musl-fixes.patch" | 74 | PATCHES_URI:append:libc-musl:armv7a = " file://1202-hotspot-aarch32-remaining-musl-fixes.patch" |
76 | PATCHES_URI_append_libc-musl_armv7ve = " file://aarch32-hotspot-remaining-musl-fixes.patch" | 75 | PATCHES_URI:append:libc-musl:armv7ve = " file://1202-hotspot-aarch32-remaining-musl-fixes.patch" |
77 | PATCHES_URI_append_libc-musl_aarch64 = " file://aarch64-hotspot-remaining-musl-fixes.patch" | 76 | PATCHES_URI:append:libc-musl:aarch64 = " file://1402-hotspot-aarch64-remaining-musl-fixes.patch" |
78 | 77 | ||
79 | # remove aarch32 & aarch64 mainlined patches | 78 | # remove aarch32 & aarch64 mainlined patches |
80 | PATCHES_URI_remove_armv7a = "file://2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch" | 79 | PATCHES_URI:remove:armv7a = "file://2009-jdk-make-use-gcc-instead-of-ld-for-genSocketOptionRe.patch" |
81 | PATCHES_URI_remove_armv7ve = "file://2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch" | 80 | PATCHES_URI:remove:armv7ve = "file://2009-jdk-make-use-gcc-instead-of-ld-for-genSocketOptionRe.patch" |
82 | PATCHES_URI_remove_aarch64 = "file://2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch" | 81 | PATCHES_URI:remove:aarch64 = "file://2009-jdk-make-use-gcc-instead-of-ld-for-genSocketOptionRe.patch" |
83 | 82 | ||
84 | # Name of the directory containing the compiled output | 83 | # Name of the directory containing the compiled output |
85 | BUILD_DIR = "openjdk.build" | 84 | BUILD_DIR = "openjdk.build" |
86 | BUILD_DIR_ECJ = "openjdk.build-ecj" | 85 | BUILD_DIR_ECJ = "openjdk.build-ecj" |
87 | 86 | ||
88 | # Force arm mode for now | 87 | # Force arm mode for now |
89 | ARM_INSTRUCTION_SET_armv4t = "ARM" | 88 | ARM_INSTRUCTION_SET:armv4t = "ARM" |
90 | |||
91 | # readdir_r was deprecated in glibc-2.24. Ignore the error for now | ||
92 | # NOTE: When updating the recipe, please check if this is still needed | ||
93 | BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations" | ||
94 | TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations" | ||
95 | |||
96 | # WORKAROUND: disable the "specified bound depends on the length of the source argument" | ||
97 | # compiler error until we update openjdk8 to a fixed version | ||
98 | BUILD_CFLAGS_append = " -Wno-error=stringop-overflow" | ||
99 | TARGET_CFLAGS_append = " -Wno-error=stringop-overflow" | ||
100 | 89 | ||
101 | # Enable zero mode for arm based builds, as normal hotspot fails to build | 90 | # Enable zero mode for arm based builds, as normal hotspot fails to build |
102 | PACKAGECONFIG_append_armv4 = " zero" | 91 | PACKAGECONFIG:append:armv4 = " zero" |
103 | PACKAGECONFIG_append_armv5 = " zero" | 92 | PACKAGECONFIG:append:armv5 = " zero" |
104 | PACKAGECONFIG_append_armv6 = " zero" | 93 | PACKAGECONFIG:append:armv6 = " zero" |
105 | 94 | ||
106 | OPENJDK_ARCH_PORT = "jdk8u" | 95 | OPENJDK_ARCH_PORT = "jdk8u" |
107 | OPENJDK_ARCH_PORT_aarch64 = "aarch64-port" | 96 | OPENJDK_ARCH_PORT:aarch64 = "aarch64-port" |
108 | OPENJDK_ARCH_PORT_armv7a = "aarch32-port" | 97 | OPENJDK_ARCH_PORT:armv7a = "aarch32-port" |
109 | OPENJDK_ARCH_PORT_armv7ve = "aarch32-port" | 98 | OPENJDK_ARCH_PORT:armv7ve = "aarch32-port" |
110 | OPENJDK_HG_U = "jdk8u" | 99 | OPENJDK_HG_U = "jdk8u" |
111 | 100 | ||
112 | # the aarch64 port moved, for more information see: | 101 | # the aarch64 port moved, for more information see: |
113 | # https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2018-August/006265.html | 102 | # https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2018-August/006265.html |
114 | OPENJDK_HG_U_aarch64 = "jdk8u-shenandoah" | 103 | OPENJDK_HG_U:aarch64 = "jdk8u-shenandoah" |
115 | 104 | ||
116 | OPENJDK_HG_URL = "https://hg.openjdk.java.net/${OPENJDK_ARCH_PORT}/${OPENJDK_HG_U}" | 105 | OPENJDK_HG_URL = "https://hg.openjdk.java.net/${OPENJDK_ARCH_PORT}/${OPENJDK_HG_U}" |
117 | 106 | ||
diff --git a/recipes-core/openjdk/openjdk-8-release.inc b/recipes-core/openjdk/openjdk-8-release.inc index ddbd8c9..4cdd050 100644 --- a/recipes-core/openjdk/openjdk-8-release.inc +++ b/recipes-core/openjdk/openjdk-8-release.inc | |||
@@ -3,29 +3,29 @@ require openjdk-8-release-common.inc | |||
3 | # We do not yet work for aarch64, and we make sure | 3 | # We do not yet work for aarch64, and we make sure |
4 | # to use the aarch32 port for ARMv7. | 4 | # to use the aarch32 port for ARMv7. |
5 | COMPATIBLE_HOST = "^(?!(aarch64)).*$" | 5 | COMPATIBLE_HOST = "^(?!(aarch64)).*$" |
6 | COMPATIBLE_HOST_armv7a = "^$" | 6 | COMPATIBLE_HOST:armv7a = "^$" |
7 | COMPATIBLE_HOST_armv7ve = "^$" | 7 | COMPATIBLE_HOST:armv7ve = "^$" |
8 | 8 | ||
9 | CORBA_CHANGESET = "jdk8u${PV}-ga" | 9 | CORBA_CHANGESET = "jdk8u${PV}-ga" |
10 | SRC_URI[corba.sha256sum] = "97513397015ca62953c6afa3ba925b1dabc0238d47f3a2b81c2bd5b683d4d050" | 10 | SRC_URI[corba.sha256sum] = "28c487a49546ab1a592eaf229c13e1896b390958ac4e6fa19bf5da34a1977138" |
11 | 11 | ||
12 | HOTSPOT_CHANGESET = "jdk8u${PV}-ga" | 12 | HOTSPOT_CHANGESET = "jdk8u${PV}-ga" |
13 | SRC_URI[hotspot.sha256sum] = "80a91f421bbe750f5e8c66b74f77fb79f31cce2f6e9e1cfe8407d773bb1ed57d" | 13 | SRC_URI[hotspot.sha256sum] = "55db6eb423445978e5a9a285c5adea238dec3d3998dc5f1216f8f5c7a8d7c5ea" |
14 | 14 | ||
15 | JAXP_CHANGESET = "jdk8u${PV}-ga" | 15 | JAXP_CHANGESET = "jdk8u${PV}-ga" |
16 | SRC_URI[jaxp.sha256sum] = "ead123b56c1c5d4c381665da6c0858cd9b11c69b8afc7494f9831980bc71bc92" | 16 | SRC_URI[jaxp.sha256sum] = "778d3946b9cf84c9b7fd937dc91d0e919ba7616cc4e3db44b9d0347ecdad308a" |
17 | 17 | ||
18 | JAXWS_CHANGESET = "jdk8u${PV}-ga" | 18 | JAXWS_CHANGESET = "jdk8u${PV}-ga" |
19 | SRC_URI[jaxws.sha256sum] = "ef6532ac77e7e4333283c09c87b6923fbaa91b8bca6770f06494c3bb1643455e" | 19 | SRC_URI[jaxws.sha256sum] = "a46eabbed4fedcdbd26510fc1ccf40aaa337e44542f112d4dba3e93f2bb7e492" |
20 | 20 | ||
21 | JDK_CHANGESET = "jdk8u${PV}-ga" | 21 | JDK_CHANGESET = "jdk8u${PV}-ga" |
22 | SRC_URI[jdk.sha256sum] = "7203ded24a10843ac8e84269ad8ac347f29b1dd950f7e0bb9739ddcb8280b8fb" | 22 | SRC_URI[jdk.sha256sum] = "9913adf85d3c5b039a5dfeb0962613d92c6f454d0bbbbe3e5341e221021e908e" |
23 | 23 | ||
24 | LANGTOOLS_CHANGESET = "jdk8u${PV}-ga" | 24 | LANGTOOLS_CHANGESET = "jdk8u${PV}-ga" |
25 | SRC_URI[langtools.sha256sum] = "6e2329e3f15c0fd23da47cd8f454cb49cdae0b12c951eb2910061fa95acb8ea4" | 25 | SRC_URI[langtools.sha256sum] = "9189920ae3858c9a680912c54504302e0553cf25d892c8a03fe954859f587066" |
26 | 26 | ||
27 | NASHORN_CHANGESET = "jdk8u${PV}-ga" | 27 | NASHORN_CHANGESET = "jdk8u${PV}-ga" |
28 | SRC_URI[nashorn.sha256sum] = "195237fd89f34c27bf98c3a8bfda64bbc799a014e83907062a8b4e10bd4f2021" | 28 | SRC_URI[nashorn.sha256sum] = "b42bed287349ecc702f874867a60c3e3664a799d69004e46260db5ff9a7df772" |
29 | 29 | ||
30 | OPENJDK_CHANGESET = "jdk8u${PV}-ga" | 30 | OPENJDK_CHANGESET = "jdk8u${PV}-ga" |
31 | SRC_URI[openjdk.sha256sum] = "a83f8daa2afece63bf7ae95cfbca91ef765424c40b9f5b45e4a3c2d4da0f7a95" | 31 | SRC_URI[openjdk.sha256sum] = "3b335df278915237986ccdfc40e262d5b6a711072b2a0b99bf2b197dc9ff0cff" |
diff --git a/recipes-core/openjdk/openjdk-8_252.bb b/recipes-core/openjdk/openjdk-8_272.bb index bc6ce51..0bfa102 100644 --- a/recipes-core/openjdk/openjdk-8_252.bb +++ b/recipes-core/openjdk/openjdk-8_272.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | INC_FILE_SUFFIX = "" | 1 | INC_FILE_SUFFIX = "" |
2 | INC_FILE_SUFFIX_aarch64 = "-aarch64" | 2 | INC_FILE_SUFFIX:aarch64 = "-aarch64" |
3 | INC_FILE_SUFFIX_armv7a = "-aarch32" | 3 | INC_FILE_SUFFIX:armv7a = "-aarch32" |
4 | INC_FILE_SUFFIX_armv7ve = "-aarch32" | 4 | INC_FILE_SUFFIX:armv7ve = "-aarch32" |
5 | require openjdk-8-release${INC_FILE_SUFFIX}.inc | 5 | require openjdk-8-release${INC_FILE_SUFFIX}.inc |
6 | require openjdk-8-cross.inc | 6 | require openjdk-8-cross.inc |
7 | 7 | ||
@@ -14,12 +14,12 @@ do_install() { | |||
14 | find ${D}${JDK_HOME} -name "*.debuginfo" -exec rm {} \; | 14 | find ${D}${JDK_HOME} -name "*.debuginfo" -exec rm {} \; |
15 | } | 15 | } |
16 | 16 | ||
17 | PACKAGES_append = " \ | 17 | PACKAGES:append = " \ |
18 | ${PN}-demo \ | 18 | ${PN}-demo \ |
19 | ${PN}-source \ | 19 | ${PN}-source \ |
20 | " | 20 | " |
21 | 21 | ||
22 | FILES_${PN}_append = "\ | 22 | FILES:${PN}:append = "\ |
23 | ${JDK_HOME}/bin/[a-z]* \ | 23 | ${JDK_HOME}/bin/[a-z]* \ |
24 | ${JDK_HOME}/lib/[a-z]* \ | 24 | ${JDK_HOME}/lib/[a-z]* \ |
25 | ${JDK_HOME}/jre/bin/[a-z]* \ | 25 | ${JDK_HOME}/jre/bin/[a-z]* \ |
@@ -29,14 +29,14 @@ FILES_${PN}_append = "\ | |||
29 | ${JDK_HOME}/release \ | 29 | ${JDK_HOME}/release \ |
30 | " | 30 | " |
31 | 31 | ||
32 | FILES_${PN}-dev_append = "\ | 32 | FILES:${PN}-dev:append = "\ |
33 | ${JDK_HOME}/include \ | 33 | ${JDK_HOME}/include \ |
34 | " | 34 | " |
35 | 35 | ||
36 | FILES_${PN}-demo = " ${JDK_HOME}/demo ${JDK_HOME}/sample " | 36 | FILES:${PN}-demo = " ${JDK_HOME}/demo ${JDK_HOME}/sample " |
37 | RDEPENDS_${PN}-demo = " ${PN} " | 37 | RDEPENDS:${PN}-demo = " ${PN} " |
38 | 38 | ||
39 | FILES_${PN}-doc_append = "\ | 39 | FILES:${PN}-doc:append = "\ |
40 | ${JDK_HOME}/man \ | 40 | ${JDK_HOME}/man \ |
41 | ${JDK_HOME}/ASSEMBLY_EXCEPTION \ | 41 | ${JDK_HOME}/ASSEMBLY_EXCEPTION \ |
42 | ${JDK_HOME}/THIRD_PARTY_README \ | 42 | ${JDK_HOME}/THIRD_PARTY_README \ |
@@ -45,17 +45,20 @@ FILES_${PN}-doc_append = "\ | |||
45 | ${JDK_HOME}/man \ | 45 | ${JDK_HOME}/man \ |
46 | " | 46 | " |
47 | 47 | ||
48 | FILES_${PN}-source = " ${JDK_HOME}/src.zip " | 48 | FILES:${PN}-source = " ${JDK_HOME}/src.zip " |
49 | 49 | ||
50 | RPROVIDES_${PN} = "java2-runtime" | 50 | RPROVIDES:${PN} = "java2-runtime" |
51 | 51 | ||
52 | inherit update-alternatives | 52 | inherit update-alternatives |
53 | 53 | ||
54 | ALTERNATIVE_PRIORITY = "100" | 54 | ALTERNATIVE_PRIORITY = "100" |
55 | 55 | ||
56 | ALTERNATIVE_${PN} = "java javac" | 56 | ALTERNATIVE:${PN} = "java javac keytool" |
57 | ALTERNATIVE_LINK_NAME[java] = "${bindir}/java" | 57 | ALTERNATIVE_LINK_NAME[java] = "${bindir}/java" |
58 | ALTERNATIVE_TARGET[java] = "${JDK_HOME}/bin/java" | 58 | ALTERNATIVE_TARGET[java] = "${JDK_HOME}/bin/java" |
59 | 59 | ||
60 | ALTERNATIVE_LINK_NAME[javac] = "${bindir}/javac" | 60 | ALTERNATIVE_LINK_NAME[javac] = "${bindir}/javac" |
61 | ALTERNATIVE_TARGET[javac] = "${JDK_HOME}/bin/javac" | 61 | ALTERNATIVE_TARGET[javac] = "${JDK_HOME}/bin/javac" |
62 | |||
63 | ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool" | ||
64 | ALTERNATIVE_TARGET[keytool] = "${JDK_HOME}/bin/keytool" | ||
diff --git a/recipes-core/openjdk/openjre-8_252.bb b/recipes-core/openjdk/openjre-8_272.bb index ce6392a..c1789aa 100644 --- a/recipes-core/openjdk/openjre-8_252.bb +++ b/recipes-core/openjdk/openjre-8_272.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | INC_FILE_SUFFIX = "" | 1 | INC_FILE_SUFFIX = "" |
2 | INC_FILE_SUFFIX_aarch64 = "-aarch64" | 2 | INC_FILE_SUFFIX:aarch64 = "-aarch64" |
3 | INC_FILE_SUFFIX_armv7a = "-aarch32" | 3 | INC_FILE_SUFFIX:armv7a = "-aarch32" |
4 | INC_FILE_SUFFIX_armv7ve = "-aarch32" | 4 | INC_FILE_SUFFIX:armv7ve = "-aarch32" |
5 | require openjdk-8-release${INC_FILE_SUFFIX}.inc | 5 | require openjdk-8-release${INC_FILE_SUFFIX}.inc |
6 | require openjdk-8-cross.inc | 6 | require openjdk-8-cross.inc |
7 | 7 | ||
@@ -13,14 +13,14 @@ do_install() { | |||
13 | install -m644 ${WORKDIR}/jvm.cfg ${D}${JRE_HOME}/lib/${JDK_ARCH}/ | 13 | install -m644 ${WORKDIR}/jvm.cfg ${D}${JRE_HOME}/lib/${JDK_ARCH}/ |
14 | } | 14 | } |
15 | 15 | ||
16 | FILES_${PN}_append = "\ | 16 | FILES:${PN}:append = "\ |
17 | ${JRE_HOME}/bin/[a-z]* \ | 17 | ${JRE_HOME}/bin/[a-z]* \ |
18 | ${JRE_HOME}/lib/[a-z]* \ | 18 | ${JRE_HOME}/lib/[a-z]* \ |
19 | ${JRE_HOME}/LICENSE \ | 19 | ${JRE_HOME}/LICENSE \ |
20 | ${JRE_HOME}/release \ | 20 | ${JRE_HOME}/release \ |
21 | " | 21 | " |
22 | 22 | ||
23 | FILES_${PN}-dbg_append = "\ | 23 | FILES:${PN}-dbg:append = "\ |
24 | ${JRE_HOME}/bin/.debug/ \ | 24 | ${JRE_HOME}/bin/.debug/ \ |
25 | ${JRE_HOME}/lib/.debug/ \ | 25 | ${JRE_HOME}/lib/.debug/ \ |
26 | ${JRE_HOME}/lib/${JDK_ARCH}/.debug/ \ | 26 | ${JRE_HOME}/lib/${JDK_ARCH}/.debug/ \ |
@@ -28,17 +28,21 @@ FILES_${PN}-dbg_append = "\ | |||
28 | ${JRE_HOME}/lib/${JDK_ARCH}/server/.debug/ \ | 28 | ${JRE_HOME}/lib/${JDK_ARCH}/server/.debug/ \ |
29 | " | 29 | " |
30 | 30 | ||
31 | FILES_${PN}-doc_append = "\ | 31 | FILES:${PN}-doc:append = "\ |
32 | ${JRE_HOME}/man \ | 32 | ${JRE_HOME}/man \ |
33 | ${JRE_HOME}/ASSEMBLY_EXCEPTION \ | 33 | ${JRE_HOME}/ASSEMBLY_EXCEPTION \ |
34 | ${JRE_HOME}/THIRD_PARTY_README \ | 34 | ${JRE_HOME}/THIRD_PARTY_README \ |
35 | " | 35 | " |
36 | 36 | ||
37 | RPROVIDES_${PN} = "java2-runtime" | 37 | RPROVIDES:${PN} = "java2-runtime" |
38 | 38 | ||
39 | inherit update-alternatives | 39 | inherit update-alternatives |
40 | 40 | ||
41 | ALTERNATIVE_${PN} = "java" | 41 | ALTERNATIVE_PRIORITY = "100" |
42 | |||
43 | ALTERNATIVE:${PN} = "java keytool" | ||
42 | ALTERNATIVE_LINK_NAME[java] = "${bindir}/java" | 44 | ALTERNATIVE_LINK_NAME[java] = "${bindir}/java" |
43 | ALTERNATIVE_TARGET[java] = "${JRE_HOME}/bin/java" | 45 | ALTERNATIVE_TARGET[java] = "${JRE_HOME}/bin/java" |
44 | ALTERNATIVE_PRIORITY[java] = "100" | 46 | |
47 | ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool" | ||
48 | ALTERNATIVE_TARGET[keytool] = "${JRE_HOME}/bin/keytool" | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0001-Allow-using-a-system-installed-libjpeg.patch b/recipes-core/openjdk/patches-openjdk-8/0001-Allow-using-a-system-installed-libjpeg.patch index e9662eb..00ce23f 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0001-Allow-using-a-system-installed-libjpeg.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0001-Allow-using-a-system-installed-libjpeg.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 836aad60652299a26341b46a4a9a2e6c418b6947 Mon Sep 17 00:00:00 2001 | 1 | From 74366a35d754d2dacab28d36804b5cde5dec481b Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 13:36:53 +0000 | 3 | Date: Tue, 27 Feb 2018 13:36:53 +0000 |
4 | Subject: [PATCH 01/10] Allow using a system-installed libjpeg | 4 | Subject: [PATCH] Allow using a system-installed libjpeg |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -22,12 +22,13 @@ Upstream-Status: Backport | |||
22 | 22 | ||
23 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 23 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
24 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 24 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
25 | |||
25 | --- | 26 | --- |
26 | common/autoconf/libraries.m4 | 35 ++++++++++++++++++++++++++++++----- | 27 | common/autoconf/libraries.m4 | 35 ++++++++++++++++++++++++++++++----- |
27 | 1 file changed, 30 insertions(+), 5 deletions(-) | 28 | 1 file changed, 30 insertions(+), 5 deletions(-) |
28 | 29 | ||
29 | diff --git a/common/autoconf/libraries.m4 b/common/autoconf/libraries.m4 | 30 | diff --git a/common/autoconf/libraries.m4 b/common/autoconf/libraries.m4 |
30 | index 6d803f9..d2732eb 100644 | 31 | index 6d803f9b..d2732eb8 100644 |
31 | --- a/common/autoconf/libraries.m4 | 32 | --- a/common/autoconf/libraries.m4 |
32 | +++ b/common/autoconf/libraries.m4 | 33 | +++ b/common/autoconf/libraries.m4 |
33 | @@ -774,11 +774,36 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS], | 34 | @@ -774,11 +774,36 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS], |
@@ -72,6 +73,3 @@ index 6d803f9..d2732eb 100644 | |||
72 | AC_SUBST(USE_EXTERNAL_LIBJPEG) | 73 | AC_SUBST(USE_EXTERNAL_LIBJPEG) |
73 | 74 | ||
74 | ############################################################################### | 75 | ############################################################################### |
75 | -- | ||
76 | 2.24.1 | ||
77 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0002-Allow-using-a-system-installed-libpng.patch b/recipes-core/openjdk/patches-openjdk-8/0002-Allow-using-a-system-installed-libpng.patch index ed8ecfa..64f4bce 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0002-Allow-using-a-system-installed-libpng.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0002-Allow-using-a-system-installed-libpng.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From ed79dc49323cc08e81b3699817825f66b1af0ce2 Mon Sep 17 00:00:00 2001 | 1 | From 048b9cb7910cf2f04f73483dd9755aeb50017e6b Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Thu, 2 Jan 2020 13:40:50 +0100 | 3 | Date: Thu, 2 Jan 2020 13:40:50 +0100 |
4 | Subject: [PATCH 02/10] Allow using a system-installed libpng | 4 | Subject: [PATCH] Allow using a system-installed libpng |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -19,12 +19,13 @@ Upstream-Status: Backport | |||
19 | 19 | ||
20 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 20 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
22 | |||
22 | --- | 23 | --- |
23 | common/autoconf/libraries.m4 | 41 ++++++++++++++++++++++++++++++++++++ | 24 | common/autoconf/libraries.m4 | 41 ++++++++++++++++++++++++++++++++++++ |
24 | 1 file changed, 41 insertions(+) | 25 | 1 file changed, 41 insertions(+) |
25 | 26 | ||
26 | diff --git a/common/autoconf/libraries.m4 b/common/autoconf/libraries.m4 | 27 | diff --git a/common/autoconf/libraries.m4 b/common/autoconf/libraries.m4 |
27 | index d2732eb..727f018 100644 | 28 | index d2732eb8..727f0181 100644 |
28 | --- a/common/autoconf/libraries.m4 | 29 | --- a/common/autoconf/libraries.m4 |
29 | +++ b/common/autoconf/libraries.m4 | 30 | +++ b/common/autoconf/libraries.m4 |
30 | @@ -843,6 +843,47 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS], | 31 | @@ -843,6 +843,47 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS], |
@@ -75,6 +76,3 @@ index d2732eb..727f018 100644 | |||
75 | ############################################################################### | 76 | ############################################################################### |
76 | # | 77 | # |
77 | # Check for the zlib library | 78 | # Check for the zlib library |
78 | -- | ||
79 | 2.24.1 | ||
80 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0003-build-fix-build-on-as-needed-toolchains-generic.patch b/recipes-core/openjdk/patches-openjdk-8/0003-build-fix-build-on-as-needed-toolchains-generic.patch index 0e3359c..0ab4b7d 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0003-build-fix-build-on-as-needed-toolchains-generic.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0003-build-fix-build-on-as-needed-toolchains-generic.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4cde9ea2adf8c57168a299f11625083d1822b0de Mon Sep 17 00:00:00 2001 | 1 | From 34bfdbabf0b2d9b1d0965b5fe362fd9596f58527 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Mon, 12 Mar 2018 15:40:58 +0000 | 3 | Date: Mon, 12 Mar 2018 15:40:58 +0000 |
4 | Subject: [PATCH 03/10] build: fix build on --as-needed toolchains (generic) | 4 | Subject: [PATCH] build: fix build on --as-needed toolchains (generic) |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -66,12 +66,13 @@ all. | |||
66 | 66 | ||
67 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 67 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
68 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 68 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
69 | |||
69 | --- | 70 | --- |
70 | make/common/NativeCompilation.gmk | 5 ++--- | 71 | make/common/NativeCompilation.gmk | 5 ++--- |
71 | 1 file changed, 2 insertions(+), 3 deletions(-) | 72 | 1 file changed, 2 insertions(+), 3 deletions(-) |
72 | 73 | ||
73 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk | 74 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk |
74 | index d961cf3..92f8033 100644 | 75 | index d961cf35..92f8033f 100644 |
75 | --- a/make/common/NativeCompilation.gmk | 76 | --- a/make/common/NativeCompilation.gmk |
76 | +++ b/make/common/NativeCompilation.gmk | 77 | +++ b/make/common/NativeCompilation.gmk |
77 | @@ -618,9 +618,8 @@ endif # no MacOS X support yet | 78 | @@ -618,9 +618,8 @@ endif # no MacOS X support yet |
@@ -86,6 +87,3 @@ index d961cf3..92f8033 100644 | |||
86 | ifneq (,$$($1_GEN_MANIFEST)) | 87 | ifneq (,$$($1_GEN_MANIFEST)) |
87 | $(MT) -nologo -manifest $$($1_GEN_MANIFEST) -outputresource:$$@;#1 | 88 | $(MT) -nologo -manifest $$($1_GEN_MANIFEST) -outputresource:$$@;#1 |
88 | endif | 89 | endif |
89 | -- | ||
90 | 2.24.1 | ||
91 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0004-don-t-expect-fqpn-for-make.patch b/recipes-core/openjdk/patches-openjdk-8/0004-don-t-expect-fqpn-for-make.patch index db00b24..eab00d2 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0004-don-t-expect-fqpn-for-make.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0004-don-t-expect-fqpn-for-make.patch | |||
@@ -1,15 +1,16 @@ | |||
1 | From f4c93547119c7550626e1b2ae2b750ea4f83b3fe Mon Sep 17 00:00:00 2001 | 1 | From a99cf53a082c1b25f5f7159c65bfd2c27a63fe75 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 13:42:43 +0100 | 3 | Date: Thu, 2 Jan 2020 13:42:43 +0100 |
4 | Subject: [PATCH 04/10] don't expect fqpn for make | 4 | Subject: [PATCH] don't expect fqpn for make |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | |||
7 | --- | 8 | --- |
8 | common/autoconf/basics.m4 | 8 +++++--- | 9 | common/autoconf/basics.m4 | 8 +++++--- |
9 | 1 file changed, 5 insertions(+), 3 deletions(-) | 10 | 1 file changed, 5 insertions(+), 3 deletions(-) |
10 | 11 | ||
11 | diff --git a/common/autoconf/basics.m4 b/common/autoconf/basics.m4 | 12 | diff --git a/common/autoconf/basics.m4 b/common/autoconf/basics.m4 |
12 | index 4ee9cdd..c20ea76 100644 | 13 | index 4ee9cdd1..c20ea765 100644 |
13 | --- a/common/autoconf/basics.m4 | 14 | --- a/common/autoconf/basics.m4 |
14 | +++ b/common/autoconf/basics.m4 | 15 | +++ b/common/autoconf/basics.m4 |
15 | @@ -740,10 +740,12 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE], | 16 | @@ -740,10 +740,12 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE], |
@@ -28,6 +29,3 @@ index 4ee9cdd..c20ea76 100644 | |||
28 | if test "x$FOUND_MAKE" = x; then | 29 | if test "x$FOUND_MAKE" = x; then |
29 | AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer.]) | 30 | AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer.]) |
30 | fi | 31 | fi |
31 | -- | ||
32 | 2.24.1 | ||
33 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0005-autoconf-filter-aclocal-copy-too.patch b/recipes-core/openjdk/patches-openjdk-8/0005-autoconf-filter-aclocal-copy-too.patch index 262f0b7..1a0f6e3 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0005-autoconf-filter-aclocal-copy-too.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0005-autoconf-filter-aclocal-copy-too.patch | |||
@@ -1,15 +1,16 @@ | |||
1 | From b8bab47b58be4a0102011825c2ee3dd2c6427d08 Mon Sep 17 00:00:00 2001 | 1 | From 37a7b95ab512ddeb635b6b8e23e4bac089ccee38 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 13:44:25 +0100 | 3 | Date: Thu, 2 Jan 2020 13:44:25 +0100 |
4 | Subject: [PATCH 05/10] autoconf: filter aclocal copy too | 4 | Subject: [PATCH] autoconf: filter aclocal copy too |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | |||
7 | --- | 8 | --- |
8 | common/autoconf/basics.m4 | 1 + | 9 | common/autoconf/basics.m4 | 1 + |
9 | 1 file changed, 1 insertion(+) | 10 | 1 file changed, 1 insertion(+) |
10 | 11 | ||
11 | diff --git a/common/autoconf/basics.m4 b/common/autoconf/basics.m4 | 12 | diff --git a/common/autoconf/basics.m4 b/common/autoconf/basics.m4 |
12 | index c20ea76..8e06cd2 100644 | 13 | index c20ea765..8e06cd25 100644 |
13 | --- a/common/autoconf/basics.m4 | 14 | --- a/common/autoconf/basics.m4 |
14 | +++ b/common/autoconf/basics.m4 | 15 | +++ b/common/autoconf/basics.m4 |
15 | @@ -636,6 +636,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR], | 16 | @@ -636,6 +636,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR], |
@@ -20,6 +21,3 @@ index c20ea76..8e06cd2 100644 | |||
20 | -e 's/ //g' \ | 21 | -e 's/ //g' \ |
21 | | $TR -d '\n'` | 22 | | $TR -d '\n'` |
22 | if test "x$filtered_files" != x; then | 23 | if test "x$filtered_files" != x; then |
23 | -- | ||
24 | 2.24.1 | ||
25 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0006-autoconf-handle-extra-output.patch b/recipes-core/openjdk/patches-openjdk-8/0006-autoconf-handle-extra-output.patch index c5fa4bf..d24ed71 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0006-autoconf-handle-extra-output.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0006-autoconf-handle-extra-output.patch | |||
@@ -1,19 +1,20 @@ | |||
1 | From cf40c00dfd6d2299055c0e8415525d2da5e7cd4a Mon Sep 17 00:00:00 2001 | 1 | From be1397b2106874869eebfc0b21943f1976a97f1b Mon Sep 17 00:00:00 2001 |
2 | From: Haiqing Bai <Haiqing.Bai@windriver.com> | 2 | From: Haiqing Bai <Haiqing.Bai@windriver.com> |
3 | Date: Thu, 2 Jan 2020 13:45:42 +0100 | 3 | Date: Thu, 2 Jan 2020 13:45:42 +0100 |
4 | Subject: [PATCH 06/10] autoconf: handle extra output | 4 | Subject: [PATCH] autoconf: handle extra output |
5 | 5 | ||
6 | When adding the environment variable JAVA_TOOL_OPTIONS an extra line | 6 | When adding the environment variable JAVA_TOOL_OPTIONS an extra line |
7 | in the output from 'java -version' is produced. As this output is | 7 | in the output from 'java -version' is produced. As this output is |
8 | parsed by configure script the extra line has to be filtered out. | 8 | parsed by configure script the extra line has to be filtered out. |
9 | 9 | ||
10 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 10 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
11 | |||
11 | --- | 12 | --- |
12 | common/autoconf/boot-jdk.m4 | 2 +- | 13 | common/autoconf/boot-jdk.m4 | 2 +- |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 15 | ||
15 | diff --git a/common/autoconf/boot-jdk.m4 b/common/autoconf/boot-jdk.m4 | 16 | diff --git a/common/autoconf/boot-jdk.m4 b/common/autoconf/boot-jdk.m4 |
16 | index 5be15b8..0d1a6e1 100644 | 17 | index 5be15b86..0d1a6e14 100644 |
17 | --- a/common/autoconf/boot-jdk.m4 | 18 | --- a/common/autoconf/boot-jdk.m4 |
18 | +++ b/common/autoconf/boot-jdk.m4 | 19 | +++ b/common/autoconf/boot-jdk.m4 |
19 | @@ -51,7 +51,7 @@ AC_DEFUN([BOOTJDK_DO_CHECK], | 20 | @@ -51,7 +51,7 @@ AC_DEFUN([BOOTJDK_DO_CHECK], |
@@ -25,6 +26,3 @@ index 5be15b8..0d1a6e1 100644 | |||
25 | 26 | ||
26 | # Extra M4 quote needed to protect [] in grep expression. | 27 | # Extra M4 quote needed to protect [] in grep expression. |
27 | [FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`] | 28 | [FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`] |
28 | -- | ||
29 | 2.24.1 | ||
30 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0007-fix-assembler-flag-handling-in-makefile.patch b/recipes-core/openjdk/patches-openjdk-8/0007-fix-assembler-flag-handling-in-makefile.patch index c99d599..b7e84b2 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0007-fix-assembler-flag-handling-in-makefile.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0007-fix-assembler-flag-handling-in-makefile.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From ec3aa8ae1159ff5ef37fae1ba470cf1886aa8d79 Mon Sep 17 00:00:00 2001 | 1 | From 2206e1d037359cf4f08a6c7b944d6735b56ea36d Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Erkka=20K=C3=A4=C3=A4ri=C3=A4?= <erkka.kaaria@intel.com> | 2 | From: =?UTF-8?q?Erkka=20K=C3=A4=C3=A4ri=C3=A4?= <erkka.kaaria@intel.com> |
3 | Date: Thu, 2 Jan 2020 13:49:02 +0100 | 3 | Date: Thu, 2 Jan 2020 13:49:02 +0100 |
4 | Subject: [PATCH 07/10] fix assembler flag handling in makefile | 4 | Subject: [PATCH] fix assembler flag handling in makefile |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -14,12 +14,13 @@ Upstream-Status: Pending | |||
14 | 14 | ||
15 | Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> | 15 | Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> |
16 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 16 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
17 | |||
17 | --- | 18 | --- |
18 | make/common/NativeCompilation.gmk | 2 +- | 19 | make/common/NativeCompilation.gmk | 2 +- |
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
20 | 21 | ||
21 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk | 22 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk |
22 | index 92f8033..46a1be9 100644 | 23 | index 92f8033f..46a1be91 100644 |
23 | --- a/make/common/NativeCompilation.gmk | 24 | --- a/make/common/NativeCompilation.gmk |
24 | +++ b/make/common/NativeCompilation.gmk | 25 | +++ b/make/common/NativeCompilation.gmk |
25 | @@ -391,7 +391,7 @@ define SetupNativeCompilation | 26 | @@ -391,7 +391,7 @@ define SetupNativeCompilation |
@@ -31,6 +32,3 @@ index 92f8033..46a1be9 100644 | |||
31 | 32 | ||
32 | # On windows we need to create a resource file | 33 | # On windows we need to create a resource file |
33 | ifeq ($(OPENJDK_TARGET_OS), windows) | 34 | ifeq ($(OPENJDK_TARGET_OS), windows) |
34 | -- | ||
35 | 2.24.1 | ||
36 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0008-autoconf-fix-shark-build-common.patch b/recipes-core/openjdk/patches-openjdk-8/0008-autoconf-fix-shark-build-common.patch index b783613..9cf468e 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0008-autoconf-fix-shark-build-common.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0008-autoconf-fix-shark-build-common.patch | |||
@@ -1,15 +1,16 @@ | |||
1 | From c530da1c0269d1e9a875670943446876227fdb71 Mon Sep 17 00:00:00 2001 | 1 | From bc54b9fbe29c524c07377fb8a87922be55c61700 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 13:51:40 +0100 | 3 | Date: Thu, 2 Jan 2020 13:51:40 +0100 |
4 | Subject: [PATCH 08/10] autoconf: fix shark build (common) | 4 | Subject: [PATCH] autoconf: fix shark build (common) |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | |||
7 | --- | 8 | --- |
8 | common/autoconf/libraries.m4 | 5 +++-- | 9 | common/autoconf/libraries.m4 | 5 +++-- |
9 | 1 file changed, 3 insertions(+), 2 deletions(-) | 10 | 1 file changed, 3 insertions(+), 2 deletions(-) |
10 | 11 | ||
11 | diff --git a/common/autoconf/libraries.m4 b/common/autoconf/libraries.m4 | 12 | diff --git a/common/autoconf/libraries.m4 b/common/autoconf/libraries.m4 |
12 | index 727f018..91d2b5c 100644 | 13 | index 727f0181..91d2b5ca 100644 |
13 | --- a/common/autoconf/libraries.m4 | 14 | --- a/common/autoconf/libraries.m4 |
14 | +++ b/common/autoconf/libraries.m4 | 15 | +++ b/common/autoconf/libraries.m4 |
15 | @@ -1079,8 +1079,9 @@ AC_DEFUN_ONCE([LIB_SETUP_STATIC_LINK_LIBSTDCPP], | 16 | @@ -1079,8 +1079,9 @@ AC_DEFUN_ONCE([LIB_SETUP_STATIC_LINK_LIBSTDCPP], |
@@ -32,6 +33,3 @@ index 727f018..91d2b5c 100644 | |||
32 | if echo "${flag}" | grep -q '^-l'; then | 33 | if echo "${flag}" | grep -q '^-l'; then |
33 | if test "${LLVM_LIBS}" != ""; then | 34 | if test "${LLVM_LIBS}" != ""; then |
34 | LLVM_LIBS="${LLVM_LIBS} " | 35 | LLVM_LIBS="${LLVM_LIBS} " |
35 | -- | ||
36 | 2.24.1 | ||
37 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch b/recipes-core/openjdk/patches-openjdk-8/0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch index 14fccd1..ff6180f 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0009-prevent-debuginfo-in-favour-of-openembedded-package-.patch | |||
@@ -1,16 +1,16 @@ | |||
1 | From a5f2646a9dd0f7191e9e0aa5eba5fdd9d70d1671 Mon Sep 17 00:00:00 2001 | 1 | From 038f36c083a83916504b8b59c80099fbeb9a68d6 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 13:53:50 +0100 | 3 | Date: Thu, 2 Jan 2020 13:53:50 +0100 |
4 | Subject: [PATCH 09/10] prevent debuginfo in favour of openembedded package | 4 | Subject: [PATCH] prevent debuginfo in favour of openembedded package split |
5 | split | ||
6 | 5 | ||
7 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | |||
8 | --- | 8 | --- |
9 | make/common/NativeCompilation.gmk | 122 ------------------------------ | 9 | make/common/NativeCompilation.gmk | 122 ------------------------------ |
10 | 1 file changed, 122 deletions(-) | 10 | 1 file changed, 122 deletions(-) |
11 | 11 | ||
12 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk | 12 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk |
13 | index 46a1be9..b4ea2c6 100644 | 13 | index 46a1be91..b4ea2c6f 100644 |
14 | --- a/make/common/NativeCompilation.gmk | 14 | --- a/make/common/NativeCompilation.gmk |
15 | +++ b/make/common/NativeCompilation.gmk | 15 | +++ b/make/common/NativeCompilation.gmk |
16 | @@ -456,67 +456,6 @@ define SetupNativeCompilation | 16 | @@ -456,67 +456,6 @@ define SetupNativeCompilation |
@@ -149,6 +149,3 @@ index 46a1be9..b4ea2c6 100644 | |||
149 | endif | 149 | endif |
150 | endif | 150 | endif |
151 | 151 | ||
152 | -- | ||
153 | 2.24.1 | ||
154 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0010-autoconf-remove-shell-variables-from-autoheader.patch b/recipes-core/openjdk/patches-openjdk-8/0010-autoconf-remove-shell-variables-from-autoheader.patch index 57099ec..ff9346c 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0010-autoconf-remove-shell-variables-from-autoheader.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0010-autoconf-remove-shell-variables-from-autoheader.patch | |||
@@ -1,15 +1,16 @@ | |||
1 | From 0d22dccb4de73d274b90e2647702b92958374bc1 Mon Sep 17 00:00:00 2001 | 1 | From b6e88ffb6c4a8d84da643fa9cb29c086f7c02584 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 13:55:29 +0100 | 3 | Date: Thu, 2 Jan 2020 13:55:29 +0100 |
4 | Subject: [PATCH 10/10] autoconf: remove shell variables from autoheader | 4 | Subject: [PATCH] autoconf: remove shell variables from autoheader |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | |||
7 | --- | 8 | --- |
8 | common/autoconf/basics.m4 | 14 +++++++------- | 9 | common/autoconf/basics.m4 | 14 +++++++------- |
9 | 1 file changed, 7 insertions(+), 7 deletions(-) | 10 | 1 file changed, 7 insertions(+), 7 deletions(-) |
10 | 11 | ||
11 | diff --git a/common/autoconf/basics.m4 b/common/autoconf/basics.m4 | 12 | diff --git a/common/autoconf/basics.m4 b/common/autoconf/basics.m4 |
12 | index 8e06cd2..c220bba 100644 | 13 | index 8e06cd25..c220bba7 100644 |
13 | --- a/common/autoconf/basics.m4 | 14 | --- a/common/autoconf/basics.m4 |
14 | +++ b/common/autoconf/basics.m4 | 15 | +++ b/common/autoconf/basics.m4 |
15 | @@ -661,21 +661,21 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR], | 16 | @@ -661,21 +661,21 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR], |
@@ -41,6 +42,3 @@ index 8e06cd2..c220bba 100644 | |||
41 | ]) | 42 | ]) |
42 | 43 | ||
43 | AC_DEFUN_ONCE([BASIC_SETUP_LOGGING], | 44 | AC_DEFUN_ONCE([BASIC_SETUP_LOGGING], |
44 | -- | ||
45 | 2.24.1 | ||
46 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0011-autoconf-fix-CC-with-arguments-detection.patch b/recipes-core/openjdk/patches-openjdk-8/0011-autoconf-fix-CC-with-arguments-detection.patch index f1de194..88d2192 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0011-autoconf-fix-CC-with-arguments-detection.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0011-autoconf-fix-CC-with-arguments-detection.patch | |||
@@ -1,5 +1,20 @@ | |||
1 | From e878eea93b95d82d3ea13f4122f4f74cd2f8f3df Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <richard.leitner@skidata.com> | ||
3 | Date: Thu, 22 Oct 2020 09:23:06 +0200 | ||
4 | Subject: [PATCH 11/13] autoconf: fix CC with arguments detection | ||
5 | |||
6 | Fix the compiler binary detection for exported CC variables with | ||
7 | arguments in them. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
12 | --- | ||
13 | common/autoconf/toolchain.m4 | 23 +++++++++++++++-------- | ||
14 | 1 file changed, 15 insertions(+), 8 deletions(-) | ||
15 | |||
1 | diff --git a/common/autoconf/toolchain.m4 b/common/autoconf/toolchain.m4 | 16 | diff --git a/common/autoconf/toolchain.m4 b/common/autoconf/toolchain.m4 |
2 | index e3a82c8..705e3e7 100644 | 17 | index c0a4af5..28da6ea 100644 |
3 | --- a/common/autoconf/toolchain.m4 | 18 | --- a/common/autoconf/toolchain.m4 |
4 | +++ b/common/autoconf/toolchain.m4 | 19 | +++ b/common/autoconf/toolchain.m4 |
5 | @@ -478,23 +478,30 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER], | 20 | @@ -478,23 +478,30 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER], |
@@ -41,3 +56,6 @@ index e3a82c8..705e3e7 100644 | |||
41 | else | 56 | else |
42 | # No user supplied value. Locate compiler ourselves. | 57 | # No user supplied value. Locate compiler ourselves. |
43 | 58 | ||
59 | -- | ||
60 | 2.26.2 | ||
61 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0012-autoconf-NativeCompilation-remove-sysroot.patch b/recipes-core/openjdk/patches-openjdk-8/0012-autoconf-NativeCompilation-remove-sysroot.patch index 39179d4..fc8fca5 100644 --- a/recipes-core/openjdk/patches-openjdk-8/0012-autoconf-NativeCompilation-remove-sysroot.patch +++ b/recipes-core/openjdk/patches-openjdk-8/0012-autoconf-NativeCompilation-remove-sysroot.patch | |||
@@ -1,5 +1,17 @@ | |||
1 | From 03052435dc7f1146ddd7ebe6f510a89448d33aca Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <richard.leitner@skidata.com> | ||
3 | Date: Thu, 22 Oct 2020 09:24:50 +0200 | ||
4 | Subject: [PATCH 12/13] autoconf: NativeCompilation: remove sysroot | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
9 | --- | ||
10 | make/common/NativeCompilation.gmk | 6 ------ | ||
11 | 1 file changed, 6 deletions(-) | ||
12 | |||
1 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk | 13 | diff --git a/make/common/NativeCompilation.gmk b/make/common/NativeCompilation.gmk |
2 | index d961cf3..9679f97 100644 | 14 | index b4ea2c6..01082f5 100644 |
3 | --- a/make/common/NativeCompilation.gmk | 15 | --- a/make/common/NativeCompilation.gmk |
4 | +++ b/make/common/NativeCompilation.gmk | 16 | +++ b/make/common/NativeCompilation.gmk |
5 | @@ -383,10 +383,6 @@ define SetupNativeCompilation | 17 | @@ -383,10 +383,6 @@ define SetupNativeCompilation |
@@ -22,3 +34,6 @@ index d961cf3..9679f97 100644 | |||
22 | $1 := $$($1_TARGET) | 34 | $1 := $$($1_TARGET) |
23 | ifneq (,$$($1_LIBRARY)) | 35 | ifneq (,$$($1_LIBRARY)) |
24 | # Generating a dynamic library. | 36 | # Generating a dynamic library. |
37 | -- | ||
38 | 2.26.2 | ||
39 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/0013-autoconf-remove-Werror.patch b/recipes-core/openjdk/patches-openjdk-8/0013-autoconf-remove-Werror.patch new file mode 100644 index 0000000..7991a04 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/0013-autoconf-remove-Werror.patch | |||
@@ -0,0 +1,219 @@ | |||
1 | From 3a41aceff84ac9c64910f2efbd4bee7c3532c65d Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <richard.leitner@skidata.com> | ||
3 | Date: Wed, 29 Apr 2020 10:15:11 +0200 | ||
4 | Subject: [PATCH] autoconf: remove Werror | ||
5 | |||
6 | We don't want to mess around with disabling warnings on new | ||
7 | compiler versions therefore we remove Werror. | ||
8 | |||
9 | Upstream-Status: Invalid | ||
10 | |||
11 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
12 | |||
13 | --- | ||
14 | common/autoconf/flags.m4 | 12 +++--- | ||
15 | common/autoconf/generated-configure.sh | 56 +++++++++++++------------- | ||
16 | 2 files changed, 34 insertions(+), 34 deletions(-) | ||
17 | |||
18 | diff --git a/common/autoconf/flags.m4 b/common/autoconf/flags.m4 | ||
19 | index 077efa29..b98575a1 100644 | ||
20 | --- a/common/autoconf/flags.m4 | ||
21 | +++ b/common/autoconf/flags.m4 | ||
22 | @@ -399,7 +399,7 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK], | ||
23 | LEGACY_EXTRA_LDFLAGS="$LEGACY_EXTRA_LDFLAGS -Wl,-z,relro" | ||
24 | fi | ||
25 | $2CXXSTD_CXXFLAG="-std=gnu++98" | ||
26 | - FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]$2CXXSTD_CXXFLAG -Werror], | ||
27 | + FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]$2CXXSTD_CXXFLAG], | ||
28 | [], [$2CXXSTD_CXXFLAG=""]) | ||
29 | $2CXXFLAGS_JDK="${$2CXXFLAGS_JDK} ${$2CXXSTD_CXXFLAG}" | ||
30 | $2JVM_CFLAGS="${$2JVM_CFLAGS} ${$2CXXSTD_CXXFLAG}" | ||
31 | @@ -489,17 +489,17 @@ AC_DEFUN_ONCE([FLAGS_SETUP_COMPILER_FLAGS_FOR_JDK], | ||
32 | # Notably, -ffp-contract=off needs to be added for GCC >= 4.6, | ||
33 | # -mno-fused-madd -fno-strict-aliasing for GCC < 4.6 | ||
34 | COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off" | ||
35 | - FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]COMPILER_FP_CONTRACT_OFF_FLAG -Werror], | ||
36 | + FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]COMPILER_FP_CONTRACT_OFF_FLAG], | ||
37 | [], [COMPILER_FP_CONTRACT_OFF_FLAG=""]) | ||
38 | if test "x$COMPILER_FP_CONTRACT_OFF_FLAG" = x; then | ||
39 | if test "$OPENJDK_TARGET_CPU_ARCH" = "x86" || | ||
40 | test "$OPENJDK_TARGET_CPU_ARCH" = "x86_64" || | ||
41 | test "$OPENJDK_TARGET_CPU_ARCH" = "ppc"; then | ||
42 | M_NO_FUSED_ADD_FLAG="-mno-fused-madd" | ||
43 | - FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]M_NO_FUSED_ADD_FLAG -Werror], | ||
44 | + FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]M_NO_FUSED_ADD_FLAG], | ||
45 | [], [M_NO_FUSED_ADD_FLAG=""]) | ||
46 | NO_STRICT_ALIASING_FLAG="-fno-strict-aliasing" | ||
47 | - FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]NO_STRICT_ALIASING_FLAG -Werror], | ||
48 | + FLAGS_CXX_COMPILER_CHECK_ARGUMENTS([[$]NO_STRICT_ALIASING_FLAG], | ||
49 | [], [NO_STRICT_ALIASING_FLAG=""]) | ||
50 | if test "x$M_NO_FUSED_ADD_FLAG" != "x" && test "x$NO_STRICT_ALIASING_FLAG" != "x"; then | ||
51 | FDLIBM_CFLAGS="$M_NO_FUSED_ADD_FLAG $NO_STRICT_ALIASING_FLAG" | ||
52 | @@ -866,11 +866,11 @@ AC_DEFUN_ONCE([FLAGS_SETUP_GCC6_COMPILER_FLAGS], | ||
53 | # Notably, value range propagation now assumes that the this pointer of C++ | ||
54 | # member functions is non-null. | ||
55 | NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks" | ||
56 | - FLAGS_COMPILER_CHECK_ARGUMENTS([$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror], | ||
57 | + FLAGS_COMPILER_CHECK_ARGUMENTS([$NO_DELETE_NULL_POINTER_CHECKS_CFLAG], | ||
58 | [], [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""]) | ||
59 | AC_SUBST([NO_DELETE_NULL_POINTER_CHECKS_CFLAG]) | ||
60 | NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse" | ||
61 | - FLAGS_COMPILER_CHECK_ARGUMENTS([$NO_LIFETIME_DSE_CFLAG -Werror], | ||
62 | + FLAGS_COMPILER_CHECK_ARGUMENTS([$NO_LIFETIME_DSE_CFLAG], | ||
63 | [], [NO_LIFETIME_DSE_CFLAG=""]) | ||
64 | CFLAGS_JDK="${CFLAGS_JDK} ${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}" | ||
65 | AC_SUBST([NO_LIFETIME_DSE_CFLAG]) | ||
66 | diff --git a/common/autoconf/generated-configure.sh b/common/autoconf/generated-configure.sh | ||
67 | index d57035b0..1953dc4e 100644 | ||
68 | --- a/common/autoconf/generated-configure.sh | ||
69 | +++ b/common/autoconf/generated-configure.sh | ||
70 | @@ -41498,12 +41498,12 @@ $as_echo "$ac_cv_c_bigendian" >&6; } | ||
71 | fi | ||
72 | CXXSTD_CXXFLAG="-std=gnu++98" | ||
73 | |||
74 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$CXXSTD_CXXFLAG -Werror\"" >&5 | ||
75 | -$as_echo_n "checking if the C++ compiler supports \"$CXXSTD_CXXFLAG -Werror\"... " >&6; } | ||
76 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$CXXSTD_CXXFLAG\"" >&5 | ||
77 | +$as_echo_n "checking if the C++ compiler supports \"$CXXSTD_CXXFLAG\"... " >&6; } | ||
78 | supports=yes | ||
79 | |||
80 | saved_cxxflags="$CXXFLAGS" | ||
81 | - CXXFLAGS="$CXXFLAG $CXXSTD_CXXFLAG -Werror" | ||
82 | + CXXFLAGS="$CXXFLAG $CXXSTD_CXXFLAG" | ||
83 | ac_ext=cpp | ||
84 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
85 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
86 | @@ -41654,12 +41654,12 @@ fi | ||
87 | NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks" | ||
88 | |||
89 | |||
90 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror\"" >&5 | ||
91 | -$as_echo_n "checking if the C compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror\"... " >&6; } | ||
92 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG\"" >&5 | ||
93 | +$as_echo_n "checking if the C compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG\"... " >&6; } | ||
94 | supports=yes | ||
95 | |||
96 | saved_cflags="$CFLAGS" | ||
97 | - CFLAGS="$CFLAGS $NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror" | ||
98 | + CFLAGS="$CFLAGS $NO_DELETE_NULL_POINTER_CHECKS_CFLAG" | ||
99 | ac_ext=c | ||
100 | ac_cpp='$CPP $CPPFLAGS' | ||
101 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
102 | @@ -41694,12 +41694,12 @@ $as_echo "$supports" >&6; } | ||
103 | fi | ||
104 | |||
105 | |||
106 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror\"" >&5 | ||
107 | -$as_echo_n "checking if the C++ compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror\"... " >&6; } | ||
108 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG\"" >&5 | ||
109 | +$as_echo_n "checking if the C++ compiler supports \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG\"... " >&6; } | ||
110 | supports=yes | ||
111 | |||
112 | saved_cxxflags="$CXXFLAGS" | ||
113 | - CXXFLAGS="$CXXFLAG $NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror" | ||
114 | + CXXFLAGS="$CXXFLAG $NO_DELETE_NULL_POINTER_CHECKS_CFLAG" | ||
115 | ac_ext=cpp | ||
116 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
117 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
118 | @@ -41733,8 +41733,8 @@ $as_echo "$supports" >&6; } | ||
119 | fi | ||
120 | |||
121 | |||
122 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if both compilers support \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror\"" >&5 | ||
123 | -$as_echo_n "checking if both compilers support \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror\"... " >&6; } | ||
124 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if both compilers support \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG\"" >&5 | ||
125 | +$as_echo_n "checking if both compilers support \"$NO_DELETE_NULL_POINTER_CHECKS_CFLAG\"... " >&6; } | ||
126 | supports=no | ||
127 | if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then supports=yes; fi | ||
128 | |||
129 | @@ -41750,12 +41750,12 @@ $as_echo "$supports" >&6; } | ||
130 | NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse" | ||
131 | |||
132 | |||
133 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler supports \"$NO_LIFETIME_DSE_CFLAG -Werror\"" >&5 | ||
134 | -$as_echo_n "checking if the C compiler supports \"$NO_LIFETIME_DSE_CFLAG -Werror\"... " >&6; } | ||
135 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler supports \"$NO_LIFETIME_DSE_CFLAG\"" >&5 | ||
136 | +$as_echo_n "checking if the C compiler supports \"$NO_LIFETIME_DSE_CFLAG\"... " >&6; } | ||
137 | supports=yes | ||
138 | |||
139 | saved_cflags="$CFLAGS" | ||
140 | - CFLAGS="$CFLAGS $NO_LIFETIME_DSE_CFLAG -Werror" | ||
141 | + CFLAGS="$CFLAGS $NO_LIFETIME_DSE_CFLAG" | ||
142 | ac_ext=c | ||
143 | ac_cpp='$CPP $CPPFLAGS' | ||
144 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
145 | @@ -41789,12 +41789,12 @@ $as_echo "$supports" >&6; } | ||
146 | fi | ||
147 | |||
148 | |||
149 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$NO_LIFETIME_DSE_CFLAG -Werror\"" >&5 | ||
150 | -$as_echo_n "checking if the C++ compiler supports \"$NO_LIFETIME_DSE_CFLAG -Werror\"... " >&6; } | ||
151 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$NO_LIFETIME_DSE_CFLAG\"" >&5 | ||
152 | +$as_echo_n "checking if the C++ compiler supports \"$NO_LIFETIME_DSE_CFLAG\"... " >&6; } | ||
153 | supports=yes | ||
154 | |||
155 | saved_cxxflags="$CXXFLAGS" | ||
156 | - CXXFLAGS="$CXXFLAG $NO_LIFETIME_DSE_CFLAG -Werror" | ||
157 | + CXXFLAGS="$CXXFLAG $NO_LIFETIME_DSE_CFLAG" | ||
158 | ac_ext=cpp | ||
159 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
160 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
161 | @@ -41828,8 +41828,8 @@ $as_echo "$supports" >&6; } | ||
162 | fi | ||
163 | |||
164 | |||
165 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if both compilers support \"$NO_LIFETIME_DSE_CFLAG -Werror\"" >&5 | ||
166 | -$as_echo_n "checking if both compilers support \"$NO_LIFETIME_DSE_CFLAG -Werror\"... " >&6; } | ||
167 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if both compilers support \"$NO_LIFETIME_DSE_CFLAG\"" >&5 | ||
168 | +$as_echo_n "checking if both compilers support \"$NO_LIFETIME_DSE_CFLAG\"... " >&6; } | ||
169 | supports=no | ||
170 | if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then supports=yes; fi | ||
171 | |||
172 | @@ -41862,12 +41862,12 @@ $as_echo "$supports" >&6; } | ||
173 | # -mno-fused-madd -fno-strict-aliasing for GCC < 4.6 | ||
174 | COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off" | ||
175 | |||
176 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$COMPILER_FP_CONTRACT_OFF_FLAG -Werror\"" >&5 | ||
177 | -$as_echo_n "checking if the C++ compiler supports \"$COMPILER_FP_CONTRACT_OFF_FLAG -Werror\"... " >&6; } | ||
178 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$COMPILER_FP_CONTRACT_OFF_FLAG\"" >&5 | ||
179 | +$as_echo_n "checking if the C++ compiler supports \"$COMPILER_FP_CONTRACT_OFF_FLAG\"... " >&6; } | ||
180 | supports=yes | ||
181 | |||
182 | saved_cxxflags="$CXXFLAGS" | ||
183 | - CXXFLAGS="$CXXFLAG $COMPILER_FP_CONTRACT_OFF_FLAG -Werror" | ||
184 | + CXXFLAGS="$CXXFLAG $COMPILER_FP_CONTRACT_OFF_FLAG" | ||
185 | ac_ext=cpp | ||
186 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
187 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
188 | @@ -41906,12 +41906,12 @@ $as_echo "$supports" >&6; } | ||
189 | test "$OPENJDK_TARGET_CPU_ARCH" = "ppc"; then | ||
190 | M_NO_FUSED_ADD_FLAG="-mno-fused-madd" | ||
191 | |||
192 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$M_NO_FUSED_ADD_FLAG -Werror\"" >&5 | ||
193 | -$as_echo_n "checking if the C++ compiler supports \"$M_NO_FUSED_ADD_FLAG -Werror\"... " >&6; } | ||
194 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$M_NO_FUSED_ADD_FLAG\"" >&5 | ||
195 | +$as_echo_n "checking if the C++ compiler supports \"$M_NO_FUSED_ADD_FLAG\"... " >&6; } | ||
196 | supports=yes | ||
197 | |||
198 | saved_cxxflags="$CXXFLAGS" | ||
199 | - CXXFLAGS="$CXXFLAG $M_NO_FUSED_ADD_FLAG -Werror" | ||
200 | + CXXFLAGS="$CXXFLAG $M_NO_FUSED_ADD_FLAG" | ||
201 | ac_ext=cpp | ||
202 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
203 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
204 | @@ -41946,12 +41946,12 @@ $as_echo "$supports" >&6; } | ||
205 | |||
206 | NO_STRICT_ALIASING_FLAG="-fno-strict-aliasing" | ||
207 | |||
208 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$NO_STRICT_ALIASING_FLAG -Werror\"" >&5 | ||
209 | -$as_echo_n "checking if the C++ compiler supports \"$NO_STRICT_ALIASING_FLAG -Werror\"... " >&6; } | ||
210 | + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C++ compiler supports \"$NO_STRICT_ALIASING_FLAG\"" >&5 | ||
211 | +$as_echo_n "checking if the C++ compiler supports \"$NO_STRICT_ALIASING_FLAG\"... " >&6; } | ||
212 | supports=yes | ||
213 | |||
214 | saved_cxxflags="$CXXFLAGS" | ||
215 | - CXXFLAGS="$CXXFLAG $NO_STRICT_ALIASING_FLAG -Werror" | ||
216 | + CXXFLAGS="$CXXFLAG $NO_STRICT_ALIASING_FLAG" | ||
217 | ac_ext=cpp | ||
218 | ac_cpp='$CXXCPP $CPPFLAGS' | ||
219 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch b/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch index 280ee60..b2e50e0 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 5e8080a8dd56205f550f7c490f864c95dc8e509b Mon Sep 17 00:00:00 2001 | 1 | From 4d1bd6a65c52564f32761217ded7b9bdde43556b Mon Sep 17 00:00:00 2001 |
2 | From: Wenlin Kang <wenlin.kang@windriver.com> | 2 | From: Wenlin Kang <wenlin.kang@windriver.com> |
3 | Date: Sun, 17 Feb 2019 22:38:33 -0800 | 3 | Date: Sun, 17 Feb 2019 22:38:33 -0800 |
4 | Subject: [PATCH 1001/1012] hotspot: fix crash on JNI_CreateJavaVM | 4 | Subject: [PATCH 1001/1013] hotspot: fix crash on JNI_CreateJavaVM |
5 | 5 | ||
6 | In function os::pd_create_stack_guard_pages(char* addr, size_t size), | 6 | In function os::pd_create_stack_guard_pages(char* addr, size_t size), |
7 | when addr < os::Linux::initial_thread_stack_bottom(), usually munmap() | 7 | when addr < os::Linux::initial_thread_stack_bottom(), usually munmap() |
@@ -19,10 +19,10 @@ Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | |||
19 | 1 file changed, 2 insertions(+), 1 deletion(-) | 19 | 1 file changed, 2 insertions(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/hotspot/src/os/linux/vm/os_linux.cpp b/hotspot/src/os/linux/vm/os_linux.cpp | 21 | diff --git a/hotspot/src/os/linux/vm/os_linux.cpp b/hotspot/src/os/linux/vm/os_linux.cpp |
22 | index 03cabfefb..4f28cc1fb 100644 | 22 | index c477851c1..47eef1e7c 100644 |
23 | --- a/hotspot/src/os/linux/vm/os_linux.cpp | 23 | --- a/hotspot/src/os/linux/vm/os_linux.cpp |
24 | +++ b/hotspot/src/os/linux/vm/os_linux.cpp | 24 | +++ b/hotspot/src/os/linux/vm/os_linux.cpp |
25 | @@ -3192,7 +3192,8 @@ bool os::pd_create_stack_guard_pages(char* addr, size_t size) { | 25 | @@ -3227,7 +3227,8 @@ bool os::pd_create_stack_guard_pages(char* addr, size_t size) { |
26 | uintptr_t stack_extent = (uintptr_t) os::Linux::initial_thread_stack_bottom(); | 26 | uintptr_t stack_extent = (uintptr_t) os::Linux::initial_thread_stack_bottom(); |
27 | unsigned char vec[1]; | 27 | unsigned char vec[1]; |
28 | 28 | ||
@@ -33,5 +33,5 @@ index 03cabfefb..4f28cc1fb 100644 | |||
33 | stack_extent = (uintptr_t) get_stack_commited_bottom( | 33 | stack_extent = (uintptr_t) get_stack_commited_bottom( |
34 | os::Linux::initial_thread_stack_bottom(), | 34 | os::Linux::initial_thread_stack_bottom(), |
35 | -- | 35 | -- |
36 | 2.24.1 | 36 | 2.26.2 |
37 | 37 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1002-hotspot-use-correct-include-for-poll.patch b/recipes-core/openjdk/patches-openjdk-8/1002-hotspot-use-correct-include-for-poll.patch index 3f678dd..7739c8b 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1002-hotspot-use-correct-include-for-poll.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1002-hotspot-use-correct-include-for-poll.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From df566df123c8af8252c0e113c41c32482834923e Mon Sep 17 00:00:00 2001 | 1 | From 9f2a5acce1da9908a7e94388880c831e1635e51f Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 09:28:06 +0000 | 3 | Date: Tue, 27 Feb 2018 09:28:06 +0000 |
4 | Subject: [PATCH 1002/1012] hotspot: use correct include for poll | 4 | Subject: [PATCH] hotspot: use correct include for poll |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -23,15 +23,16 @@ Upstream-Status: Pending | |||
23 | 23 | ||
24 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 24 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
25 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 25 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
26 | |||
26 | --- | 27 | --- |
27 | src/os/aix/vm/os_aix.inline.hpp | 2 +- | 28 | hotspot/src/os/aix/vm/os_aix.inline.hpp | 2 +- |
28 | src/os/bsd/vm/os_bsd.inline.hpp | 2 +- | 29 | hotspot/src/os/bsd/vm/os_bsd.inline.hpp | 2 +- |
29 | src/os/linux/vm/os_linux.inline.hpp | 2 +- | 30 | hotspot/src/os/linux/vm/os_linux.inline.hpp | 2 +- |
30 | src/os/solaris/vm/os_solaris.inline.hpp | 2 +- | 31 | hotspot/src/os/solaris/vm/os_solaris.inline.hpp | 2 +- |
31 | 4 files changed, 4 insertions(+), 4 deletions(-) | 32 | 4 files changed, 4 insertions(+), 4 deletions(-) |
32 | 33 | ||
33 | diff --git a/hotspot/src/os/aix/vm/os_aix.inline.hpp b/hotspot/src/os/aix/vm/os_aix.inline.hpp | 34 | diff --git a/hotspot/src/os/aix/vm/os_aix.inline.hpp b/hotspot/src/os/aix/vm/os_aix.inline.hpp |
34 | index 421ea342e..9a1e1e096 100644 | 35 | index 421ea342..9a1e1e09 100644 |
35 | --- a/hotspot/src/os/aix/vm/os_aix.inline.hpp | 36 | --- a/hotspot/src/os/aix/vm/os_aix.inline.hpp |
36 | +++ b/hotspot/src/os/aix/vm/os_aix.inline.hpp | 37 | +++ b/hotspot/src/os/aix/vm/os_aix.inline.hpp |
37 | @@ -34,7 +34,7 @@ | 38 | @@ -34,7 +34,7 @@ |
@@ -44,7 +45,7 @@ index 421ea342e..9a1e1e096 100644 | |||
44 | #include <netdb.h> | 45 | #include <netdb.h> |
45 | 46 | ||
46 | diff --git a/hotspot/src/os/bsd/vm/os_bsd.inline.hpp b/hotspot/src/os/bsd/vm/os_bsd.inline.hpp | 47 | diff --git a/hotspot/src/os/bsd/vm/os_bsd.inline.hpp b/hotspot/src/os/bsd/vm/os_bsd.inline.hpp |
47 | index c35abf486..8ff584aee 100644 | 48 | index c35abf48..8ff584ae 100644 |
48 | --- a/hotspot/src/os/bsd/vm/os_bsd.inline.hpp | 49 | --- a/hotspot/src/os/bsd/vm/os_bsd.inline.hpp |
49 | +++ b/hotspot/src/os/bsd/vm/os_bsd.inline.hpp | 50 | +++ b/hotspot/src/os/bsd/vm/os_bsd.inline.hpp |
50 | @@ -33,7 +33,7 @@ | 51 | @@ -33,7 +33,7 @@ |
@@ -57,7 +58,7 @@ index c35abf486..8ff584aee 100644 | |||
57 | 58 | ||
58 | inline void* os::thread_local_storage_at(int index) { | 59 | inline void* os::thread_local_storage_at(int index) { |
59 | diff --git a/hotspot/src/os/linux/vm/os_linux.inline.hpp b/hotspot/src/os/linux/vm/os_linux.inline.hpp | 60 | diff --git a/hotspot/src/os/linux/vm/os_linux.inline.hpp b/hotspot/src/os/linux/vm/os_linux.inline.hpp |
60 | index a23bd5631..9d56de0ef 100644 | 61 | index a23bd563..9d56de0e 100644 |
61 | --- a/hotspot/src/os/linux/vm/os_linux.inline.hpp | 62 | --- a/hotspot/src/os/linux/vm/os_linux.inline.hpp |
62 | +++ b/hotspot/src/os/linux/vm/os_linux.inline.hpp | 63 | +++ b/hotspot/src/os/linux/vm/os_linux.inline.hpp |
63 | @@ -33,7 +33,7 @@ | 64 | @@ -33,7 +33,7 @@ |
@@ -70,7 +71,7 @@ index a23bd5631..9d56de0ef 100644 | |||
70 | 71 | ||
71 | inline void* os::thread_local_storage_at(int index) { | 72 | inline void* os::thread_local_storage_at(int index) { |
72 | diff --git a/hotspot/src/os/solaris/vm/os_solaris.inline.hpp b/hotspot/src/os/solaris/vm/os_solaris.inline.hpp | 73 | diff --git a/hotspot/src/os/solaris/vm/os_solaris.inline.hpp b/hotspot/src/os/solaris/vm/os_solaris.inline.hpp |
73 | index 8e095ab69..ce37e9a12 100644 | 74 | index 8e095ab6..ce37e9a1 100644 |
74 | --- a/hotspot/src/os/solaris/vm/os_solaris.inline.hpp | 75 | --- a/hotspot/src/os/solaris/vm/os_solaris.inline.hpp |
75 | +++ b/hotspot/src/os/solaris/vm/os_solaris.inline.hpp | 76 | +++ b/hotspot/src/os/solaris/vm/os_solaris.inline.hpp |
76 | @@ -33,7 +33,7 @@ | 77 | @@ -33,7 +33,7 @@ |
@@ -82,6 +83,3 @@ index 8e095ab69..ce37e9a12 100644 | |||
82 | #include <sys/filio.h> | 83 | #include <sys/filio.h> |
83 | #include <unistd.h> | 84 | #include <unistd.h> |
84 | #include <netdb.h> | 85 | #include <netdb.h> |
85 | -- | ||
86 | 2.24.1 | ||
87 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1003-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch b/recipes-core/openjdk/patches-openjdk-8/1003-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch index 8e31461..e0864be 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1003-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1003-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From e5bf672f4e10997789f2a447fd95a88703dbd332 Mon Sep 17 00:00:00 2001 | 1 | From 7e40a364af1427b5f5238cd8d49e947db1c1557d Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 15:00:55 +0000 | 3 | Date: Tue, 27 Feb 2018 15:00:55 +0000 |
4 | Subject: [PATCH 1003/1012] hotspot: don't rely on old SysV SIGCLD | 4 | Subject: [PATCH] hotspot: don't rely on old SysV SIGCLD |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -20,12 +20,13 @@ Upstream-Status: Pending | |||
20 | 20 | ||
21 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 21 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
22 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 22 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
23 | |||
23 | --- | 24 | --- |
24 | src/os/linux/vm/jvm_linux.cpp | 2 ++ | 25 | hotspot/src/os/linux/vm/jvm_linux.cpp | 2 ++ |
25 | 1 file changed, 2 insertions(+) | 26 | 1 file changed, 2 insertions(+) |
26 | 27 | ||
27 | diff --git a/hotspot/src/os/linux/vm/jvm_linux.cpp b/hotspot/src/os/linux/vm/jvm_linux.cpp | 28 | diff --git a/hotspot/src/os/linux/vm/jvm_linux.cpp b/hotspot/src/os/linux/vm/jvm_linux.cpp |
28 | index ba84788a1..c22281f7c 100644 | 29 | index ba84788a..c22281f7 100644 |
29 | --- a/hotspot/src/os/linux/vm/jvm_linux.cpp | 30 | --- a/hotspot/src/os/linux/vm/jvm_linux.cpp |
30 | +++ b/hotspot/src/os/linux/vm/jvm_linux.cpp | 31 | +++ b/hotspot/src/os/linux/vm/jvm_linux.cpp |
31 | @@ -154,7 +154,9 @@ struct siglabel siglabels[] = { | 32 | @@ -154,7 +154,9 @@ struct siglabel siglabels[] = { |
@@ -38,6 +39,3 @@ index ba84788a1..c22281f7c 100644 | |||
38 | "CHLD", SIGCHLD, /* Child status has changed (POSIX). */ | 39 | "CHLD", SIGCHLD, /* Child status has changed (POSIX). */ |
39 | "CONT", SIGCONT, /* Continue (POSIX). */ | 40 | "CONT", SIGCONT, /* Continue (POSIX). */ |
40 | "STOP", SIGSTOP, /* Stop, unblockable (POSIX). */ | 41 | "STOP", SIGSTOP, /* Stop, unblockable (POSIX). */ |
41 | -- | ||
42 | 2.24.1 | ||
43 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1004-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch b/recipes-core/openjdk/patches-openjdk-8/1004-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch deleted file mode 100644 index ad480e3..0000000 --- a/recipes-core/openjdk/patches-openjdk-8/1004-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch +++ /dev/null | |||
@@ -1,172 +0,0 @@ | |||
1 | From 3a6eef99b27b7dd750e7a02eb3ada71db99d9345 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
3 | Date: Fri, 10 Aug 2018 14:54:45 +0100 | ||
4 | Subject: [PATCH 1004/1012] hotspot: backport patch to fix misuses of | ||
5 | strncpy/strncat | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | Various small fixes around strncpy and strncat | ||
11 | |||
12 | Compilation using gcc >= 8 fails because of errors regarding | ||
13 | misuse of string functions. | ||
14 | Fix them using a backport from openjdk-10 | ||
15 | |||
16 | Modelled after http://hg.openjdk.java.net/jdk-updates/jdk10u/rev/b1608535e50f | ||
17 | |||
18 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
19 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
20 | --- | ||
21 | agent/src/os/linux/libproc_impl.c | 7 ++++++- | ||
22 | src/share/tools/hsdis/hsdis.c | 1 + | ||
23 | src/share/vm/compiler/compileBroker.hpp | 3 ++- | ||
24 | src/share/vm/compiler/disassembler.cpp | 1 + | ||
25 | src/share/vm/runtime/arguments.cpp | 13 ++++++------- | ||
26 | src/share/vm/utilities/ostream.cpp | 12 ++++++++---- | ||
27 | src/share/vm/utilities/vmError.cpp | 9 +-------- | ||
28 | 7 files changed, 25 insertions(+), 21 deletions(-) | ||
29 | |||
30 | diff --git a/hotspot/agent/src/os/linux/libproc_impl.c b/hotspot/agent/src/os/linux/libproc_impl.c | ||
31 | index ca791c95d..73a15ce35 100644 | ||
32 | --- a/hotspot/agent/src/os/linux/libproc_impl.c | ||
33 | +++ b/hotspot/agent/src/os/linux/libproc_impl.c | ||
34 | @@ -159,7 +159,12 @@ lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd, | ||
35 | return NULL; | ||
36 | } | ||
37 | |||
38 | - strncpy(newlib->name, libname, sizeof(newlib->name)); | ||
39 | + if (strlen(libname) >= sizeof(newlib->name)) { | ||
40 | + print_debug("libname %s too long\n", libname); | ||
41 | + return NULL; | ||
42 | + } | ||
43 | + strcpy(newlib->name, libname); | ||
44 | + | ||
45 | newlib->base = base; | ||
46 | |||
47 | if (fd == -1) { | ||
48 | diff --git a/hotspot/src/share/tools/hsdis/hsdis.c b/hotspot/src/share/tools/hsdis/hsdis.c | ||
49 | index 7bef1040f..1907d479e 100644 | ||
50 | --- a/hotspot/src/share/tools/hsdis/hsdis.c | ||
51 | +++ b/hotspot/src/share/tools/hsdis/hsdis.c | ||
52 | @@ -438,6 +438,7 @@ static void parse_caller_options(struct hsdis_app_data* app_data, const char* ca | ||
53 | } | ||
54 | p = q; | ||
55 | } | ||
56 | + *iop = '\0'; | ||
57 | } | ||
58 | |||
59 | static void print_help(struct hsdis_app_data* app_data, | ||
60 | diff --git a/hotspot/src/share/vm/compiler/compileBroker.hpp b/hotspot/src/share/vm/compiler/compileBroker.hpp | ||
61 | index ad37ff173..16e0ba3aa 100644 | ||
62 | --- a/hotspot/src/share/vm/compiler/compileBroker.hpp | ||
63 | +++ b/hotspot/src/share/vm/compiler/compileBroker.hpp | ||
64 | @@ -173,7 +173,8 @@ class CompilerCounters : public CHeapObj<mtCompiler> { | ||
65 | // these methods should be called in a thread safe context | ||
66 | |||
67 | void set_current_method(const char* method) { | ||
68 | - strncpy(_current_method, method, (size_t)cmname_buffer_length); | ||
69 | + strncpy(_current_method, method, (size_t)cmname_buffer_length-1); | ||
70 | + _current_method[cmname_buffer_length-1] = '\0'; | ||
71 | if (UsePerfData) _perf_current_method->set_value(method); | ||
72 | } | ||
73 | |||
74 | diff --git a/hotspot/src/share/vm/compiler/disassembler.cpp b/hotspot/src/share/vm/compiler/disassembler.cpp | ||
75 | index 93cd9e854..e7b32cd6b 100644 | ||
76 | --- a/hotspot/src/share/vm/compiler/disassembler.cpp | ||
77 | +++ b/hotspot/src/share/vm/compiler/disassembler.cpp | ||
78 | @@ -295,6 +295,7 @@ address decode_env::handle_event(const char* event, address arg) { | ||
79 | strlen((const char*)arg) > sizeof(buffer) - 1) { | ||
80 | // Only print this when the mach changes | ||
81 | strncpy(buffer, (const char*)arg, sizeof(buffer) - 1); | ||
82 | + buffer[sizeof(buffer) - 1] = '\0'; | ||
83 | output()->print_cr("[Disassembling for mach='%s']", arg); | ||
84 | } | ||
85 | } else if (match(event, "format bytes-per-line")) { | ||
86 | diff --git a/hotspot/src/share/vm/runtime/arguments.cpp b/hotspot/src/share/vm/runtime/arguments.cpp | ||
87 | index 2665b6b8c..5a9294677 100644 | ||
88 | --- a/hotspot/src/share/vm/runtime/arguments.cpp | ||
89 | +++ b/hotspot/src/share/vm/runtime/arguments.cpp | ||
90 | @@ -3455,7 +3455,7 @@ void Arguments::fix_appclasspath() { | ||
91 | } | ||
92 | |||
93 | char* copy = AllocateHeap(strlen(src) + 1, mtInternal); | ||
94 | - strncpy(copy, src, strlen(src) + 1); | ||
95 | + strcpy(copy, src); | ||
96 | |||
97 | // trim all trailing empty paths | ||
98 | for (char* tail = copy + strlen(copy) - 1; tail >= copy && *tail == separator; tail--) { | ||
99 | @@ -3834,17 +3834,16 @@ static char* get_shared_archive_path() { | ||
100 | if (end != NULL) *end = '\0'; | ||
101 | size_t jvm_path_len = strlen(jvm_path); | ||
102 | size_t file_sep_len = strlen(os::file_separator()); | ||
103 | - shared_archive_path = NEW_C_HEAP_ARRAY(char, jvm_path_len + | ||
104 | - file_sep_len + 20, mtInternal); | ||
105 | + const size_t len = jvm_path_len + file_sep_len + 20; | ||
106 | + shared_archive_path = NEW_C_HEAP_ARRAY(char, len, mtInternal); | ||
107 | if (shared_archive_path != NULL) { | ||
108 | - strncpy(shared_archive_path, jvm_path, jvm_path_len + 1); | ||
109 | - strncat(shared_archive_path, os::file_separator(), file_sep_len); | ||
110 | - strncat(shared_archive_path, "classes.jsa", 11); | ||
111 | + jio_snprintf(shared_archive_path, len, "%s%sclasses.jsa", | ||
112 | + jvm_path, os::file_separator()); | ||
113 | } | ||
114 | } else { | ||
115 | shared_archive_path = NEW_C_HEAP_ARRAY(char, strlen(SharedArchiveFile) + 1, mtInternal); | ||
116 | if (shared_archive_path != NULL) { | ||
117 | - strncpy(shared_archive_path, SharedArchiveFile, strlen(SharedArchiveFile) + 1); | ||
118 | + strcpy(shared_archive_path, SharedArchiveFile); | ||
119 | } | ||
120 | } | ||
121 | return shared_archive_path; | ||
122 | diff --git a/hotspot/src/share/vm/utilities/ostream.cpp b/hotspot/src/share/vm/utilities/ostream.cpp | ||
123 | index 1b00f829a..4daea2b7e 100644 | ||
124 | --- a/hotspot/src/share/vm/utilities/ostream.cpp | ||
125 | +++ b/hotspot/src/share/vm/utilities/ostream.cpp | ||
126 | @@ -342,15 +342,19 @@ void stringStream::write(const char* s, size_t len) { | ||
127 | assert(rm == NULL || Thread::current()->current_resource_mark() == rm, | ||
128 | "stringStream is re-allocated with a different ResourceMark"); | ||
129 | buffer = NEW_RESOURCE_ARRAY(char, end); | ||
130 | - strncpy(buffer, oldbuf, buffer_pos); | ||
131 | + if (buffer_pos > 0) { | ||
132 | + memcpy(buffer, oldbuf, buffer_pos); | ||
133 | + } | ||
134 | buffer_length = end; | ||
135 | } | ||
136 | } | ||
137 | // invariant: buffer is always null-terminated | ||
138 | guarantee(buffer_pos + write_len + 1 <= buffer_length, "stringStream oob"); | ||
139 | - buffer[buffer_pos + write_len] = 0; | ||
140 | - strncpy(buffer + buffer_pos, s, write_len); | ||
141 | - buffer_pos += write_len; | ||
142 | + if (write_len > 0) { | ||
143 | + buffer[buffer_pos + write_len] = 0; | ||
144 | + memcpy(buffer + buffer_pos, s, write_len); | ||
145 | + buffer_pos += write_len; | ||
146 | + } | ||
147 | |||
148 | // Note that the following does not depend on write_len. | ||
149 | // This means that position and count get updated | ||
150 | diff --git a/hotspot/src/share/vm/utilities/vmError.cpp b/hotspot/src/share/vm/utilities/vmError.cpp | ||
151 | index ef3bb5cee..c11fef472 100644 | ||
152 | --- a/hotspot/src/share/vm/utilities/vmError.cpp | ||
153 | +++ b/hotspot/src/share/vm/utilities/vmError.cpp | ||
154 | @@ -450,14 +450,7 @@ void VMError::report(outputStream* st) { | ||
155 | #else | ||
156 | const char *file = _filename; | ||
157 | #endif | ||
158 | - size_t len = strlen(file); | ||
159 | - size_t buflen = sizeof(buf); | ||
160 | - | ||
161 | - strncpy(buf, file, buflen); | ||
162 | - if (len + 10 < buflen) { | ||
163 | - sprintf(buf + len, ":%d", _lineno); | ||
164 | - } | ||
165 | - st->print(" (%s)", buf); | ||
166 | + st->print(" (%s:%d)", file, _lineno); | ||
167 | } else { | ||
168 | st->print(" (0x%x)", _id); | ||
169 | } | ||
170 | -- | ||
171 | 2.24.1 | ||
172 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch b/recipes-core/openjdk/patches-openjdk-8/1004-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch index 81177d0..2eba669 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1004-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch | |||
@@ -1,8 +1,7 @@ | |||
1 | From bce7b39095a839b8e77fe068e87150e855224705 Mon Sep 17 00:00:00 2001 | 1 | From 7cca9e147d9f4b98ffbc6b10e817d2e8dbd686fb Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Mon, 13 Aug 2018 16:40:34 +0100 | 3 | Date: Mon, 13 Aug 2018 16:40:34 +0100 |
4 | Subject: [PATCH 1005/1012] hotspot: fix -Wreturn-type issues introduced by | 4 | Subject: [PATCH] hotspot: fix -Wreturn-type issues introduced by 8061651 |
5 | 8061651 | ||
6 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
7 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
8 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -19,15 +18,16 @@ Upstream-Status: Backport | |||
19 | 18 | ||
20 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 19 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 20 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
21 | |||
22 | --- | 22 | --- |
23 | src/share/vm/prims/jvm.cpp | 6 +++--- | 23 | hotspot/src/share/vm/prims/jvm.cpp | 6 +++--- |
24 | 1 file changed, 3 insertions(+), 3 deletions(-) | 24 | 1 file changed, 3 insertions(+), 3 deletions(-) |
25 | 25 | ||
26 | diff --git a/hotspot/src/share/vm/prims/jvm.cpp b/hotspot/src/share/vm/prims/jvm.cpp | 26 | diff --git a/hotspot/src/share/vm/prims/jvm.cpp b/hotspot/src/share/vm/prims/jvm.cpp |
27 | index f43dc5ed7..8d7523c55 100644 | 27 | index c32c98ad..6f2221c4 100644 |
28 | --- a/hotspot/src/share/vm/prims/jvm.cpp | 28 | --- a/hotspot/src/share/vm/prims/jvm.cpp |
29 | +++ b/hotspot/src/share/vm/prims/jvm.cpp | 29 | +++ b/hotspot/src/share/vm/prims/jvm.cpp |
30 | @@ -908,7 +908,7 @@ JVM_END | 30 | @@ -929,7 +929,7 @@ JVM_END |
31 | JVM_ENTRY(jboolean, JVM_KnownToNotExist(JNIEnv *env, jobject loader, const char *classname)) | 31 | JVM_ENTRY(jboolean, JVM_KnownToNotExist(JNIEnv *env, jobject loader, const char *classname)) |
32 | JVMWrapper("JVM_KnownToNotExist"); | 32 | JVMWrapper("JVM_KnownToNotExist"); |
33 | #if INCLUDE_CDS | 33 | #if INCLUDE_CDS |
@@ -36,7 +36,7 @@ index f43dc5ed7..8d7523c55 100644 | |||
36 | #else | 36 | #else |
37 | return false; | 37 | return false; |
38 | #endif | 38 | #endif |
39 | @@ -918,7 +918,7 @@ JVM_END | 39 | @@ -939,7 +939,7 @@ JVM_END |
40 | JVM_ENTRY(jobjectArray, JVM_GetResourceLookupCacheURLs(JNIEnv *env, jobject loader)) | 40 | JVM_ENTRY(jobjectArray, JVM_GetResourceLookupCacheURLs(JNIEnv *env, jobject loader)) |
41 | JVMWrapper("JVM_GetResourceLookupCacheURLs"); | 41 | JVMWrapper("JVM_GetResourceLookupCacheURLs"); |
42 | #if INCLUDE_CDS | 42 | #if INCLUDE_CDS |
@@ -45,7 +45,7 @@ index f43dc5ed7..8d7523c55 100644 | |||
45 | #else | 45 | #else |
46 | return NULL; | 46 | return NULL; |
47 | #endif | 47 | #endif |
48 | @@ -928,7 +928,7 @@ JVM_END | 48 | @@ -949,7 +949,7 @@ JVM_END |
49 | JVM_ENTRY(jintArray, JVM_GetResourceLookupCache(JNIEnv *env, jobject loader, const char *resource_name)) | 49 | JVM_ENTRY(jintArray, JVM_GetResourceLookupCache(JNIEnv *env, jobject loader, const char *resource_name)) |
50 | JVMWrapper("JVM_GetResourceLookupCache"); | 50 | JVMWrapper("JVM_GetResourceLookupCache"); |
51 | #if INCLUDE_CDS | 51 | #if INCLUDE_CDS |
@@ -54,6 +54,3 @@ index f43dc5ed7..8d7523c55 100644 | |||
54 | #else | 54 | #else |
55 | return NULL; | 55 | return NULL; |
56 | #endif | 56 | #endif |
57 | -- | ||
58 | 2.24.1 | ||
59 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1006-hotspot-Zero-build-requires-disabled-warnings.patch b/recipes-core/openjdk/patches-openjdk-8/1005-hotspot-Zero-build-requires-disabled-warnings.patch index 38067cb..36eefe5 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1006-hotspot-Zero-build-requires-disabled-warnings.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1005-hotspot-Zero-build-requires-disabled-warnings.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 84fc6448f44cd45a5448d0e88df8ccabfa10dcc5 Mon Sep 17 00:00:00 2001 | 1 | From 9ae232a21a7c2cec88cdb4ff7e6cf7092f1578ab Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Mon, 13 Aug 2018 16:45:24 +0100 | 3 | Date: Mon, 13 Aug 2018 16:45:24 +0100 |
4 | Subject: [PATCH 1006/1012] hotspot: Zero build requires disabled warnings | 4 | Subject: [PATCH] hotspot: Zero build requires disabled warnings |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -19,15 +19,16 @@ Upstream-Status: Backport | |||
19 | 19 | ||
20 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 20 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
22 | |||
22 | --- | 23 | --- |
23 | src/cpu/zero/vm/cppInterpreter_zero.cpp | 2 +- | 24 | hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp | 2 +- |
24 | src/cpu/zero/vm/interpreterRT_zero.cpp | 4 ++-- | 25 | hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp | 4 ++-- |
25 | src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 14 ++++++++++++-- | 26 | hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 14 ++++++++++++-- |
26 | src/os_cpu/linux_zero/vm/thread_linux_zero.hpp | 3 ++- | 27 | .../src/os_cpu/linux_zero/vm/thread_linux_zero.hpp | 3 ++- |
27 | 4 files changed, 17 insertions(+), 6 deletions(-) | 28 | 4 files changed, 17 insertions(+), 6 deletions(-) |
28 | 29 | ||
29 | diff --git a/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp b/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp | 30 | diff --git a/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp b/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp |
30 | index 525031eb9..d47422b8c 100644 | 31 | index 525031eb..d47422b8 100644 |
31 | --- a/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp | 32 | --- a/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp |
32 | +++ b/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp | 33 | +++ b/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp |
33 | @@ -100,7 +100,7 @@ intptr_t narrow(BasicType type, intptr_t result) { | 34 | @@ -100,7 +100,7 @@ intptr_t narrow(BasicType type, intptr_t result) { |
@@ -40,7 +41,7 @@ index 525031eb9..d47422b8c 100644 | |||
40 | } | 41 | } |
41 | 42 | ||
42 | diff --git a/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp b/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp | 43 | diff --git a/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp b/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp |
43 | index e23e3eaa9..061ed8ce8 100644 | 44 | index e23e3eaa..061ed8ce 100644 |
44 | --- a/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp | 45 | --- a/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp |
45 | +++ b/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp | 46 | +++ b/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp |
46 | @@ -1,5 +1,5 @@ | 47 | @@ -1,5 +1,5 @@ |
@@ -60,7 +61,7 @@ index e23e3eaa9..061ed8ce8 100644 | |||
60 | case T_VOID: | 61 | case T_VOID: |
61 | ftype = &ffi_type_void; | 62 | ftype = &ffi_type_void; |
62 | diff --git a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 63 | diff --git a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp |
63 | index d22ea1141..cbee43baa 100644 | 64 | index d22ea114..cbee43ba 100644 |
64 | --- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 65 | --- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp |
65 | +++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 66 | +++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp |
66 | @@ -61,6 +61,7 @@ address os::current_stack_pointer() { | 67 | @@ -61,6 +61,7 @@ address os::current_stack_pointer() { |
@@ -119,7 +120,7 @@ index d22ea1141..cbee43baa 100644 | |||
119 | 120 | ||
120 | void os::Linux::set_fpu_control_word(int fpu) { | 121 | void os::Linux::set_fpu_control_word(int fpu) { |
121 | diff --git a/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp b/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp | 122 | diff --git a/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp b/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp |
122 | index 39f77f858..b9c73dc48 100644 | 123 | index 94bc83a3..b3ba526f 100644 |
123 | --- a/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp | 124 | --- a/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp |
124 | +++ b/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp | 125 | +++ b/hotspot/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp |
125 | @@ -1,5 +1,5 @@ | 126 | @@ -1,5 +1,5 @@ |
@@ -136,7 +137,4 @@ index 39f77f858..b9c73dc48 100644 | |||
136 | + return false; // silence compile warning | 137 | + return false; // silence compile warning |
137 | } | 138 | } |
138 | 139 | ||
139 | // These routines are only used on cpu architectures that | 140 | bool pd_get_top_frame_for_profiling(frame* fr_addr, |
140 | -- | ||
141 | 2.24.1 | ||
142 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1007-hotspot-Missing-return-statement-in-__sync_val_compa.patch b/recipes-core/openjdk/patches-openjdk-8/1006-hotspot-Missing-return-statement-in-__sync_val_compa.patch index 6692200..2e32702 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1007-hotspot-Missing-return-statement-in-__sync_val_compa.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1006-hotspot-Missing-return-statement-in-__sync_val_compa.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 996a1e3d53773f41e9098117a69a060722972269 Mon Sep 17 00:00:00 2001 | 1 | From 1f618dcda554d85d1c1dcd1bfd84d9554cb2f3b8 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Mon, 13 Aug 2018 16:46:33 +0100 | 3 | Date: Mon, 13 Aug 2018 16:46:33 +0100 |
4 | Subject: [PATCH 1007/1012] hotspot: Missing return statement in | 4 | Subject: [PATCH] hotspot: Missing return statement in |
5 | __sync_val_compare_and_swap_8 | 5 | __sync_val_compare_and_swap_8 |
6 | MIME-Version: 1.0 | 6 | MIME-Version: 1.0 |
7 | Content-Type: text/plain; charset=UTF-8 | 7 | Content-Type: text/plain; charset=UTF-8 |
@@ -21,13 +21,14 @@ Upstream-Status: Backport | |||
21 | 21 | ||
22 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 22 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
23 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 23 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
24 | |||
24 | --- | 25 | --- |
25 | src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp | 1 + | 26 | hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp | 1 + |
26 | src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 1 + | 27 | hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 1 + |
27 | 2 files changed, 2 insertions(+) | 28 | 2 files changed, 2 insertions(+) |
28 | 29 | ||
29 | diff --git a/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp b/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp | 30 | diff --git a/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp b/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp |
30 | index c857b5526..4aaf78b1d 100644 | 31 | index c857b552..4aaf78b1 100644 |
31 | --- a/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp | 32 | --- a/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp |
32 | +++ b/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp | 33 | +++ b/hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp |
33 | @@ -457,6 +457,7 @@ extern "C" { | 34 | @@ -457,6 +457,7 @@ extern "C" { |
@@ -39,7 +40,7 @@ index c857b5526..4aaf78b1d 100644 | |||
39 | }; | 40 | }; |
40 | #endif // !_LP64 | 41 | #endif // !_LP64 |
41 | diff --git a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 42 | diff --git a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp |
42 | index cbee43baa..136d4d3de 100644 | 43 | index cbee43ba..136d4d3d 100644 |
43 | --- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 44 | --- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp |
44 | +++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 45 | +++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp |
45 | @@ -498,6 +498,7 @@ extern "C" { | 46 | @@ -498,6 +498,7 @@ extern "C" { |
@@ -50,6 +51,3 @@ index cbee43baa..136d4d3de 100644 | |||
50 | } | 51 | } |
51 | }; | 52 | }; |
52 | #endif // !_LP64 | 53 | #endif // !_LP64 |
53 | -- | ||
54 | 2.24.1 | ||
55 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1008-hotspot-Turn-on-the-Wreturn-type-warning.patch b/recipes-core/openjdk/patches-openjdk-8/1007-hotspot-Turn-on-the-Wreturn-type-warning.patch index 10dd0f7..b1b59c3 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1008-hotspot-Turn-on-the-Wreturn-type-warning.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1007-hotspot-Turn-on-the-Wreturn-type-warning.patch | |||
@@ -1,7 +1,11 @@ | |||
1 | From 2cce90259f9de7b5fba7f3380cdc90b3a586aa75 Mon Sep 17 00:00:00 2001 | 1 | From 6758bf27e31110dc5d4c7237476c823ff05454a2 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: Richard Leitner <richard.leitner@skidata.com> |
3 | Date: Mon, 13 Aug 2018 16:48:32 +0100 | 3 | Date: Thu, 22 Oct 2020 09:41:07 +0200 |
4 | Subject: [PATCH 1008/1012] hotspot: Turn on the -Wreturn-type warning | 4 | Subject: [PATCH] hotspot: Turn on the -Wreturn-type warning |
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
5 | MIME-Version: 1.0 | 9 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 10 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 11 | Content-Transfer-Encoding: 8bit |
@@ -19,24 +23,25 @@ Upstream-Status: Backport | |||
19 | 23 | ||
20 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 24 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 25 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
26 | |||
22 | --- | 27 | --- |
23 | make/linux/makefiles/gcc.make | 2 +- | 28 | hotspot/make/linux/makefiles/gcc.make | 2 +- |
24 | src/cpu/x86/vm/x86_32.ad | 1 + | 29 | hotspot/src/cpu/x86/vm/x86_32.ad | 1 + |
25 | src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 1 + | 30 | hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 1 + |
26 | src/share/vm/classfile/defaultMethods.cpp | 4 ++-- | 31 | hotspot/src/share/vm/classfile/defaultMethods.cpp | 4 ++-- |
27 | src/share/vm/classfile/symbolTable.cpp | 4 ++-- | 32 | hotspot/src/share/vm/classfile/symbolTable.cpp | 4 ++-- |
28 | src/share/vm/classfile/systemDictionary.cpp | 6 +++--- | 33 | hotspot/src/share/vm/classfile/systemDictionary.cpp | 6 +++--- |
29 | src/share/vm/memory/heapInspection.hpp | 2 +- | 34 | hotspot/src/share/vm/memory/heapInspection.hpp | 2 +- |
30 | src/share/vm/memory/metaspaceShared.hpp | 2 +- | 35 | hotspot/src/share/vm/memory/metaspaceShared.hpp | 2 +- |
31 | src/share/vm/oops/constantPool.hpp | 2 +- | 36 | hotspot/src/share/vm/oops/constantPool.hpp | 2 +- |
32 | src/share/vm/prims/jvm.cpp | 2 +- | 37 | hotspot/src/share/vm/prims/jvm.cpp | 2 +- |
33 | src/share/vm/runtime/reflection.cpp | 2 +- | 38 | hotspot/src/share/vm/runtime/reflection.cpp | 2 +- |
34 | src/share/vm/runtime/sharedRuntime.cpp | 2 +- | 39 | hotspot/src/share/vm/runtime/sharedRuntime.cpp | 2 +- |
35 | src/share/vm/services/memTracker.hpp | 2 +- | 40 | hotspot/src/share/vm/services/memTracker.hpp | 2 +- |
36 | 13 files changed, 17 insertions(+), 15 deletions(-) | 41 | 13 files changed, 17 insertions(+), 15 deletions(-) |
37 | 42 | ||
38 | diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make | 43 | diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make |
39 | index 36b3c8ba9..cd9511e50 100644 | 44 | index 36b3c8ba..cd9511e5 100644 |
40 | --- a/hotspot/make/linux/makefiles/gcc.make | 45 | --- a/hotspot/make/linux/makefiles/gcc.make |
41 | +++ b/hotspot/make/linux/makefiles/gcc.make | 46 | +++ b/hotspot/make/linux/makefiles/gcc.make |
42 | @@ -211,7 +211,7 @@ ifeq ($(USE_CLANG), true) | 47 | @@ -211,7 +211,7 @@ ifeq ($(USE_CLANG), true) |
@@ -49,7 +54,7 @@ index 36b3c8ba9..cd9511e50 100644 | |||
49 | ifeq ($(USE_CLANG),) | 54 | ifeq ($(USE_CLANG),) |
50 | # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit | 55 | # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit |
51 | diff --git a/hotspot/src/cpu/x86/vm/x86_32.ad b/hotspot/src/cpu/x86/vm/x86_32.ad | 56 | diff --git a/hotspot/src/cpu/x86/vm/x86_32.ad b/hotspot/src/cpu/x86/vm/x86_32.ad |
52 | index f42d1a288..c8f4ee161 100644 | 57 | index f42d1a28..c8f4ee16 100644 |
53 | --- a/hotspot/src/cpu/x86/vm/x86_32.ad | 58 | --- a/hotspot/src/cpu/x86/vm/x86_32.ad |
54 | +++ b/hotspot/src/cpu/x86/vm/x86_32.ad | 59 | +++ b/hotspot/src/cpu/x86/vm/x86_32.ad |
55 | @@ -1250,6 +1250,7 @@ uint MachSpillCopyNode::implementation( CodeBuffer *cbuf, PhaseRegAlloc *ra_, bo | 60 | @@ -1250,6 +1250,7 @@ uint MachSpillCopyNode::implementation( CodeBuffer *cbuf, PhaseRegAlloc *ra_, bo |
@@ -61,7 +66,7 @@ index f42d1a288..c8f4ee161 100644 | |||
61 | 66 | ||
62 | #ifndef PRODUCT | 67 | #ifndef PRODUCT |
63 | diff --git a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 68 | diff --git a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp |
64 | index 1a7375afc..fbf51b040 100644 | 69 | index c35d8677..65c3165c 100644 |
65 | --- a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 70 | --- a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp |
66 | +++ b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 71 | +++ b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp |
67 | @@ -541,6 +541,7 @@ JVM_handle_linux_signal(int sig, | 72 | @@ -541,6 +541,7 @@ JVM_handle_linux_signal(int sig, |
@@ -73,7 +78,7 @@ index 1a7375afc..fbf51b040 100644 | |||
73 | 78 | ||
74 | void os::Linux::init_thread_fpu_state(void) { | 79 | void os::Linux::init_thread_fpu_state(void) { |
75 | diff --git a/hotspot/src/share/vm/classfile/defaultMethods.cpp b/hotspot/src/share/vm/classfile/defaultMethods.cpp | 80 | diff --git a/hotspot/src/share/vm/classfile/defaultMethods.cpp b/hotspot/src/share/vm/classfile/defaultMethods.cpp |
76 | index 4b4b4e250..196622aed 100644 | 81 | index 4b4b4e25..196622ae 100644 |
77 | --- a/hotspot/src/share/vm/classfile/defaultMethods.cpp | 82 | --- a/hotspot/src/share/vm/classfile/defaultMethods.cpp |
78 | +++ b/hotspot/src/share/vm/classfile/defaultMethods.cpp | 83 | +++ b/hotspot/src/share/vm/classfile/defaultMethods.cpp |
79 | @@ -506,7 +506,7 @@ Symbol* MethodFamily::generate_method_message(Symbol *klass_name, Method* method | 84 | @@ -506,7 +506,7 @@ Symbol* MethodFamily::generate_method_message(Symbol *klass_name, Method* method |
@@ -95,7 +100,7 @@ index 4b4b4e250..196622aed 100644 | |||
95 | 100 | ||
96 | 101 | ||
97 | diff --git a/hotspot/src/share/vm/classfile/symbolTable.cpp b/hotspot/src/share/vm/classfile/symbolTable.cpp | 102 | diff --git a/hotspot/src/share/vm/classfile/symbolTable.cpp b/hotspot/src/share/vm/classfile/symbolTable.cpp |
98 | index ec97077b7..2621a7d62 100644 | 103 | index 83369cbc..8dd4e6b2 100644 |
99 | --- a/hotspot/src/share/vm/classfile/symbolTable.cpp | 104 | --- a/hotspot/src/share/vm/classfile/symbolTable.cpp |
100 | +++ b/hotspot/src/share/vm/classfile/symbolTable.cpp | 105 | +++ b/hotspot/src/share/vm/classfile/symbolTable.cpp |
101 | @@ -249,7 +249,7 @@ Symbol* SymbolTable::lookup(const char* name, int len, TRAPS) { | 106 | @@ -249,7 +249,7 @@ Symbol* SymbolTable::lookup(const char* name, int len, TRAPS) { |
@@ -117,10 +122,10 @@ index ec97077b7..2621a7d62 100644 | |||
117 | 122 | ||
118 | Symbol* SymbolTable::lookup_only(const char* name, int len, | 123 | Symbol* SymbolTable::lookup_only(const char* name, int len, |
119 | diff --git a/hotspot/src/share/vm/classfile/systemDictionary.cpp b/hotspot/src/share/vm/classfile/systemDictionary.cpp | 124 | diff --git a/hotspot/src/share/vm/classfile/systemDictionary.cpp b/hotspot/src/share/vm/classfile/systemDictionary.cpp |
120 | index da2717d36..5253afc22 100644 | 125 | index 4541e815..98412e1e 100644 |
121 | --- a/hotspot/src/share/vm/classfile/systemDictionary.cpp | 126 | --- a/hotspot/src/share/vm/classfile/systemDictionary.cpp |
122 | +++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp | 127 | +++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp |
123 | @@ -229,15 +229,15 @@ Klass* SystemDictionary::resolve_or_null(Symbol* class_name, Handle class_loader | 128 | @@ -236,15 +236,15 @@ Klass* SystemDictionary::resolve_or_null(Symbol* class_name, Handle class_loader |
124 | class_name->as_C_string(), | 129 | class_name->as_C_string(), |
125 | class_loader.is_null() ? "null" : class_loader->klass()->name()->as_C_string())); | 130 | class_loader.is_null() ? "null" : class_loader->klass()->name()->as_C_string())); |
126 | if (FieldType::is_array(class_name)) { | 131 | if (FieldType::is_array(class_name)) { |
@@ -140,7 +145,7 @@ index da2717d36..5253afc22 100644 | |||
140 | } | 145 | } |
141 | 146 | ||
142 | diff --git a/hotspot/src/share/vm/memory/heapInspection.hpp b/hotspot/src/share/vm/memory/heapInspection.hpp | 147 | diff --git a/hotspot/src/share/vm/memory/heapInspection.hpp b/hotspot/src/share/vm/memory/heapInspection.hpp |
143 | index 09ee6602e..c5fec15c3 100644 | 148 | index 09ee6602..c5fec15c 100644 |
144 | --- a/hotspot/src/share/vm/memory/heapInspection.hpp | 149 | --- a/hotspot/src/share/vm/memory/heapInspection.hpp |
145 | +++ b/hotspot/src/share/vm/memory/heapInspection.hpp | 150 | +++ b/hotspot/src/share/vm/memory/heapInspection.hpp |
146 | @@ -367,7 +367,7 @@ class HeapInspection : public StackObj { | 151 | @@ -367,7 +367,7 @@ class HeapInspection : public StackObj { |
@@ -153,7 +158,7 @@ index 09ee6602e..c5fec15c3 100644 | |||
153 | private: | 158 | private: |
154 | void iterate_over_heap(KlassInfoTable* cit, BoolObjectClosure* filter = NULL); | 159 | void iterate_over_heap(KlassInfoTable* cit, BoolObjectClosure* filter = NULL); |
155 | diff --git a/hotspot/src/share/vm/memory/metaspaceShared.hpp b/hotspot/src/share/vm/memory/metaspaceShared.hpp | 160 | diff --git a/hotspot/src/share/vm/memory/metaspaceShared.hpp b/hotspot/src/share/vm/memory/metaspaceShared.hpp |
156 | index 2f3abae6a..d58ebecb2 100644 | 161 | index 2f3abae6..d58ebecb 100644 |
157 | --- a/hotspot/src/share/vm/memory/metaspaceShared.hpp | 162 | --- a/hotspot/src/share/vm/memory/metaspaceShared.hpp |
158 | +++ b/hotspot/src/share/vm/memory/metaspaceShared.hpp | 163 | +++ b/hotspot/src/share/vm/memory/metaspaceShared.hpp |
159 | @@ -93,7 +93,7 @@ class MetaspaceShared : AllStatic { | 164 | @@ -93,7 +93,7 @@ class MetaspaceShared : AllStatic { |
@@ -166,7 +171,7 @@ index 2f3abae6a..d58ebecb2 100644 | |||
166 | static ReservedSpace* shared_rs() { | 171 | static ReservedSpace* shared_rs() { |
167 | CDS_ONLY(return _shared_rs); | 172 | CDS_ONLY(return _shared_rs); |
168 | diff --git a/hotspot/src/share/vm/oops/constantPool.hpp b/hotspot/src/share/vm/oops/constantPool.hpp | 173 | diff --git a/hotspot/src/share/vm/oops/constantPool.hpp b/hotspot/src/share/vm/oops/constantPool.hpp |
169 | index 0698eb40e..354293924 100644 | 174 | index 68435471..fad4a92c 100644 |
170 | --- a/hotspot/src/share/vm/oops/constantPool.hpp | 175 | --- a/hotspot/src/share/vm/oops/constantPool.hpp |
171 | +++ b/hotspot/src/share/vm/oops/constantPool.hpp | 176 | +++ b/hotspot/src/share/vm/oops/constantPool.hpp |
172 | @@ -350,7 +350,7 @@ class ConstantPool : public Metadata { | 177 | @@ -350,7 +350,7 @@ class ConstantPool : public Metadata { |
@@ -177,12 +182,12 @@ index 0698eb40e..354293924 100644 | |||
177 | + return klass_at_impl(h_this, which, THREAD); | 182 | + return klass_at_impl(h_this, which, THREAD); |
178 | } | 183 | } |
179 | 184 | ||
180 | Symbol* klass_name_at(int which); // Returns the name, w/o resolving. | 185 | Symbol* klass_name_at(int which) const; // Returns the name, w/o resolving. |
181 | diff --git a/hotspot/src/share/vm/prims/jvm.cpp b/hotspot/src/share/vm/prims/jvm.cpp | 186 | diff --git a/hotspot/src/share/vm/prims/jvm.cpp b/hotspot/src/share/vm/prims/jvm.cpp |
182 | index 8d7523c55..4034a8589 100644 | 187 | index 6f2221c4..daa69f89 100644 |
183 | --- a/hotspot/src/share/vm/prims/jvm.cpp | 188 | --- a/hotspot/src/share/vm/prims/jvm.cpp |
184 | +++ b/hotspot/src/share/vm/prims/jvm.cpp | 189 | +++ b/hotspot/src/share/vm/prims/jvm.cpp |
185 | @@ -4343,7 +4343,7 @@ JVM_ENTRY(jlong,JVM_DTraceActivate( | 190 | @@ -4368,7 +4368,7 @@ JVM_ENTRY(jlong,JVM_DTraceActivate( |
186 | JVM_DTraceProvider* providers)) | 191 | JVM_DTraceProvider* providers)) |
187 | JVMWrapper("JVM_DTraceActivate"); | 192 | JVMWrapper("JVM_DTraceActivate"); |
188 | return DTraceJSDT::activate( | 193 | return DTraceJSDT::activate( |
@@ -192,7 +197,7 @@ index 8d7523c55..4034a8589 100644 | |||
192 | 197 | ||
193 | JVM_ENTRY(jboolean,JVM_DTraceIsProbeEnabled(JNIEnv* env, jmethodID method)) | 198 | JVM_ENTRY(jboolean,JVM_DTraceIsProbeEnabled(JNIEnv* env, jmethodID method)) |
194 | diff --git a/hotspot/src/share/vm/runtime/reflection.cpp b/hotspot/src/share/vm/runtime/reflection.cpp | 199 | diff --git a/hotspot/src/share/vm/runtime/reflection.cpp b/hotspot/src/share/vm/runtime/reflection.cpp |
195 | index 4b39d8ccb..9cd7b0dcb 100644 | 200 | index 4b39d8cc..9cd7b0dc 100644 |
196 | --- a/hotspot/src/share/vm/runtime/reflection.cpp | 201 | --- a/hotspot/src/share/vm/runtime/reflection.cpp |
197 | +++ b/hotspot/src/share/vm/runtime/reflection.cpp | 202 | +++ b/hotspot/src/share/vm/runtime/reflection.cpp |
198 | @@ -1093,7 +1093,7 @@ oop Reflection::invoke(instanceKlassHandle klass, methodHandle reflected_method, | 203 | @@ -1093,7 +1093,7 @@ oop Reflection::invoke(instanceKlassHandle klass, methodHandle reflected_method, |
@@ -205,7 +210,7 @@ index 4b39d8ccb..9cd7b0dcb 100644 | |||
205 | } | 210 | } |
206 | 211 | ||
207 | diff --git a/hotspot/src/share/vm/runtime/sharedRuntime.cpp b/hotspot/src/share/vm/runtime/sharedRuntime.cpp | 212 | diff --git a/hotspot/src/share/vm/runtime/sharedRuntime.cpp b/hotspot/src/share/vm/runtime/sharedRuntime.cpp |
208 | index d5bea29c3..50578ad63 100644 | 213 | index d5bea29c..50578ad6 100644 |
209 | --- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp | 214 | --- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp |
210 | +++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp | 215 | +++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp |
211 | @@ -1041,7 +1041,7 @@ Handle SharedRuntime::find_callee_info(JavaThread* thread, Bytecodes::Code& bc, | 216 | @@ -1041,7 +1041,7 @@ Handle SharedRuntime::find_callee_info(JavaThread* thread, Bytecodes::Code& bc, |
@@ -218,7 +223,7 @@ index d5bea29c3..50578ad63 100644 | |||
218 | 223 | ||
219 | 224 | ||
220 | diff --git a/hotspot/src/share/vm/services/memTracker.hpp b/hotspot/src/share/vm/services/memTracker.hpp | 225 | diff --git a/hotspot/src/share/vm/services/memTracker.hpp b/hotspot/src/share/vm/services/memTracker.hpp |
221 | index 7ad2b71f4..182084373 100644 | 226 | index 8ea859dd..535147f8 100644 |
222 | --- a/hotspot/src/share/vm/services/memTracker.hpp | 227 | --- a/hotspot/src/share/vm/services/memTracker.hpp |
223 | +++ b/hotspot/src/share/vm/services/memTracker.hpp | 228 | +++ b/hotspot/src/share/vm/services/memTracker.hpp |
224 | @@ -64,7 +64,7 @@ class MemTracker : AllStatic { | 229 | @@ -64,7 +64,7 @@ class MemTracker : AllStatic { |
@@ -230,6 +235,3 @@ index 7ad2b71f4..182084373 100644 | |||
230 | static inline void record_virtual_memory_type(void* addr, MEMFLAGS flag) { } | 235 | static inline void record_virtual_memory_type(void* addr, MEMFLAGS flag) { } |
231 | static inline void record_thread_stack(void* addr, size_t size) { } | 236 | static inline void record_thread_stack(void* addr, size_t size) { } |
232 | static inline void release_thread_stack(void* addr, size_t size) { } | 237 | static inline void release_thread_stack(void* addr, size_t size) { } |
233 | -- | ||
234 | 2.24.1 | ||
235 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-handle-format-error-for-GCC-7.patch b/recipes-core/openjdk/patches-openjdk-8/1008-hotspot-handle-format-error-for-GCC-7.patch index ee950cd..e077c53 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-handle-format-error-for-GCC-7.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1008-hotspot-handle-format-error-for-GCC-7.patch | |||
@@ -1,21 +1,22 @@ | |||
1 | From d085dcce6f8700fd8ddda475357496ea6da323dc Mon Sep 17 00:00:00 2001 | 1 | From bb394ba055197ef7c7e27b436dd92f5a86305019 Mon Sep 17 00:00:00 2001 |
2 | From: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com> | 2 | From: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com> |
3 | Date: Fri, 21 Sep 2018 10:44:06 +0200 | 3 | Date: Fri, 21 Sep 2018 10:44:06 +0200 |
4 | Subject: [PATCH 1009/1012] hotspot: handle format error for GCC >= 7 | 4 | Subject: [PATCH] hotspot: handle format error for GCC >= 7 |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
8 | Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com> | 8 | Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com> |
9 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 9 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
10 | |||
10 | --- | 11 | --- |
11 | src/share/vm/adlc/output_c.cpp | 6 ++++-- | 12 | hotspot/src/share/vm/adlc/output_c.cpp | 6 ++++-- |
12 | 1 file changed, 4 insertions(+), 2 deletions(-) | 13 | 1 file changed, 4 insertions(+), 2 deletions(-) |
13 | 14 | ||
14 | diff --git a/hotspot/src/share/vm/adlc/output_c.cpp b/hotspot/src/share/vm/adlc/output_c.cpp | 15 | diff --git a/hotspot/src/share/vm/adlc/output_c.cpp b/hotspot/src/share/vm/adlc/output_c.cpp |
15 | index b3766636d..eba08d2f0 100644 | 16 | index 19916904..889b785c 100644 |
16 | --- a/hotspot/src/share/vm/adlc/output_c.cpp | 17 | --- a/hotspot/src/share/vm/adlc/output_c.cpp |
17 | +++ b/hotspot/src/share/vm/adlc/output_c.cpp | 18 | +++ b/hotspot/src/share/vm/adlc/output_c.cpp |
18 | @@ -436,9 +436,11 @@ static int pipeline_res_mask_initializer( | 19 | @@ -419,9 +419,11 @@ static int pipeline_res_mask_initializer( |
19 | for (i = maxcycleused; i > 0; i /= 10) | 20 | for (i = maxcycleused; i > 0; i /= 10) |
20 | cycledigit++; | 21 | cycledigit++; |
21 | 22 | ||
@@ -29,6 +30,3 @@ index b3766636d..eba08d2f0 100644 | |||
29 | 30 | ||
30 | static const char* pipeline_use_cycle_mask = "Pipeline_Use_Cycle_Mask"; | 31 | static const char* pipeline_use_cycle_mask = "Pipeline_Use_Cycle_Mask"; |
31 | static const char* pipeline_use_element = "Pipeline_Use_Element"; | 32 | static const char* pipeline_use_element = "Pipeline_Use_Element"; |
32 | -- | ||
33 | 2.24.1 | ||
34 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1010-hotspot-fix-adlc-flags.patch b/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-fix-adlc-flags.patch index 03f8660..a68e3a0 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1010-hotspot-fix-adlc-flags.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1009-hotspot-fix-adlc-flags.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 89408e465d92657de8c54d4622f1810c28c3d700 Mon Sep 17 00:00:00 2001 | 1 | From 486b1c46d80de99e0820cc6305477ab40ba4e13c Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Erkka=20K=C3=A4=C3=A4ri=C3=A4?= <erkka.kaaria@intel.com> | 2 | From: =?UTF-8?q?Erkka=20K=C3=A4=C3=A4ri=C3=A4?= <erkka.kaaria@intel.com> |
3 | Date: Thu, 2 Jan 2020 10:19:29 +0100 | 3 | Date: Thu, 2 Jan 2020 10:19:29 +0100 |
4 | Subject: [PATCH 1010/1012] hotspot: fix adlc flags | 4 | Subject: [PATCH 1009/1013] hotspot: fix adlc flags |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -39,5 +39,5 @@ index 92b8b9b39..ae0aa0082 100644 | |||
39 | 39 | ||
40 | # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make: | 40 | # OUTDIR must be the same as AD_Dir = $(GENERATED)/adfiles in top.make: |
41 | -- | 41 | -- |
42 | 2.24.1 | 42 | 2.26.2 |
43 | 43 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1011-hotspot-fix-shark-build-common.patch b/recipes-core/openjdk/patches-openjdk-8/1010-hotspot-fix-shark-build-common.patch index 8fe5489..711d17b 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1011-hotspot-fix-shark-build-common.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1010-hotspot-fix-shark-build-common.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 1015cc718ba25cabf613b96fd58baa8dfb8492fe Mon Sep 17 00:00:00 2001 | 1 | From 3028795037c3440415f3e8904e8015fbd480ab15 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 10:22:19 +0100 | 3 | Date: Thu, 2 Jan 2020 10:22:19 +0100 |
4 | Subject: [PATCH 1011/1012] hotspot: fix shark build (common) | 4 | Subject: [PATCH 1010/1013] hotspot: fix shark build (common) |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | --- | 7 | --- |
@@ -22,10 +22,10 @@ Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | |||
22 | 14 files changed, 123 insertions(+), 12 deletions(-) | 22 | 14 files changed, 123 insertions(+), 12 deletions(-) |
23 | 23 | ||
24 | diff --git a/hotspot/make/Makefile b/hotspot/make/Makefile | 24 | diff --git a/hotspot/make/Makefile b/hotspot/make/Makefile |
25 | index 5765f1e36..f8ff9ecd9 100644 | 25 | index de2607c71..3054c3fe8 100644 |
26 | --- a/hotspot/make/Makefile | 26 | --- a/hotspot/make/Makefile |
27 | +++ b/hotspot/make/Makefile | 27 | +++ b/hotspot/make/Makefile |
28 | @@ -525,7 +525,7 @@ $(EXPORT_INCLUDE_DIR)/%: $(SHARK_BUILD_DIR)/../generated/jvmtifiles/% | 28 | @@ -536,7 +536,7 @@ $(EXPORT_INCLUDE_DIR)/%: $(SHARK_BUILD_DIR)/../generated/jvmtifiles/% |
29 | # Unix | 29 | # Unix |
30 | $(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(SHARK_BUILD_DIR)/%.$(LIBRARY_SUFFIX) | 30 | $(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(SHARK_BUILD_DIR)/%.$(LIBRARY_SUFFIX) |
31 | $(install-file) | 31 | $(install-file) |
@@ -79,10 +79,10 @@ index 4707cc96e..a2b297ca0 100644 | |||
79 | flow_block(blk, temp_vector, temp_set); | 79 | flow_block(blk, temp_vector, temp_set); |
80 | if (failing()) return; // Watch for bailouts. | 80 | if (failing()) return; // Watch for bailouts. |
81 | diff --git a/hotspot/src/share/vm/classfile/systemDictionary.cpp b/hotspot/src/share/vm/classfile/systemDictionary.cpp | 81 | diff --git a/hotspot/src/share/vm/classfile/systemDictionary.cpp b/hotspot/src/share/vm/classfile/systemDictionary.cpp |
82 | index 5253afc22..ecb30cdef 100644 | 82 | index df4d56f6f..b1dd335cb 100644 |
83 | --- a/hotspot/src/share/vm/classfile/systemDictionary.cpp | 83 | --- a/hotspot/src/share/vm/classfile/systemDictionary.cpp |
84 | +++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp | 84 | +++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp |
85 | @@ -2300,6 +2300,7 @@ methodHandle SystemDictionary::find_method_handle_intrinsic(vmIntrinsics::ID iid | 85 | @@ -2371,6 +2371,7 @@ methodHandle SystemDictionary::find_method_handle_intrinsic(vmIntrinsics::ID iid |
86 | spe = NULL; | 86 | spe = NULL; |
87 | // Must create lots of stuff here, but outside of the SystemDictionary lock. | 87 | // Must create lots of stuff here, but outside of the SystemDictionary lock. |
88 | m = Method::make_method_handle_intrinsic(iid, signature, CHECK_(empty)); | 88 | m = Method::make_method_handle_intrinsic(iid, signature, CHECK_(empty)); |
@@ -90,7 +90,7 @@ index 5253afc22..ecb30cdef 100644 | |||
90 | if (!Arguments::is_interpreter_only()) { | 90 | if (!Arguments::is_interpreter_only()) { |
91 | // Generate a compiled form of the MH intrinsic. | 91 | // Generate a compiled form of the MH intrinsic. |
92 | AdapterHandlerLibrary::create_native_wrapper(m); | 92 | AdapterHandlerLibrary::create_native_wrapper(m); |
93 | @@ -2309,6 +2310,7 @@ methodHandle SystemDictionary::find_method_handle_intrinsic(vmIntrinsics::ID iid | 93 | @@ -2380,6 +2381,7 @@ methodHandle SystemDictionary::find_method_handle_intrinsic(vmIntrinsics::ID iid |
94 | "out of space in CodeCache for method handle intrinsic", empty); | 94 | "out of space in CodeCache for method handle intrinsic", empty); |
95 | } | 95 | } |
96 | } | 96 | } |
@@ -98,7 +98,7 @@ index 5253afc22..ecb30cdef 100644 | |||
98 | // Now grab the lock. We might have to throw away the new method, | 98 | // Now grab the lock. We might have to throw away the new method, |
99 | // if a racing thread has managed to install one at the same time. | 99 | // if a racing thread has managed to install one at the same time. |
100 | { | 100 | { |
101 | @@ -2322,9 +2324,11 @@ methodHandle SystemDictionary::find_method_handle_intrinsic(vmIntrinsics::ID iid | 101 | @@ -2393,9 +2395,11 @@ methodHandle SystemDictionary::find_method_handle_intrinsic(vmIntrinsics::ID iid |
102 | } | 102 | } |
103 | 103 | ||
104 | assert(spe != NULL && spe->method() != NULL, ""); | 104 | assert(spe != NULL && spe->method() != NULL, ""); |
@@ -444,5 +444,5 @@ index 243183c07..601ca7925 100644 | |||
444 | builder()->CreateICmpEQ(lock, check), | 444 | builder()->CreateICmpEQ(lock, check), |
445 | released_fast, slow_path); | 445 | released_fast, slow_path); |
446 | -- | 446 | -- |
447 | 2.24.1 | 447 | 2.26.2 |
448 | 448 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-restrict-to-staging-dir.patch b/recipes-core/openjdk/patches-openjdk-8/1011-hotspot-restrict-to-staging-dir.patch index b61f664..b5b9471 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-restrict-to-staging-dir.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1011-hotspot-restrict-to-staging-dir.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From e4c080e29afa3f93383c1e046273cd20ec835ca3 Mon Sep 17 00:00:00 2001 | 1 | From 364b8a715b96f069bf455894b0ae290c52d3ab19 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 10:23:38 +0100 | 3 | Date: Thu, 2 Jan 2020 10:23:38 +0100 |
4 | Subject: [PATCH 1012/1012] hotspot: restrict to staging dir | 4 | Subject: [PATCH 1011/1013] hotspot: restrict to staging dir |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | --- | 7 | --- |
@@ -22,5 +22,5 @@ index 386e94b1f..7642a67f8 100644 | |||
22 | DTRACE_ENABLED = $(shell test -f $(SDT_H_FILE) && echo $(SDT_H_FILE)) | 22 | DTRACE_ENABLED = $(shell test -f $(SDT_H_FILE) && echo $(SDT_H_FILE)) |
23 | REASON = "$(SDT_H_FILE) not found" | 23 | REASON = "$(SDT_H_FILE) not found" |
24 | -- | 24 | -- |
25 | 2.24.1 | 25 | 2.26.2 |
26 | 26 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch new file mode 100644 index 0000000..1ad8351 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/1012-hotspot-enable-Wno-error.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 2303926f157f8c90cef167c43bd530793c19e480 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <richard.leitner@skidata.com> | ||
3 | Date: Thu, 20 Aug 2020 09:39:23 +0200 | ||
4 | Subject: [PATCH] hotspot: enable -Wno-error | ||
5 | |||
6 | As we don't want to deal with compiler warnings in OpenEmbedded disable | ||
7 | them for now. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
12 | |||
13 | --- | ||
14 | hotspot/make/linux/makefiles/gcc.make | 4 ++-- | ||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/hotspot/make/linux/makefiles/gcc.make b/hotspot/make/linux/makefiles/gcc.make | ||
18 | index cd9511e5..94412c8f 100644 | ||
19 | --- a/hotspot/make/linux/makefiles/gcc.make | ||
20 | +++ b/hotspot/make/linux/makefiles/gcc.make | ||
21 | @@ -200,8 +200,8 @@ else | ||
22 | CFLAGS += -pipe | ||
23 | endif | ||
24 | |||
25 | -# Compiler warnings are treated as errors | ||
26 | -WARNINGS_ARE_ERRORS = -Werror | ||
27 | +# Compiler warnings are not treated as errors | ||
28 | +WARNINGS_ARE_ERRORS = -Wno-error | ||
29 | |||
30 | ifeq ($(USE_CLANG), true) | ||
31 | # However we need to clean the code up before we can unrestrictedly enable this option with Clang | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-add-missing-includes-for-shark-build-pt2.patch b/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-add-missing-includes-for-shark-build-pt2.patch new file mode 100644 index 0000000..a2e4726 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/1013-hotspot-add-missing-includes-for-shark-build-pt2.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From d497bc0b36be083400d2802019ffdf49f5d5ca94 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
3 | Date: Thu, 20 Aug 2020 10:10:55 +0200 | ||
4 | Subject: [PATCH 1013/1013] hotspot: add missing includes for shark build (pt2) | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
12 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
13 | --- | ||
14 | src/cpu/zero/vm/entry_zero.hpp | 2 ++ | ||
15 | 1 file changed, 2 insertions(+) | ||
16 | |||
17 | diff --git a/hotspot/src/cpu/zero/vm/entry_zero.hpp b/hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
18 | index 73987f061..c5f50672b 100644 | ||
19 | --- a/hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
20 | +++ b/hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
21 | @@ -26,6 +26,8 @@ | ||
22 | #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
23 | #define CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
24 | |||
25 | +#include "utilities/globalDefinitions.hpp" | ||
26 | +#include "utilities/exceptions.hpp" | ||
27 | #include "interpreter/cppInterpreter.hpp" | ||
28 | |||
29 | class ZeroEntry { | ||
30 | -- | ||
31 | 2.26.2 | ||
32 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/aarch32-hotspot-fix-missing-return-values.patch b/recipes-core/openjdk/patches-openjdk-8/1201-hotspot-aarch32-fix-missing-return-values.patch index bedc448..d4294d2 100644 --- a/recipes-core/openjdk/patches-openjdk-8/aarch32-hotspot-fix-missing-return-values.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1201-hotspot-aarch32-fix-missing-return-values.patch | |||
@@ -1,19 +1,21 @@ | |||
1 | From 658adc5b6567e9a6df56beabb8d226a9b4d8e762 Mon Sep 17 00:00:00 2001 | 1 | From f4d687a4d6ddb08cae3bcce46257ea57544294c0 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Thu, 16 Aug 2018 02:27:44 +0100 | 3 | Date: Thu, 16 Aug 2018 02:27:44 +0100 |
4 | Subject: [PATCH] hotspot/aarch32: fix missing return values | 4 | Subject: [PATCH 1201/1202] hotspot/aarch32: fix missing return values |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
8 | 8 | ||
9 | Upstream-Status: Pending | ||
9 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 10 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
11 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
10 | --- | 12 | --- |
11 | hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | 3 +++ | 13 | src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | 3 +++ |
12 | hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | 1 + | 14 | src/cpu/aarch32/vm/relocInfo_aarch32.cpp | 1 + |
13 | 2 files changed, 4 insertions(+) | 15 | 2 files changed, 4 insertions(+) |
14 | 16 | ||
15 | diff --git a/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp b/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | 17 | diff --git a/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp b/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp |
16 | index cd291bf2..4ba98c68 100644 | 18 | index 8aae15af2..76b6f1fe9 100644 |
17 | --- a/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | 19 | --- a/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp |
18 | +++ b/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp | 20 | +++ b/hotspot/src/cpu/aarch32/vm/c1_LIRAssembler_aarch32.cpp |
19 | @@ -158,16 +158,19 @@ static Register as_reg(LIR_Opr op) { | 21 | @@ -158,16 +158,19 @@ static Register as_reg(LIR_Opr op) { |
@@ -37,7 +39,7 @@ index cd291bf2..4ba98c68 100644 | |||
37 | 39 | ||
38 | Address LIR_Assembler::as_Address(LIR_Address* addr, Register tmp, Address::InsnDataType type) { | 40 | Address LIR_Assembler::as_Address(LIR_Address* addr, Register tmp, Address::InsnDataType type) { |
39 | diff --git a/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp b/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | 41 | diff --git a/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp b/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp |
40 | index 979d53c9..c0b1a4c7 100644 | 42 | index 979d53c98..c0b1a4c7a 100644 |
41 | --- a/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | 43 | --- a/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp |
42 | +++ b/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp | 44 | +++ b/hotspot/src/cpu/aarch32/vm/relocInfo_aarch32.cpp |
43 | @@ -87,6 +87,7 @@ address Relocation::pd_call_destination(address orig_addr) { | 45 | @@ -87,6 +87,7 @@ address Relocation::pd_call_destination(address orig_addr) { |
@@ -49,5 +51,5 @@ index 979d53c9..c0b1a4c7 100644 | |||
49 | 51 | ||
50 | void Relocation::pd_set_call_destination(address x) { | 52 | void Relocation::pd_set_call_destination(address x) { |
51 | -- | 53 | -- |
52 | 2.18.0 | 54 | 2.26.2 |
53 | 55 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/aarch32-hotspot-remaining-musl-fixes.patch b/recipes-core/openjdk/patches-openjdk-8/1202-hotspot-aarch32-remaining-musl-fixes.patch index 1140887..12137c1 100644 --- a/recipes-core/openjdk/patches-openjdk-8/aarch32-hotspot-remaining-musl-fixes.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1202-hotspot-aarch32-remaining-musl-fixes.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 4bab4a4468a59e303e8d05a409a07a24c2342452 Mon Sep 17 00:00:00 2001 | 1 | From 4726119a39e937ab1a70335a6bc89645742d44fd Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Mon, 20 Aug 2018 12:38:38 +0100 | 3 | Date: Mon, 20 Aug 2018 12:38:38 +0100 |
4 | Subject: [PATCH] hotspot: remaining musl fixes (aarch32) | 4 | Subject: [PATCH 1202/1202] hotspot/aarch32: remaining musl fixes |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -14,12 +14,13 @@ Content-Transfer-Encoding: 8bit | |||
14 | 14 | ||
15 | Upstream-Status: Inappropriate [OE specific] | 15 | Upstream-Status: Inappropriate [OE specific] |
16 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 16 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
17 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
17 | --- | 18 | --- |
18 | hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp | 1 - | 19 | src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp | 1 - |
19 | 1 file changed, 1 deletion(-) | 20 | 1 file changed, 1 deletion(-) |
20 | 21 | ||
21 | diff --git a/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp b/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp | 22 | diff --git a/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp b/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp |
22 | index 052a423c..93a315e4 100644 | 23 | index 2883fc17f..162504301 100644 |
23 | --- a/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp | 24 | --- a/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp |
24 | +++ b/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp | 25 | +++ b/hotspot/src/os_cpu/linux_aarch32/vm/os_linux_aarch32.cpp |
25 | @@ -75,7 +75,6 @@ | 26 | @@ -75,7 +75,6 @@ |
@@ -31,5 +32,5 @@ index 052a423c..93a315e4 100644 | |||
31 | #define REG_FP 29 | 32 | #define REG_FP 29 |
32 | #define SPELL_REG_SP "sp" | 33 | #define SPELL_REG_SP "sp" |
33 | -- | 34 | -- |
34 | 2.11.0 | 35 | 2.26.2 |
35 | 36 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/aarch64-hotspot-Fix-further-functions-with-a-missing.patch b/recipes-core/openjdk/patches-openjdk-8/1401-hotspot-aarch64-Add-missing-return-value-to-LIR_Asse.patch index 0216c68..e4aa48f 100644 --- a/recipes-core/openjdk/patches-openjdk-8/aarch64-hotspot-Fix-further-functions-with-a-missing.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1401-hotspot-aarch64-Add-missing-return-value-to-LIR_Asse.patch | |||
@@ -1,8 +1,8 @@ | |||
1 | From 3dffe06da016a959f1d8c3afc292ab92a9d4d137 Mon Sep 17 00:00:00 2001 | 1 | From 2e611155c42352c1a0c15078681c6712711f6c01 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Mon, 13 Aug 2018 17:03:56 +0100 | 3 | Date: Mon, 13 Aug 2018 17:03:56 +0100 |
4 | Subject: [PATCH] hotspot/aarch64: Fix further functions with a missing return | 4 | Subject: [PATCH 1401/1402] hotspot/aarch64: Add missing return value to |
5 | value. | 5 | LIR_Assembler::as_Address |
6 | MIME-Version: 1.0 | 6 | MIME-Version: 1.0 |
7 | Content-Type: text/plain; charset=UTF-8 | 7 | Content-Type: text/plain; charset=UTF-8 |
8 | Content-Transfer-Encoding: 8bit | 8 | Content-Transfer-Encoding: 8bit |
@@ -15,17 +15,19 @@ Content-Transfer-Encoding: 8bit | |||
15 | |# Parent 3ade0115344b77e6d00462044e0cf68722685bfe | 15 | |# Parent 3ade0115344b77e6d00462044e0cf68722685bfe |
16 | PR3519: Fix further functions with a missing return value. | 16 | PR3519: Fix further functions with a missing return value. |
17 | 17 | ||
18 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
19 | Upstream-Status: Backport | 18 | Upstream-Status: Backport |
19 | |||
20 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
20 | --- | 22 | --- |
21 | hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 1 + | 23 | src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 1 + |
22 | 1 file changed, 1 insertion(+) | 24 | 1 file changed, 1 insertion(+) |
23 | 25 | ||
24 | diff --git a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 26 | diff --git a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp |
25 | index 4e98cb39..bbc81b4a 100644 | 27 | index 7b85119c3..074e71a7d 100644 |
26 | --- a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 28 | --- a/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp |
27 | +++ b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 29 | +++ b/hotspot/src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp |
28 | @@ -205,6 +205,7 @@ Address LIR_Assembler::as_Address(LIR_Address* addr, Register tmp) { | 30 | @@ -207,6 +207,7 @@ Address LIR_Assembler::as_Address(LIR_Address* addr, Register tmp) { |
29 | return Address(base, tmp, Address::lsl(addr->scale())); | 31 | return Address(base, tmp, Address::lsl(addr->scale())); |
30 | } | 32 | } |
31 | } | 33 | } |
@@ -34,5 +36,5 @@ index 4e98cb39..bbc81b4a 100644 | |||
34 | 36 | ||
35 | Address LIR_Assembler::as_Address_hi(LIR_Address* addr) { | 37 | Address LIR_Assembler::as_Address_hi(LIR_Address* addr) { |
36 | -- | 38 | -- |
37 | 2.18.0 | 39 | 2.26.2 |
38 | 40 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/aarch64-hotspot-remaining-musl-fixes.patch b/recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch index 436f012..2aafd82 100644 --- a/recipes-core/openjdk/patches-openjdk-8/aarch64-hotspot-remaining-musl-fixes.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1402-hotspot-aarch64-remaining-musl-fixes.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 8e8e79c136fe56db119fd9a76fb881e96727c840 Mon Sep 17 00:00:00 2001 | 1 | From 033183cd3598ff8ba4a40ef529dfad89c6226ca6 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 15:33:17 +0000 | 3 | Date: Tue, 27 Feb 2018 15:33:17 +0000 |
4 | Subject: [PATCH] hotspot: remaining musl fixes (aarch64) | 4 | Subject: [PATCH 1402/1402] hotspot/aarch64: remaining musl fixes |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -12,24 +12,26 @@ Content-Transfer-Encoding: 8bit | |||
12 | | ^~~~~~~~~~~~~~~ | 12 | | ^~~~~~~~~~~~~~~ |
13 | 13 | ||
14 | Upstream-Status: Inappropriate [OE specific] | 14 | Upstream-Status: Inappropriate [OE specific] |
15 | |||
15 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 16 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
17 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
16 | --- | 18 | --- |
17 | hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 2 +- | 19 | src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 2 +- |
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
19 | 21 | ||
20 | diff --git a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 22 | diff --git a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp |
21 | index 8b985693..23f196cd 100644 | 23 | index 27dcbfa97..33779ae57 100644 |
22 | --- a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 24 | --- a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp |
23 | +++ b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 25 | +++ b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp |
24 | @@ -75,7 +75,7 @@ | 26 | @@ -72,7 +72,7 @@ |
25 | # include <pwd.h> | 27 | # include <pwd.h> |
26 | # include <poll.h> | 28 | # include <poll.h> |
27 | # include <ucontext.h> | 29 | # include <ucontext.h> |
28 | -# include <fpu_control.h> | 30 | -# include <fpu_control.h> |
29 | +# include <linux/types.h> /* provides __u64 */ | 31 | +# include <linux/types.h> /* provides __u64 */ |
30 | 32 | ||
31 | #ifdef BUILTIN_SIM | 33 | #define REG_FP 29 |
32 | #define REG_SP REG_RSP | 34 | |
33 | -- | 35 | -- |
34 | 2.16.1 | 36 | 2.26.2 |
35 | 37 | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2001-jdk-comparison-between-pointer-and-integer.patch b/recipes-core/openjdk/patches-openjdk-8/2001-jdk-comparison-between-pointer-and-integer.patch index 38d3019..244d2b4 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2001-jdk-comparison-between-pointer-and-integer.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2001-jdk-comparison-between-pointer-and-integer.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 46ea1c28b53bf5fd2be03fa1d78936f6a1e70fc4 Mon Sep 17 00:00:00 2001 | 1 | From dcf3e46758fa5e77ce6fb4b3f51867bb5186f8f0 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Fri, 2 Mar 2018 11:13:08 +0000 | 3 | Date: Fri, 2 Mar 2018 11:13:08 +0000 |
4 | Subject: [PATCH 2001/2008] jdk: comparison between pointer and integer | 4 | Subject: [PATCH] jdk: comparison between pointer and integer |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -21,14 +21,15 @@ Upstream-Status: Backport [http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/90c64359 | |||
21 | 21 | ||
22 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 22 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
23 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 23 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
24 | |||
24 | --- | 25 | --- |
25 | src/share/native/java/net/net_util.c | 15 +++++++-------- | 26 | jdk/src/share/native/java/net/net_util.c | 15 +++++++-------- |
26 | src/share/native/java/net/net_util.h | 8 ++++---- | 27 | jdk/src/share/native/java/net/net_util.h | 8 ++++---- |
27 | src/solaris/native/java/net/Inet6AddressImpl.c | 4 ++-- | 28 | .../solaris/native/java/net/Inet6AddressImpl.c | 4 ++-- |
28 | 3 files changed, 13 insertions(+), 14 deletions(-) | 29 | 3 files changed, 13 insertions(+), 14 deletions(-) |
29 | 30 | ||
30 | diff --git a/jdk/src/share/native/java/net/net_util.c b/jdk/src/share/native/java/net/net_util.c | 31 | diff --git a/jdk/src/share/native/java/net/net_util.c b/jdk/src/share/native/java/net/net_util.c |
31 | index b1b8223a6..2eee6261a 100644 | 32 | index b1b8223a..2eee6261 100644 |
32 | --- a/jdk/src/share/native/java/net/net_util.c | 33 | --- a/jdk/src/share/native/java/net/net_util.c |
33 | +++ b/jdk/src/share/native/java/net/net_util.c | 34 | +++ b/jdk/src/share/native/java/net/net_util.c |
34 | @@ -108,7 +108,7 @@ jobject getInet6Address_scopeifname(JNIEnv *env, jobject iaObj) { | 35 | @@ -108,7 +108,7 @@ jobject getInet6Address_scopeifname(JNIEnv *env, jobject iaObj) { |
@@ -99,7 +100,7 @@ index b1b8223a6..2eee6261a 100644 | |||
99 | int scope; | 100 | int scope; |
100 | 101 | ||
101 | diff --git a/jdk/src/share/native/java/net/net_util.h b/jdk/src/share/native/java/net/net_util.h | 102 | diff --git a/jdk/src/share/native/java/net/net_util.h b/jdk/src/share/native/java/net/net_util.h |
102 | index c8a5e68c4..176ca586e 100644 | 103 | index c8a5e68c..176ca586 100644 |
103 | --- a/jdk/src/share/native/java/net/net_util.h | 104 | --- a/jdk/src/share/native/java/net/net_util.h |
104 | +++ b/jdk/src/share/native/java/net/net_util.h | 105 | +++ b/jdk/src/share/native/java/net/net_util.h |
105 | @@ -64,12 +64,12 @@ JNIEXPORT void JNICALL initInetAddressIDs(JNIEnv *env); | 106 | @@ -64,12 +64,12 @@ JNIEXPORT void JNICALL initInetAddressIDs(JNIEnv *env); |
@@ -120,7 +121,7 @@ index c8a5e68c4..176ca586e 100644 | |||
120 | extern void setInetAddress_addr(JNIEnv *env, jobject iaObj, int address); | 121 | extern void setInetAddress_addr(JNIEnv *env, jobject iaObj, int address); |
121 | extern void setInetAddress_family(JNIEnv *env, jobject iaObj, int family); | 122 | extern void setInetAddress_family(JNIEnv *env, jobject iaObj, int family); |
122 | diff --git a/jdk/src/solaris/native/java/net/Inet6AddressImpl.c b/jdk/src/solaris/native/java/net/Inet6AddressImpl.c | 123 | diff --git a/jdk/src/solaris/native/java/net/Inet6AddressImpl.c b/jdk/src/solaris/native/java/net/Inet6AddressImpl.c |
123 | index 0a51a365f..dcc348cf1 100644 | 124 | index 0a51a365..dcc348cf 100644 |
124 | --- a/jdk/src/solaris/native/java/net/Inet6AddressImpl.c | 125 | --- a/jdk/src/solaris/native/java/net/Inet6AddressImpl.c |
125 | +++ b/jdk/src/solaris/native/java/net/Inet6AddressImpl.c | 126 | +++ b/jdk/src/solaris/native/java/net/Inet6AddressImpl.c |
126 | @@ -392,7 +392,7 @@ Java_java_net_Inet6AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, | 127 | @@ -392,7 +392,7 @@ Java_java_net_Inet6AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, |
@@ -141,6 +142,3 @@ index 0a51a365f..dcc348cf1 100644 | |||
141 | ret = NULL; | 142 | ret = NULL; |
142 | goto cleanupAndReturn; | 143 | goto cleanupAndReturn; |
143 | } | 144 | } |
144 | -- | ||
145 | 2.24.1 | ||
146 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2002-jdk-Allow-using-a-system-installed-libjpeg.patch b/recipes-core/openjdk/patches-openjdk-8/2002-jdk-Allow-using-a-system-installed-libjpeg.patch index 4d1df8a..5f8981d 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2002-jdk-Allow-using-a-system-installed-libjpeg.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2002-jdk-Allow-using-a-system-installed-libjpeg.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From aef9a3f955f6e189b2a24b9f79ccb396275d4fa3 Mon Sep 17 00:00:00 2001 | 1 | From a1a63e85513aa3501588b02940e4f0e93e992e89 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 13:36:53 +0000 | 3 | Date: Tue, 27 Feb 2018 13:36:53 +0000 |
4 | Subject: [PATCH 2002/2008] jdk: Allow using a system-installed libjpeg | 4 | Subject: [PATCH] jdk: Allow using a system-installed libjpeg |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -21,8 +21,9 @@ Issues fixed on top of debian patch: | |||
21 | Upstream-Status: Backport | 21 | Upstream-Status: Backport |
22 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 22 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
23 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 23 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
24 | |||
24 | --- | 25 | --- |
25 | make/lib/Awt2dLibraries.gmk | 69 +++++++++++++------ | 26 | jdk/make/lib/Awt2dLibraries.gmk | 69 +++++++++++++------ |
26 | .../imageio/plugins/jpeg/JPEGImageReader.java | 2 +- | 27 | .../imageio/plugins/jpeg/JPEGImageReader.java | 2 +- |
27 | .../imageio/plugins/jpeg/JPEGImageWriter.java | 2 +- | 28 | .../imageio/plugins/jpeg/JPEGImageWriter.java | 2 +- |
28 | .../sun/awt/image/JPEGImageDecoder.java | 2 +- | 29 | .../sun/awt/image/JPEGImageDecoder.java | 2 +- |
@@ -30,10 +31,10 @@ Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | |||
30 | 5 files changed, 51 insertions(+), 26 deletions(-) | 31 | 5 files changed, 51 insertions(+), 26 deletions(-) |
31 | 32 | ||
32 | diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk | 33 | diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk |
33 | index a06bfd6db..12b9da11d 100644 | 34 | index 9368a9d5..7fffcafc 100644 |
34 | --- a/jdk/make/lib/Awt2dLibraries.gmk | 35 | --- a/jdk/make/lib/Awt2dLibraries.gmk |
35 | +++ b/jdk/make/lib/Awt2dLibraries.gmk | 36 | +++ b/jdk/make/lib/Awt2dLibraries.gmk |
36 | @@ -695,21 +695,24 @@ $(BUILD_LIBLCMS): $(BUILD_LIBAWT) | 37 | @@ -702,21 +702,24 @@ $(BUILD_LIBLCMS): $(BUILD_LIBAWT) |
37 | 38 | ||
38 | ########################################################################################## | 39 | ########################################################################################## |
39 | 40 | ||
@@ -64,7 +65,7 @@ index a06bfd6db..12b9da11d 100644 | |||
64 | # Suppress gcc warnings like "variable might be clobbered by 'longjmp' | 65 | # Suppress gcc warnings like "variable might be clobbered by 'longjmp' |
65 | # or 'vfork'": this warning indicates that some variable is placed to | 66 | # or 'vfork'": this warning indicates that some variable is placed to |
66 | # a register by optimized compiler and it's value might be lost on longjmp(). | 67 | # a register by optimized compiler and it's value might be lost on longjmp(). |
67 | @@ -721,37 +724,50 @@ endif | 68 | @@ -728,37 +731,50 @@ endif |
68 | # $(shell $(EXPR) $(CC_MAJORVER) \> 4 \| \ | 69 | # $(shell $(EXPR) $(CC_MAJORVER) \> 4 \| \ |
69 | # \( $(CC_MAJORVER) = 4 \& $(CC_MINORVER) \>= 3 \) ) | 70 | # \( $(CC_MAJORVER) = 4 \& $(CC_MINORVER) \>= 3 \) ) |
70 | # ifeq ($(CC_43_OR_NEWER), 1) | 71 | # ifeq ($(CC_43_OR_NEWER), 1) |
@@ -129,7 +130,7 @@ index a06bfd6db..12b9da11d 100644 | |||
129 | 130 | ||
130 | ########################################################################################## | 131 | ########################################################################################## |
131 | 132 | ||
132 | @@ -1142,6 +1158,13 @@ ifndef BUILD_HEADLESS_ONLY | 133 | @@ -1149,6 +1165,13 @@ ifndef BUILD_HEADLESS_ONLY |
133 | GIFLIB_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/giflib | 134 | GIFLIB_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/giflib |
134 | endif | 135 | endif |
135 | 136 | ||
@@ -143,7 +144,7 @@ index a06bfd6db..12b9da11d 100644 | |||
143 | ifneq ($(OPENJDK_TARGET_OS), macosx) | 144 | ifneq ($(OPENJDK_TARGET_OS), macosx) |
144 | LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen | 145 | LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen |
145 | else | 146 | else |
146 | @@ -1198,11 +1221,13 @@ ifndef BUILD_HEADLESS_ONLY | 147 | @@ -1205,11 +1228,13 @@ ifndef BUILD_HEADLESS_ONLY |
147 | EXCLUDE_FILES := imageioJPEG.c jpegdecoder.c pngtest.c, \ | 148 | EXCLUDE_FILES := imageioJPEG.c jpegdecoder.c pngtest.c, \ |
148 | LANG := C, \ | 149 | LANG := C, \ |
149 | OPTIMIZATION := LOW, \ | 150 | OPTIMIZATION := LOW, \ |
@@ -160,7 +161,7 @@ index a06bfd6db..12b9da11d 100644 | |||
160 | VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ | 161 | VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ |
161 | RC_FLAGS := $(RC_FLAGS) \ | 162 | RC_FLAGS := $(RC_FLAGS) \ |
162 | diff --git a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java | 163 | diff --git a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java |
163 | index 8f58f5b3e..fcbab8260 100644 | 164 | index 8f58f5b3..fcbab826 100644 |
164 | --- a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java | 165 | --- a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java |
165 | +++ b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java | 166 | +++ b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java |
166 | @@ -89,7 +89,7 @@ public class JPEGImageReader extends ImageReader { | 167 | @@ -89,7 +89,7 @@ public class JPEGImageReader extends ImageReader { |
@@ -173,7 +174,7 @@ index 8f58f5b3e..fcbab8260 100644 | |||
173 | } | 174 | } |
174 | }); | 175 | }); |
175 | diff --git a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java | 176 | diff --git a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java |
176 | index 6a33bd5a1..dca189ed8 100644 | 177 | index 6a33bd5a..dca189ed 100644 |
177 | --- a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java | 178 | --- a/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java |
178 | +++ b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java | 179 | +++ b/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java |
179 | @@ -177,7 +177,7 @@ public class JPEGImageWriter extends ImageWriter { | 180 | @@ -177,7 +177,7 @@ public class JPEGImageWriter extends ImageWriter { |
@@ -186,7 +187,7 @@ index 6a33bd5a1..dca189ed8 100644 | |||
186 | } | 187 | } |
187 | }); | 188 | }); |
188 | diff --git a/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java b/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java | 189 | diff --git a/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java b/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java |
189 | index 872ffc019..5965a186b 100644 | 190 | index 872ffc01..5965a186 100644 |
190 | --- a/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java | 191 | --- a/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java |
191 | +++ b/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java | 192 | +++ b/jdk/src/share/classes/sun/awt/image/JPEGImageDecoder.java |
192 | @@ -56,7 +56,7 @@ public class JPEGImageDecoder extends ImageDecoder { | 193 | @@ -56,7 +56,7 @@ public class JPEGImageDecoder extends ImageDecoder { |
@@ -199,7 +200,7 @@ index 872ffc019..5965a186b 100644 | |||
199 | } | 200 | } |
200 | }); | 201 | }); |
201 | diff --git a/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c b/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 202 | diff --git a/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c b/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c |
202 | index 7e1d8c99d..8cac61da3 100644 | 203 | index 7e1d8c99..8cac61da 100644 |
203 | --- a/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 204 | --- a/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c |
204 | +++ b/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 205 | +++ b/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c |
205 | @@ -51,7 +51,7 @@ | 206 | @@ -51,7 +51,7 @@ |
@@ -211,6 +212,3 @@ index 7e1d8c99d..8cac61da3 100644 | |||
211 | 212 | ||
212 | #undef MAX | 213 | #undef MAX |
213 | #define MAX(a,b) ((a) > (b) ? (a) : (b)) | 214 | #define MAX(a,b) ((a) > (b) ? (a) : (b)) |
214 | -- | ||
215 | 2.24.1 | ||
216 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch b/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch index 13d3045..dbc714e 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2003-jdk-Allow-using-a-system-installed-libpng.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From bdf8cb302ab7c8f11b676f93da482cd4a9405ce4 Mon Sep 17 00:00:00 2001 | 1 | From ce26d6cbb550039516432993894d65660b7c9e06 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 13:43:04 +0000 | 3 | Date: Tue, 27 Feb 2018 13:43:04 +0000 |
4 | Subject: [PATCH 2003/2008] jdk: Allow using a system-installed libpng | 4 | Subject: [PATCH] jdk: Allow using a system-installed libpng |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -18,16 +18,17 @@ Issues fixed on top of debian patch: | |||
18 | Upstream-Status: Backport | 18 | Upstream-Status: Backport |
19 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 19 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
20 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 20 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
21 | |||
21 | --- | 22 | --- |
22 | make/lib/Awt2dLibraries.gmk | 12 +++++++++--- | 23 | jdk/make/lib/Awt2dLibraries.gmk | 12 +++++++++--- |
23 | .../native/sun/awt/splashscreen/splashscreen_png.c | 3 +-- | 24 | .../native/sun/awt/splashscreen/splashscreen_png.c | 3 +-- |
24 | 2 files changed, 10 insertions(+), 5 deletions(-) | 25 | 2 files changed, 10 insertions(+), 5 deletions(-) |
25 | 26 | ||
26 | diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk | 27 | diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk |
27 | index 12b9da11d..cd8b94cd8 100644 | 28 | index 7fffcafc..7f42e09c 100644 |
28 | --- a/jdk/make/lib/Awt2dLibraries.gmk | 29 | --- a/jdk/make/lib/Awt2dLibraries.gmk |
29 | +++ b/jdk/make/lib/Awt2dLibraries.gmk | 30 | +++ b/jdk/make/lib/Awt2dLibraries.gmk |
30 | @@ -1148,7 +1148,6 @@ endif | 31 | @@ -1155,7 +1155,6 @@ endif |
31 | ifndef BUILD_HEADLESS_ONLY | 32 | ifndef BUILD_HEADLESS_ONLY |
32 | LIBSPLASHSCREEN_DIRS := \ | 33 | LIBSPLASHSCREEN_DIRS := \ |
33 | $(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg \ | 34 | $(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg \ |
@@ -35,7 +36,7 @@ index 12b9da11d..cd8b94cd8 100644 | |||
35 | $(JDK_TOPDIR)/src/share/native/sun/awt/splashscreen | 36 | $(JDK_TOPDIR)/src/share/native/sun/awt/splashscreen |
36 | 37 | ||
37 | ifeq ($(USE_EXTERNAL_LIBGIF), true) | 38 | ifeq ($(USE_EXTERNAL_LIBGIF), true) |
38 | @@ -1165,6 +1164,13 @@ ifndef BUILD_HEADLESS_ONLY | 39 | @@ -1172,6 +1171,13 @@ ifndef BUILD_HEADLESS_ONLY |
39 | LIBJPEG_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg | 40 | LIBJPEG_CFLAGS := -I$(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg |
40 | endif | 41 | endif |
41 | 42 | ||
@@ -49,7 +50,7 @@ index 12b9da11d..cd8b94cd8 100644 | |||
49 | ifneq ($(OPENJDK_TARGET_OS), macosx) | 50 | ifneq ($(OPENJDK_TARGET_OS), macosx) |
50 | LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen | 51 | LIBSPLASHSCREEN_DIRS += $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/awt/splashscreen |
51 | else | 52 | else |
52 | @@ -1222,12 +1228,12 @@ ifndef BUILD_HEADLESS_ONLY | 53 | @@ -1229,12 +1235,12 @@ ifndef BUILD_HEADLESS_ONLY |
53 | LANG := C, \ | 54 | LANG := C, \ |
54 | OPTIMIZATION := LOW, \ | 55 | OPTIMIZATION := LOW, \ |
55 | CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) $(CFLAGS_JDKLIB) \ | 56 | CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) $(CFLAGS_JDKLIB) \ |
@@ -65,7 +66,7 @@ index 12b9da11d..cd8b94cd8 100644 | |||
65 | VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ | 66 | VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ |
66 | RC_FLAGS := $(RC_FLAGS) \ | 67 | RC_FLAGS := $(RC_FLAGS) \ |
67 | diff --git a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c | 68 | diff --git a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c |
68 | index 3599433e4..5bf002ea1 100644 | 69 | index 3599433e..5bf002ea 100644 |
69 | --- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c | 70 | --- a/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c |
70 | +++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c | 71 | +++ b/jdk/src/share/native/sun/awt/splashscreen/splashscreen_png.c |
71 | @@ -25,8 +25,7 @@ | 72 | @@ -25,8 +25,7 @@ |
@@ -78,6 +79,3 @@ index 3599433e4..5bf002ea1 100644 | |||
78 | #include <setjmp.h> | 79 | #include <setjmp.h> |
79 | 80 | ||
80 | #define SIG_BYTES 8 | 81 | #define SIG_BYTES 8 |
81 | -- | ||
82 | 2.24.1 | ||
83 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2004-jdk-use-correct-include-for-poll.patch b/recipes-core/openjdk/patches-openjdk-8/2004-jdk-use-correct-include-for-poll.patch index 365b4d6..91ec91f 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2004-jdk-use-correct-include-for-poll.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2004-jdk-use-correct-include-for-poll.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 48d7384387394820f2f5e8bdc2982c242568b548 Mon Sep 17 00:00:00 2001 | 1 | From 44512cfca65ea5b7b6d1732560d8aa2cd221de22 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 09:28:06 +0000 | 3 | Date: Tue, 27 Feb 2018 09:28:06 +0000 |
4 | Subject: [PATCH 2004/2008] jdk: use correct include for poll | 4 | Subject: [PATCH] jdk: use correct include for poll |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -25,24 +25,25 @@ the following command: | |||
25 | Upstream-Status: Pending | 25 | Upstream-Status: Pending |
26 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 26 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
27 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 27 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
28 | |||
28 | --- | 29 | --- |
29 | src/aix/native/java/net/aix_close.c | 2 +- | 30 | jdk/src/aix/native/java/net/aix_close.c | 2 +- |
30 | src/aix/native/sun/nio/ch/AixPollPort.c | 2 +- | 31 | jdk/src/aix/native/sun/nio/ch/AixPollPort.c | 2 +- |
31 | src/solaris/native/java/net/PlainSocketImpl.c | 2 +- | 32 | jdk/src/solaris/native/java/net/PlainSocketImpl.c | 2 +- |
32 | src/solaris/native/java/net/bsd_close.c | 2 +- | 33 | jdk/src/solaris/native/java/net/bsd_close.c | 2 +- |
33 | src/solaris/native/java/net/linux_close.c | 2 +- | 34 | jdk/src/solaris/native/java/net/linux_close.c | 2 +- |
34 | src/solaris/native/java/net/net_util_md.h | 2 +- | 35 | jdk/src/solaris/native/java/net/net_util_md.h | 2 +- |
35 | src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c | 2 +- | 36 | jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c | 2 +- |
36 | src/solaris/native/sun/nio/ch/Net.c | 2 +- | 37 | jdk/src/solaris/native/sun/nio/ch/Net.c | 2 +- |
37 | src/solaris/native/sun/nio/fs/LinuxWatchService.c | 2 +- | 38 | jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c | 2 +- |
38 | src/solaris/transport/socket/socket_md.c | 2 +- | 39 | jdk/src/solaris/transport/socket/socket_md.c | 2 +- |
39 | 10 files changed, 10 insertions(+), 10 deletions(-) | 40 | 10 files changed, 10 insertions(+), 10 deletions(-) |
40 | 41 | ||
41 | diff --git a/jdk/src/aix/native/java/net/aix_close.c b/jdk/src/aix/native/java/net/aix_close.c | 42 | diff --git a/jdk/src/aix/native/java/net/aix_close.c b/jdk/src/aix/native/java/net/aix_close.c |
42 | index 8c070e4b7..126f4d7d4 100644 | 43 | index 90d57b42..fbeb73ef 100644 |
43 | --- a/jdk/src/aix/native/java/net/aix_close.c | 44 | --- a/jdk/src/aix/native/java/net/aix_close.c |
44 | +++ b/jdk/src/aix/native/java/net/aix_close.c | 45 | +++ b/jdk/src/aix/native/java/net/aix_close.c |
45 | @@ -51,7 +51,7 @@ | 46 | @@ -54,7 +54,7 @@ |
46 | #include <unistd.h> | 47 | #include <unistd.h> |
47 | #include <errno.h> | 48 | #include <errno.h> |
48 | 49 | ||
@@ -52,7 +53,7 @@ index 8c070e4b7..126f4d7d4 100644 | |||
52 | /* | 53 | /* |
53 | * Stack allocated by thread when doing blocking operation | 54 | * Stack allocated by thread when doing blocking operation |
54 | diff --git a/jdk/src/aix/native/sun/nio/ch/AixPollPort.c b/jdk/src/aix/native/sun/nio/ch/AixPollPort.c | 55 | diff --git a/jdk/src/aix/native/sun/nio/ch/AixPollPort.c b/jdk/src/aix/native/sun/nio/ch/AixPollPort.c |
55 | index 70064b890..c10c602b6 100644 | 56 | index 70064b89..c10c602b 100644 |
56 | --- a/jdk/src/aix/native/sun/nio/ch/AixPollPort.c | 57 | --- a/jdk/src/aix/native/sun/nio/ch/AixPollPort.c |
57 | +++ b/jdk/src/aix/native/sun/nio/ch/AixPollPort.c | 58 | +++ b/jdk/src/aix/native/sun/nio/ch/AixPollPort.c |
58 | @@ -34,7 +34,7 @@ | 59 | @@ -34,7 +34,7 @@ |
@@ -65,7 +66,7 @@ index 70064b890..c10c602b6 100644 | |||
65 | #include <fcntl.h> | 66 | #include <fcntl.h> |
66 | #include <stddef.h> | 67 | #include <stddef.h> |
67 | diff --git a/jdk/src/solaris/native/java/net/PlainSocketImpl.c b/jdk/src/solaris/native/java/net/PlainSocketImpl.c | 68 | diff --git a/jdk/src/solaris/native/java/net/PlainSocketImpl.c b/jdk/src/solaris/native/java/net/PlainSocketImpl.c |
68 | index 71cbdf8ce..170957e73 100644 | 69 | index 373c5e36..9aafbc09 100644 |
69 | --- a/jdk/src/solaris/native/java/net/PlainSocketImpl.c | 70 | --- a/jdk/src/solaris/native/java/net/PlainSocketImpl.c |
70 | +++ b/jdk/src/solaris/native/java/net/PlainSocketImpl.c | 71 | +++ b/jdk/src/solaris/native/java/net/PlainSocketImpl.c |
71 | @@ -28,7 +28,7 @@ | 72 | @@ -28,7 +28,7 @@ |
@@ -78,10 +79,10 @@ index 71cbdf8ce..170957e73 100644 | |||
78 | #include <netinet/tcp.h> /* Defines TCP_NODELAY, needed for 2.6 */ | 79 | #include <netinet/tcp.h> /* Defines TCP_NODELAY, needed for 2.6 */ |
79 | #include <netinet/in.h> | 80 | #include <netinet/in.h> |
80 | diff --git a/jdk/src/solaris/native/java/net/bsd_close.c b/jdk/src/solaris/native/java/net/bsd_close.c | 81 | diff --git a/jdk/src/solaris/native/java/net/bsd_close.c b/jdk/src/solaris/native/java/net/bsd_close.c |
81 | index af57cef30..64d040887 100644 | 82 | index 89a20707..511ab845 100644 |
82 | --- a/jdk/src/solaris/native/java/net/bsd_close.c | 83 | --- a/jdk/src/solaris/native/java/net/bsd_close.c |
83 | +++ b/jdk/src/solaris/native/java/net/bsd_close.c | 84 | +++ b/jdk/src/solaris/native/java/net/bsd_close.c |
84 | @@ -36,7 +36,7 @@ | 85 | @@ -38,7 +38,7 @@ |
85 | #include <sys/uio.h> | 86 | #include <sys/uio.h> |
86 | #include <unistd.h> | 87 | #include <unistd.h> |
87 | #include <errno.h> | 88 | #include <errno.h> |
@@ -91,10 +92,10 @@ index af57cef30..64d040887 100644 | |||
91 | /* | 92 | /* |
92 | * Stack allocated by thread when doing blocking operation | 93 | * Stack allocated by thread when doing blocking operation |
93 | diff --git a/jdk/src/solaris/native/java/net/linux_close.c b/jdk/src/solaris/native/java/net/linux_close.c | 94 | diff --git a/jdk/src/solaris/native/java/net/linux_close.c b/jdk/src/solaris/native/java/net/linux_close.c |
94 | index 98e1ce098..85fba135f 100644 | 95 | index eacc2afd..159ca132 100644 |
95 | --- a/jdk/src/solaris/native/java/net/linux_close.c | 96 | --- a/jdk/src/solaris/native/java/net/linux_close.c |
96 | +++ b/jdk/src/solaris/native/java/net/linux_close.c | 97 | +++ b/jdk/src/solaris/native/java/net/linux_close.c |
97 | @@ -34,7 +34,7 @@ | 98 | @@ -36,7 +36,7 @@ |
98 | #include <sys/uio.h> | 99 | #include <sys/uio.h> |
99 | #include <unistd.h> | 100 | #include <unistd.h> |
100 | #include <errno.h> | 101 | #include <errno.h> |
@@ -104,7 +105,7 @@ index 98e1ce098..85fba135f 100644 | |||
104 | /* | 105 | /* |
105 | * Stack allocated by thread when doing blocking operation | 106 | * Stack allocated by thread when doing blocking operation |
106 | diff --git a/jdk/src/solaris/native/java/net/net_util_md.h b/jdk/src/solaris/native/java/net/net_util_md.h | 107 | diff --git a/jdk/src/solaris/native/java/net/net_util_md.h b/jdk/src/solaris/native/java/net/net_util_md.h |
107 | index a48446de9..8915b68aa 100644 | 108 | index a48446de..8915b68a 100644 |
108 | --- a/jdk/src/solaris/native/java/net/net_util_md.h | 109 | --- a/jdk/src/solaris/native/java/net/net_util_md.h |
109 | +++ b/jdk/src/solaris/native/java/net/net_util_md.h | 110 | +++ b/jdk/src/solaris/native/java/net/net_util_md.h |
110 | @@ -33,7 +33,7 @@ | 111 | @@ -33,7 +33,7 @@ |
@@ -117,7 +118,7 @@ index a48446de9..8915b68aa 100644 | |||
117 | 118 | ||
118 | 119 | ||
119 | diff --git a/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c b/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c | 120 | diff --git a/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c b/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c |
120 | index 6860a167b..20849dabc 100644 | 121 | index 6860a167..20849dab 100644 |
121 | --- a/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c | 122 | --- a/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c |
122 | +++ b/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c | 123 | +++ b/jdk/src/solaris/native/sun/nio/ch/DevPollArrayWrapper.c |
123 | @@ -28,7 +28,7 @@ | 124 | @@ -28,7 +28,7 @@ |
@@ -130,7 +131,7 @@ index 6860a167b..20849dabc 100644 | |||
130 | #include <sys/time.h> | 131 | #include <sys/time.h> |
131 | 132 | ||
132 | diff --git a/jdk/src/solaris/native/sun/nio/ch/Net.c b/jdk/src/solaris/native/sun/nio/ch/Net.c | 133 | diff --git a/jdk/src/solaris/native/sun/nio/ch/Net.c b/jdk/src/solaris/native/sun/nio/ch/Net.c |
133 | index 73560ad6c..a3720055c 100644 | 134 | index 73560ad6..a3720055 100644 |
134 | --- a/jdk/src/solaris/native/sun/nio/ch/Net.c | 135 | --- a/jdk/src/solaris/native/sun/nio/ch/Net.c |
135 | +++ b/jdk/src/solaris/native/sun/nio/ch/Net.c | 136 | +++ b/jdk/src/solaris/native/sun/nio/ch/Net.c |
136 | @@ -23,7 +23,7 @@ | 137 | @@ -23,7 +23,7 @@ |
@@ -143,7 +144,7 @@ index 73560ad6c..a3720055c 100644 | |||
143 | #include <sys/socket.h> | 144 | #include <sys/socket.h> |
144 | #include <string.h> | 145 | #include <string.h> |
145 | diff --git a/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c b/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c | 146 | diff --git a/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c b/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c |
146 | index 375aaa485..7606e9ba8 100644 | 147 | index 375aaa48..7606e9ba 100644 |
147 | --- a/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c | 148 | --- a/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c |
148 | +++ b/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c | 149 | +++ b/jdk/src/solaris/native/sun/nio/fs/LinuxWatchService.c |
149 | @@ -32,7 +32,7 @@ | 150 | @@ -32,7 +32,7 @@ |
@@ -156,7 +157,7 @@ index 375aaa485..7606e9ba8 100644 | |||
156 | 157 | ||
157 | #include "sun_nio_fs_LinuxWatchService.h" | 158 | #include "sun_nio_fs_LinuxWatchService.h" |
158 | diff --git a/jdk/src/solaris/transport/socket/socket_md.c b/jdk/src/solaris/transport/socket/socket_md.c | 159 | diff --git a/jdk/src/solaris/transport/socket/socket_md.c b/jdk/src/solaris/transport/socket/socket_md.c |
159 | index 33e062e08..819fcabdb 100644 | 160 | index 33e062e0..819fcabd 100644 |
160 | --- a/jdk/src/solaris/transport/socket/socket_md.c | 161 | --- a/jdk/src/solaris/transport/socket/socket_md.c |
161 | +++ b/jdk/src/solaris/transport/socket/socket_md.c | 162 | +++ b/jdk/src/solaris/transport/socket/socket_md.c |
162 | @@ -37,7 +37,7 @@ | 163 | @@ -37,7 +37,7 @@ |
@@ -168,6 +169,3 @@ index 33e062e08..819fcabdb 100644 | |||
168 | #endif | 169 | #endif |
169 | 170 | ||
170 | #include "socket_md.h" | 171 | #include "socket_md.h" |
171 | -- | ||
172 | 2.24.1 | ||
173 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2005-jdk-use-correct-include-for-signal.patch b/recipes-core/openjdk/patches-openjdk-8/2005-jdk-use-correct-include-for-signal.patch index 32bde99..b38dcb3 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2005-jdk-use-correct-include-for-signal.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2005-jdk-use-correct-include-for-signal.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 606c807be8e01a4cc99a02b50717d9bce141e8a2 Mon Sep 17 00:00:00 2001 | 1 | From ddcec385593175ee01b9f000457a34b3d7ab5ab4 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Tue, 27 Feb 2018 09:28:06 +0000 | 3 | Date: Tue, 27 Feb 2018 09:28:06 +0000 |
4 | Subject: [PATCH 2005/2008] jdk: use correct include for signal | 4 | Subject: [PATCH] jdk: use correct include for signal |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -26,15 +26,16 @@ the following command: | |||
26 | Upstream-Status: Pending | 26 | Upstream-Status: Pending |
27 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 27 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
28 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 28 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
29 | |||
29 | --- | 30 | --- |
30 | src/aix/native/sun/nio/ch/AixNativeThread.c | 2 +- | 31 | jdk/src/aix/native/sun/nio/ch/AixNativeThread.c | 2 +- |
31 | src/macosx/javavm/export/jvm_md.h | 2 +- | 32 | jdk/src/macosx/javavm/export/jvm_md.h | 2 +- |
32 | src/solaris/javavm/export/jvm_md.h | 2 +- | 33 | jdk/src/solaris/javavm/export/jvm_md.h | 2 +- |
33 | src/solaris/native/sun/nio/ch/NativeThread.c | 2 +- | 34 | jdk/src/solaris/native/sun/nio/ch/NativeThread.c | 2 +- |
34 | 4 files changed, 4 insertions(+), 4 deletions(-) | 35 | 4 files changed, 4 insertions(+), 4 deletions(-) |
35 | 36 | ||
36 | diff --git a/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c b/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c | 37 | diff --git a/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c b/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c |
37 | index c0d585796..c4abb7ae5 100644 | 38 | index c0d58579..c4abb7ae 100644 |
38 | --- a/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c | 39 | --- a/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c |
39 | +++ b/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c | 40 | +++ b/jdk/src/aix/native/sun/nio/ch/AixNativeThread.c |
40 | @@ -32,7 +32,7 @@ | 41 | @@ -32,7 +32,7 @@ |
@@ -47,7 +48,7 @@ index c0d585796..c4abb7ae5 100644 | |||
47 | /* Also defined in src/aix/native/java/net/aix_close.c */ | 48 | /* Also defined in src/aix/native/java/net/aix_close.c */ |
48 | #define INTERRUPT_SIGNAL (SIGRTMAX - 1) | 49 | #define INTERRUPT_SIGNAL (SIGRTMAX - 1) |
49 | diff --git a/jdk/src/macosx/javavm/export/jvm_md.h b/jdk/src/macosx/javavm/export/jvm_md.h | 50 | diff --git a/jdk/src/macosx/javavm/export/jvm_md.h b/jdk/src/macosx/javavm/export/jvm_md.h |
50 | index 012bb1bab..0b5757683 100644 | 51 | index 012bb1ba..0b575768 100644 |
51 | --- a/jdk/src/macosx/javavm/export/jvm_md.h | 52 | --- a/jdk/src/macosx/javavm/export/jvm_md.h |
52 | +++ b/jdk/src/macosx/javavm/export/jvm_md.h | 53 | +++ b/jdk/src/macosx/javavm/export/jvm_md.h |
53 | @@ -60,7 +60,7 @@ | 54 | @@ -60,7 +60,7 @@ |
@@ -60,7 +61,7 @@ index 012bb1bab..0b5757683 100644 | |||
60 | /* O Flags */ | 61 | /* O Flags */ |
61 | 62 | ||
62 | diff --git a/jdk/src/solaris/javavm/export/jvm_md.h b/jdk/src/solaris/javavm/export/jvm_md.h | 63 | diff --git a/jdk/src/solaris/javavm/export/jvm_md.h b/jdk/src/solaris/javavm/export/jvm_md.h |
63 | index 5c681914b..62415ee25 100644 | 64 | index 5c681914..62415ee2 100644 |
64 | --- a/jdk/src/solaris/javavm/export/jvm_md.h | 65 | --- a/jdk/src/solaris/javavm/export/jvm_md.h |
65 | +++ b/jdk/src/solaris/javavm/export/jvm_md.h | 66 | +++ b/jdk/src/solaris/javavm/export/jvm_md.h |
66 | @@ -65,7 +65,7 @@ | 67 | @@ -65,7 +65,7 @@ |
@@ -73,7 +74,7 @@ index 5c681914b..62415ee25 100644 | |||
73 | /* O Flags */ | 74 | /* O Flags */ |
74 | 75 | ||
75 | diff --git a/jdk/src/solaris/native/sun/nio/ch/NativeThread.c b/jdk/src/solaris/native/sun/nio/ch/NativeThread.c | 76 | diff --git a/jdk/src/solaris/native/sun/nio/ch/NativeThread.c b/jdk/src/solaris/native/sun/nio/ch/NativeThread.c |
76 | index 5e2a78b7a..204f0441a 100644 | 77 | index 5e2a78b7..204f0441 100644 |
77 | --- a/jdk/src/solaris/native/sun/nio/ch/NativeThread.c | 78 | --- a/jdk/src/solaris/native/sun/nio/ch/NativeThread.c |
78 | +++ b/jdk/src/solaris/native/sun/nio/ch/NativeThread.c | 79 | +++ b/jdk/src/solaris/native/sun/nio/ch/NativeThread.c |
79 | @@ -34,7 +34,7 @@ | 80 | @@ -34,7 +34,7 @@ |
@@ -85,6 +86,3 @@ index 5e2a78b7a..204f0441a 100644 | |||
85 | /* Also defined in net/linux_close.c */ | 86 | /* Also defined in net/linux_close.c */ |
86 | #define INTERRUPT_SIGNAL (__SIGRTMAX - 2) | 87 | #define INTERRUPT_SIGNAL (__SIGRTMAX - 2) |
87 | #elif __solaris__ | 88 | #elif __solaris__ |
88 | -- | ||
89 | 2.24.1 | ||
90 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2006-jdk-disable-backtrace-musl-build-fix.patch b/recipes-core/openjdk/patches-openjdk-8/2006-jdk-disable-backtrace-musl-build-fix.patch index dd5e051..4773f20 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2006-jdk-disable-backtrace-musl-build-fix.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2006-jdk-disable-backtrace-musl-build-fix.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 86de5eb9d031e7f8d241725d5eeaa7030cf2ce2b Mon Sep 17 00:00:00 2001 | 1 | From f27d54f62c5a5667c04b78ea1434a5db36358261 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | 2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> |
3 | Date: Fri, 2 Mar 2018 13:58:07 +0000 | 3 | Date: Fri, 2 Mar 2018 13:58:07 +0000 |
4 | Subject: [PATCH 2006/2008] jdk: disable backtrace() (musl build fix) | 4 | Subject: [PATCH] jdk: disable backtrace() (musl build fix) |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -15,12 +15,13 @@ to fix the build on musl. | |||
15 | Upstream-Status: Pending | 15 | Upstream-Status: Pending |
16 | Signed-off-by: André Draszik <andre.draszik@jci.com> | 16 | Signed-off-by: André Draszik <andre.draszik@jci.com> |
17 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 17 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
18 | |||
18 | --- | 19 | --- |
19 | src/solaris/native/sun/xawt/XToolkit.c | 4 ++-- | 20 | jdk/src/solaris/native/sun/xawt/XToolkit.c | 4 ++-- |
20 | 1 file changed, 2 insertions(+), 2 deletions(-) | 21 | 1 file changed, 2 insertions(+), 2 deletions(-) |
21 | 22 | ||
22 | diff --git a/jdk/src/solaris/native/sun/xawt/XToolkit.c b/jdk/src/solaris/native/sun/xawt/XToolkit.c | 23 | diff --git a/jdk/src/solaris/native/sun/xawt/XToolkit.c b/jdk/src/solaris/native/sun/xawt/XToolkit.c |
23 | index 2425bf43a..1c8ebdb42 100644 | 24 | index 95d2baff..41dfa992 100644 |
24 | --- a/jdk/src/solaris/native/sun/xawt/XToolkit.c | 25 | --- a/jdk/src/solaris/native/sun/xawt/XToolkit.c |
25 | +++ b/jdk/src/solaris/native/sun/xawt/XToolkit.c | 26 | +++ b/jdk/src/solaris/native/sun/xawt/XToolkit.c |
26 | @@ -27,7 +27,7 @@ | 27 | @@ -27,7 +27,7 @@ |
@@ -32,7 +33,7 @@ index 2425bf43a..1c8ebdb42 100644 | |||
32 | #include <execinfo.h> | 33 | #include <execinfo.h> |
33 | #endif | 34 | #endif |
34 | 35 | ||
35 | @@ -803,7 +803,7 @@ JNIEXPORT jstring JNICALL Java_sun_awt_X11_XToolkit_getEnv | 36 | @@ -796,7 +796,7 @@ JNIEXPORT jstring JNICALL Java_sun_awt_X11_XToolkit_getEnv |
36 | return ret; | 37 | return ret; |
37 | } | 38 | } |
38 | 39 | ||
@@ -41,6 +42,3 @@ index 2425bf43a..1c8ebdb42 100644 | |||
41 | void print_stack(void) | 42 | void print_stack(void) |
42 | { | 43 | { |
43 | void *array[10]; | 44 | void *array[10]; |
44 | -- | ||
45 | 2.24.1 | ||
46 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2007-jdk-no-genx11-in-headless.patch b/recipes-core/openjdk/patches-openjdk-8/2007-jdk-no-genx11-in-headless.patch index 8f3d134..d205ae5 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2007-jdk-no-genx11-in-headless.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2007-jdk-no-genx11-in-headless.patch | |||
@@ -1,15 +1,16 @@ | |||
1 | From 0708dd8e56c1f28c2215561ba3035c8c538acef6 Mon Sep 17 00:00:00 2001 | 1 | From 095da0fd8597f0ed8d95d226300e8d6661ac2383 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 13:25:12 +0100 | 3 | Date: Thu, 2 Jan 2020 13:25:12 +0100 |
4 | Subject: [PATCH 2007/2008] jdk: no genx11 in headless | 4 | Subject: [PATCH] jdk: no genx11 in headless |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | |||
7 | --- | 8 | --- |
8 | make/GenerateSources.gmk | 8 +++++--- | 9 | jdk/make/GenerateSources.gmk | 8 +++++--- |
9 | 1 file changed, 5 insertions(+), 3 deletions(-) | 10 | 1 file changed, 5 insertions(+), 3 deletions(-) |
10 | 11 | ||
11 | diff --git a/jdk/make/GenerateSources.gmk b/jdk/make/GenerateSources.gmk | 12 | diff --git a/jdk/make/GenerateSources.gmk b/jdk/make/GenerateSources.gmk |
12 | index ba443f7da..2170150ac 100644 | 13 | index ba443f7d..2170150a 100644 |
13 | --- a/jdk/make/GenerateSources.gmk | 14 | --- a/jdk/make/GenerateSources.gmk |
14 | +++ b/jdk/make/GenerateSources.gmk | 15 | +++ b/jdk/make/GenerateSources.gmk |
15 | @@ -73,9 +73,11 @@ ifneq ($(OPENJDK_TARGET_OS), windows) | 16 | @@ -73,9 +73,11 @@ ifneq ($(OPENJDK_TARGET_OS), windows) |
@@ -27,6 +28,3 @@ index ba443f7da..2170150ac 100644 | |||
27 | endif | 28 | endif |
28 | endif | 29 | endif |
29 | 30 | ||
30 | -- | ||
31 | 2.24.1 | ||
32 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2008-jdk-no-unused-deps.patch b/recipes-core/openjdk/patches-openjdk-8/2008-jdk-no-unused-deps.patch index e725bf9..115914a 100644 --- a/recipes-core/openjdk/patches-openjdk-8/2008-jdk-no-unused-deps.patch +++ b/recipes-core/openjdk/patches-openjdk-8/2008-jdk-no-unused-deps.patch | |||
@@ -1,18 +1,19 @@ | |||
1 | From 0bb17a5083efcfd02e96ef034e51a190ea678f15 Mon Sep 17 00:00:00 2001 | 1 | From bc6450aaa4b7652ee034423f1d04cb439152eaf6 Mon Sep 17 00:00:00 2001 |
2 | From: Jens Rehsack <rehsack@gmail.com> | 2 | From: Jens Rehsack <rehsack@gmail.com> |
3 | Date: Thu, 2 Jan 2020 13:26:42 +0100 | 3 | Date: Thu, 2 Jan 2020 13:26:42 +0100 |
4 | Subject: [PATCH 2008/2008] jdk: no unused deps | 4 | Subject: [PATCH] jdk: no unused deps |
5 | 5 | ||
6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | 6 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> |
7 | |||
7 | --- | 8 | --- |
8 | make/CompileNativeLibraries.gmk | 2 ++ | 9 | jdk/make/CompileNativeLibraries.gmk | 2 ++ |
9 | make/lib/Awt2dLibraries.gmk | 30 +++++++++++++++++------ | 10 | jdk/make/lib/Awt2dLibraries.gmk | 30 ++++++++++++++----- |
10 | src/solaris/native/sun/awt/jawt.c | 2 +- | 11 | jdk/src/solaris/native/sun/awt/jawt.c | 2 +- |
11 | src/solaris/native/sun/awt/utility/rect.h | 2 +- | 12 | jdk/src/solaris/native/sun/awt/utility/rect.h | 2 +- |
12 | 4 files changed, 26 insertions(+), 10 deletions(-) | 13 | 4 files changed, 26 insertions(+), 10 deletions(-) |
13 | 14 | ||
14 | diff --git a/jdk/make/CompileNativeLibraries.gmk b/jdk/make/CompileNativeLibraries.gmk | 15 | diff --git a/jdk/make/CompileNativeLibraries.gmk b/jdk/make/CompileNativeLibraries.gmk |
15 | index c23b958b0..2984302f0 100644 | 16 | index c23b958b..2984302f 100644 |
16 | --- a/jdk/make/CompileNativeLibraries.gmk | 17 | --- a/jdk/make/CompileNativeLibraries.gmk |
17 | +++ b/jdk/make/CompileNativeLibraries.gmk | 18 | +++ b/jdk/make/CompileNativeLibraries.gmk |
18 | @@ -85,7 +85,9 @@ include lib/ServiceabilityLibraries.gmk | 19 | @@ -85,7 +85,9 @@ include lib/ServiceabilityLibraries.gmk |
@@ -26,7 +27,7 @@ index c23b958b0..2984302f0 100644 | |||
26 | # Include the corresponding custom file, if present. | 27 | # Include the corresponding custom file, if present. |
27 | -include $(CUSTOM_MAKE_DIR)/CompileNativeLibraries.gmk | 28 | -include $(CUSTOM_MAKE_DIR)/CompileNativeLibraries.gmk |
28 | diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk | 29 | diff --git a/jdk/make/lib/Awt2dLibraries.gmk b/jdk/make/lib/Awt2dLibraries.gmk |
29 | index cd8b94cd8..8d9c37246 100644 | 30 | index 7f42e09c..10232b61 100644 |
30 | --- a/jdk/make/lib/Awt2dLibraries.gmk | 31 | --- a/jdk/make/lib/Awt2dLibraries.gmk |
31 | +++ b/jdk/make/lib/Awt2dLibraries.gmk | 32 | +++ b/jdk/make/lib/Awt2dLibraries.gmk |
32 | @@ -232,6 +232,10 @@ ifeq ($(OPENJDK_TARGET_OS), aix) | 33 | @@ -232,6 +232,10 @@ ifeq ($(OPENJDK_TARGET_OS), aix) |
@@ -40,7 +41,7 @@ index cd8b94cd8..8d9c37246 100644 | |||
40 | LIBAWT_CFLAGS += -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES \ | 41 | LIBAWT_CFLAGS += -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES \ |
41 | $(X_CFLAGS) \ | 42 | $(X_CFLAGS) \ |
42 | $(foreach dir, $(LIBAWT_DIRS), -I$(dir)) | 43 | $(foreach dir, $(LIBAWT_DIRS), -I$(dir)) |
43 | @@ -801,17 +805,28 @@ ifeq ($(BUILD_HEADLESS), true) | 44 | @@ -808,17 +812,28 @@ ifeq ($(BUILD_HEADLESS), true) |
44 | -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/jdga \ | 45 | -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/jdga \ |
45 | $(foreach dir, $(LIBAWT_HEADLESS_DIRS), -I$(dir)) | 46 | $(foreach dir, $(LIBAWT_HEADLESS_DIRS), -I$(dir)) |
46 | 47 | ||
@@ -74,7 +75,7 @@ index cd8b94cd8..8d9c37246 100644 | |||
74 | OGLBlitLoops.c \ | 75 | OGLBlitLoops.c \ |
75 | OGLBufImgOps.c \ | 76 | OGLBufImgOps.c \ |
76 | OGLContext.c \ | 77 | OGLContext.c \ |
77 | @@ -824,10 +839,9 @@ ifeq ($(BUILD_HEADLESS), true) | 78 | @@ -831,10 +846,9 @@ ifeq ($(BUILD_HEADLESS), true) |
78 | OGLSurfaceData.c \ | 79 | OGLSurfaceData.c \ |
79 | OGLTextRenderer.c \ | 80 | OGLTextRenderer.c \ |
80 | OGLVertexCache.c \ | 81 | OGLVertexCache.c \ |
@@ -88,7 +89,7 @@ index cd8b94cd8..8d9c37246 100644 | |||
88 | LIBAWT_HEADLESS_REORDER := | 89 | LIBAWT_HEADLESS_REORDER := |
89 | ifeq ($(OPENJDK_TARGET_OS), solaris) | 90 | ifeq ($(OPENJDK_TARGET_OS), solaris) |
90 | diff --git a/jdk/src/solaris/native/sun/awt/jawt.c b/jdk/src/solaris/native/sun/awt/jawt.c | 91 | diff --git a/jdk/src/solaris/native/sun/awt/jawt.c b/jdk/src/solaris/native/sun/awt/jawt.c |
91 | index 64284bc6e..b3584c7ef 100644 | 92 | index 64284bc6..b3584c7e 100644 |
92 | --- a/jdk/src/solaris/native/sun/awt/jawt.c | 93 | --- a/jdk/src/solaris/native/sun/awt/jawt.c |
93 | +++ b/jdk/src/solaris/native/sun/awt/jawt.c | 94 | +++ b/jdk/src/solaris/native/sun/awt/jawt.c |
94 | @@ -33,7 +33,7 @@ | 95 | @@ -33,7 +33,7 @@ |
@@ -101,7 +102,7 @@ index 64284bc6e..b3584c7ef 100644 | |||
101 | return JNI_FALSE; | 102 | return JNI_FALSE; |
102 | #else | 103 | #else |
103 | diff --git a/jdk/src/solaris/native/sun/awt/utility/rect.h b/jdk/src/solaris/native/sun/awt/utility/rect.h | 104 | diff --git a/jdk/src/solaris/native/sun/awt/utility/rect.h b/jdk/src/solaris/native/sun/awt/utility/rect.h |
104 | index ceea38f43..8d85782ba 100644 | 105 | index ceea38f4..8d85782b 100644 |
105 | --- a/jdk/src/solaris/native/sun/awt/utility/rect.h | 106 | --- a/jdk/src/solaris/native/sun/awt/utility/rect.h |
106 | +++ b/jdk/src/solaris/native/sun/awt/utility/rect.h | 107 | +++ b/jdk/src/solaris/native/sun/awt/utility/rect.h |
107 | @@ -28,7 +28,7 @@ | 108 | @@ -28,7 +28,7 @@ |
@@ -113,6 +114,3 @@ index ceea38f43..8d85782ba 100644 | |||
113 | #include <X11/Xlib.h> | 114 | #include <X11/Xlib.h> |
114 | typedef XRectangle RECT_T; | 115 | typedef XRectangle RECT_T; |
115 | #else | 116 | #else |
116 | -- | ||
117 | 2.24.1 | ||
118 | |||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2009-jdk-make-use-gcc-instead-of-ld-for-genSocketOptionRe.patch b/recipes-core/openjdk/patches-openjdk-8/2009-jdk-make-use-gcc-instead-of-ld-for-genSocketOptionRe.patch new file mode 100644 index 0000000..3c7dc24 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/2009-jdk-make-use-gcc-instead-of-ld-for-genSocketOptionRe.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 83d3b8427c8996f3a0359d218f174b46fe9120c8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <richard.leitner@skidata.com> | ||
3 | Date: Thu, 20 Aug 2020 11:24:40 +0200 | ||
4 | Subject: [PATCH] jdk: make: use gcc instead of ld for genSocketOptionRegistry | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
9 | |||
10 | --- | ||
11 | jdk/make/gensrc/GensrcMisc.gmk | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/jdk/make/gensrc/GensrcMisc.gmk b/jdk/make/gensrc/GensrcMisc.gmk | ||
15 | index 9db5c9d6..84a3c27e 100644 | ||
16 | --- a/jdk/make/gensrc/GensrcMisc.gmk | ||
17 | +++ b/jdk/make/gensrc/GensrcMisc.gmk | ||
18 | @@ -76,7 +76,7 @@ $(eval $(call SetupNativeCompilation,BUILD_GENSRC_SOR_EXE, \ | ||
19 | INCLUDE_FILES := $(GENSRC_SOR_SRC_FILE), \ | ||
20 | LANG := C, \ | ||
21 | CC := $(BUILD_CC), \ | ||
22 | - LDEXE := $(BUILD_LD), \ | ||
23 | + LDEXE := $(BUILD_CC), \ | ||
24 | OBJECT_DIR := $(GENSRC_SOR_BIN), \ | ||
25 | OUTPUT_DIR := $(GENSRC_SOR_BIN), \ | ||
26 | PROGRAM := genSocketOptionRegistry)) | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch b/recipes-core/openjdk/patches-openjdk-8/2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch deleted file mode 100644 index e35d0eb..0000000 --- a/recipes-core/openjdk/patches-openjdk-8/2009-jdk-use-gcc-instead-of-ld-to-link-genSocketOptionRegistry.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: jdk8u-jdk8u242-ga/jdk/make/gensrc/GensrcMisc.gmk | ||
2 | =================================================================== | ||
3 | --- jdk8u-jdk8u242-ga.orig/jdk/make/gensrc/GensrcMisc.gmk | ||
4 | +++ jdk8u-jdk8u242-ga/jdk/make/gensrc/GensrcMisc.gmk | ||
5 | @@ -76,7 +76,7 @@ $(eval $(call SetupNativeCompilation,BUI | ||
6 | INCLUDE_FILES := $(GENSRC_SOR_SRC_FILE), \ | ||
7 | LANG := C, \ | ||
8 | CC := $(BUILD_CC), \ | ||
9 | - LDEXE := $(BUILD_LD), \ | ||
10 | + LDEXE := $(BUILD_CC), \ | ||
11 | OBJECT_DIR := $(GENSRC_SOR_BIN), \ | ||
12 | OUTPUT_DIR := $(GENSRC_SOR_BIN), \ | ||
13 | PROGRAM := genSocketOptionRegistry)) | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/aarch32-hotspot-fix-shark-build-pt2.patch b/recipes-core/openjdk/patches-openjdk-8/aarch32-hotspot-fix-shark-build-pt2.patch deleted file mode 100644 index b09745c..0000000 --- a/recipes-core/openjdk/patches-openjdk-8/aarch32-hotspot-fix-shark-build-pt2.patch +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | --- hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
2 | +++ hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
3 | @@ -26,6 +26,8 @@ | ||
4 | #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
5 | #define CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
6 | |||
7 | +#include "utilities/globalDefinitions.hpp" | ||
8 | +#include "utilities/exceptions.hpp" | ||
9 | #include "interpreter/cppInterpreter.hpp" | ||
10 | |||
11 | class ZeroEntry { | ||
diff --git a/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch b/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch deleted file mode 100644 index b09745c..0000000 --- a/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | --- hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
2 | +++ hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
3 | @@ -26,6 +26,8 @@ | ||
4 | #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
5 | #define CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
6 | |||
7 | +#include "utilities/globalDefinitions.hpp" | ||
8 | +#include "utilities/exceptions.hpp" | ||
9 | #include "interpreter/cppInterpreter.hpp" | ||
10 | |||
11 | class ZeroEntry { | ||
diff --git a/recipes-core/rhino/rhino_1.7r4.bb b/recipes-core/rhino/rhino_1.7r4.bb index 4242005..d645e8a 100644 --- a/recipes-core/rhino/rhino_1.7r4.bb +++ b/recipes-core/rhino/rhino_1.7r4.bb | |||
@@ -2,7 +2,7 @@ SUMMARY = "Lexical analyzer generator for Java" | |||
2 | LICENSE = "MPL-2.0" | 2 | LICENSE = "MPL-2.0" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458" |
4 | 4 | ||
5 | DEPENDS_class-native += "classpath-native" | 5 | DEPENDS:class-native += "classpath-native" |
6 | 6 | ||
7 | BBCLASSEXTEND = "native" | 7 | BBCLASSEXTEND = "native" |
8 | 8 | ||
@@ -10,19 +10,20 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}" | |||
10 | 10 | ||
11 | inherit java-library | 11 | inherit java-library |
12 | 12 | ||
13 | SRCREV = "82ffb8f3e09e77e3b1f5782c35b621e7ca742b58" | ||
13 | SRC_URI = "\ | 14 | SRC_URI = "\ |
14 | https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip \ | 15 | git://github.com/mozilla/rhino;protocol=https;branch=master \ |
15 | file://rhino \ | 16 | file://rhino \ |
16 | file://rhino-jsc \ | 17 | file://rhino-jsc \ |
17 | " | 18 | " |
18 | 19 | ||
19 | S = "${WORKDIR}/rhino1_7R4" | 20 | S = "${WORKDIR}/git" |
20 | 21 | ||
21 | PACKAGES = "${JPN} rhino" | 22 | PACKAGES = "${JPN} rhino" |
22 | 23 | ||
23 | FILES_${PN} = "${bindir}/rhino ${bindir}/rhino-jsc" | 24 | FILES:${PN} = "${bindir}/rhino ${bindir}/rhino-jsc" |
24 | RDEPENDS_${PN} = "java2-runtime ${JPN}" | 25 | RDEPENDS:${PN} = "java2-runtime ${JPN}" |
25 | RDEPENDS_${PN}_class-native = "" | 26 | RDEPENDS:${PN}:class-native = "" |
26 | 27 | ||
27 | do_compile() { | 28 | do_compile() { |
28 | mkdir -p build | 29 | mkdir -p build |
@@ -39,12 +40,9 @@ do_compile() { | |||
39 | fastjar cfm ${JARFILENAME} ${S}/src/manifest -C build . | 40 | fastjar cfm ${JARFILENAME} ${S}/src/manifest -C build . |
40 | } | 41 | } |
41 | 42 | ||
42 | do_install_append() { | 43 | do_install:append() { |
43 | install -d ${D}${bindir} | 44 | install -d ${D}${bindir} |
44 | 45 | ||
45 | install -m 0755 ${WORKDIR}/rhino ${D}${bindir} | 46 | install -m 0755 ${WORKDIR}/rhino ${D}${bindir} |
46 | install -m 0755 ${WORKDIR}/rhino-jsc ${D}${bindir} | 47 | install -m 0755 ${WORKDIR}/rhino-jsc ${D}${bindir} |
47 | } | 48 | } |
48 | |||
49 | SRC_URI[md5sum] = "ad67a3dff135e3a70f0c3528a2d6edf2" | ||
50 | SRC_URI[sha256sum] = "9eb08f85bbe7c8e0b9eaffb1cf4984b31fb679f3c8a682acc3bb8ac20626c61e" | ||
diff --git a/recipes-core/servlet-api/jsp2.0_5.5.26.bb b/recipes-core/servlet-api/jsp2.0_5.5.26.bb index 286d6d5..ac8617c 100644 --- a/recipes-core/servlet-api/jsp2.0_5.5.26.bb +++ b/recipes-core/servlet-api/jsp2.0_5.5.26.bb | |||
@@ -10,7 +10,7 @@ S = "${WORKDIR}/apache-tomcat-${PV}-src/servletapi/jsr152" | |||
10 | inherit java-library | 10 | inherit java-library |
11 | 11 | ||
12 | DEPENDS = "servlet2.4" | 12 | DEPENDS = "servlet2.4" |
13 | RDEPENDS_${PN} = "libservlet2.4-java" | 13 | RDEPENDS:${PN} = "libservlet2.4-java" |
14 | 14 | ||
15 | # Value of implementation.revision in build.xml | 15 | # Value of implementation.revision in build.xml |
16 | IMPL_REVISION = "public_draft" | 16 | IMPL_REVISION = "public_draft" |
diff --git a/recipes-core/xalan-j/xalan-j_2.7.1.bb b/recipes-core/xalan-j/xalan-j_2.7.1.bb index ad985cb..5e72a34 100644 --- a/recipes-core/xalan-j/xalan-j_2.7.1.bb +++ b/recipes-core/xalan-j/xalan-j_2.7.1.bb | |||
@@ -13,7 +13,7 @@ DEPENDS = "xerces-j regexp jlex cup jaxp1.3 bcel" | |||
13 | 13 | ||
14 | SRC_URI = "\ | 14 | SRC_URI = "\ |
15 | http://archive.apache.org/dist/xml/${BPN}/${BPN}_2_7_1-src.tar.gz;name=archive \ | 15 | http://archive.apache.org/dist/xml/${BPN}/${BPN}_2_7_1-src.tar.gz;name=archive \ |
16 | http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-2.4.0.tar.gz;name=bsf \ | 16 | https://dlcdn.apache.org/commons/bsf/source/bsf-src-2.4.0.tar.gz;name=bsf \ |
17 | " | 17 | " |
18 | 18 | ||
19 | S = "${WORKDIR}/${BPN}_2_7_1" | 19 | S = "${WORKDIR}/${BPN}_2_7_1" |
@@ -47,14 +47,14 @@ do_compile() { | |||
47 | fastjar cf serializer-${PV}.jar -C build-serializer . | 47 | fastjar cf serializer-${PV}.jar -C build-serializer . |
48 | } | 48 | } |
49 | 49 | ||
50 | do_install_append() { | 50 | do_install:append() { |
51 | oe_jarinstall serializer-${PV}.jar serializer.jar | 51 | oe_jarinstall serializer-${PV}.jar serializer.jar |
52 | } | 52 | } |
53 | 53 | ||
54 | 54 | ||
55 | PACKAGES = "libxalan2-serializer-java ${JPN}" | 55 | PACKAGES = "libxalan2-serializer-java ${JPN}" |
56 | 56 | ||
57 | FILES_libxalan2-serializer-java = "${datadir_java}/serializer*.jar" | 57 | FILES:libxalan2-serializer-java = "${datadir_java}/serializer*.jar" |
58 | 58 | ||
59 | SRC_URI[archive.md5sum] = "fc805051f0fe505c7a4b1b5c8db9b9e3" | 59 | SRC_URI[archive.md5sum] = "fc805051f0fe505c7a4b1b5c8db9b9e3" |
60 | SRC_URI[archive.sha256sum] = "fa52aa629bb882335d45d67401d270c3f21b5131aaea005ac0d4590f2ce8b043" | 60 | SRC_URI[archive.sha256sum] = "fa52aa629bb882335d45d67401d270c3f21b5131aaea005ac0d4590f2ce8b043" |
diff --git a/recipes-core/xerces-j/xerces-j_2.11.0.bb b/recipes-core/xerces-j/xerces-j_2.11.0.bb index 98ef32f..45d3c43 100644 --- a/recipes-core/xerces-j/xerces-j_2.11.0.bb +++ b/recipes-core/xerces-j/xerces-j_2.11.0.bb | |||
@@ -12,7 +12,13 @@ LIC_FILES_CHKSUM = " \ | |||
12 | file://LICENSE.serializer.txt;md5=d229da563da18fe5d58cd95a6467d584 \ | 12 | file://LICENSE.serializer.txt;md5=d229da563da18fe5d58cd95a6467d584 \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRC_URI = "http://archive.apache.org/dist/xerces/j/Xerces-J-src.${PV}.tar.gz" | 15 | SRC_URI = "http://archive.apache.org/dist/xerces/j/source/Xerces-J-src.${PV}.tar.gz" |
16 | |||
17 | # CVE only applies to some Oracle Java SE and Red Hat Enterprise Linux versions. | ||
18 | # Already fixed with updates and closed. | ||
19 | # https://access.redhat.com/security/cve/CVE-2018-2799 | ||
20 | # https://bugzilla.redhat.com/show_bug.cgi?id=1567542 | ||
21 | CVE_STATUS[CVE-2018-2799] = "not-applicable-platform: Issue only applies on some Oracle Java SE and Red Hat Enterprise Linux versions" | ||
16 | 22 | ||
17 | S = "${WORKDIR}/xerces-2_11_0" | 23 | S = "${WORKDIR}/xerces-2_11_0" |
18 | 24 | ||
@@ -22,8 +28,8 @@ JPN = "libxerces2-java" | |||
22 | 28 | ||
23 | DEPENDS = "fastjar-native jaxp1.3 xml-commons-resolver1.1" | 29 | DEPENDS = "fastjar-native jaxp1.3 xml-commons-resolver1.1" |
24 | 30 | ||
25 | RDEPENDS_${PN} = "libjaxp1.3-java libxml-commons-resolver1.1-java" | 31 | RDEPENDS:${PN} = "libjaxp1.3-java libxml-commons-resolver1.1-java" |
26 | RDEPENDS_${PN}_class-native = "" | 32 | RDEPENDS:${PN}:class-native = "" |
27 | 33 | ||
28 | do_unpackpost[dirs] = "${B}" | 34 | do_unpackpost[dirs] = "${B}" |
29 | do_unpackpost() { | 35 | do_unpackpost() { |
diff --git a/recipes-core/xml-commons/dom4j_1.6.1.bb b/recipes-core/xml-commons/dom4j_1.6.1.bb index ee46dfd..0ba3f0e 100644 --- a/recipes-core/xml-commons/dom4j_1.6.1.bb +++ b/recipes-core/xml-commons/dom4j_1.6.1.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "A simple and flexible library for working with XML, XPath and XSLT" | 1 | SUMMARY = "A simple and flexible library for working with XML, XPath and XSLT" |
2 | DESCRIPTION = "dom4j is a simple and flexible Java library for working with XML, XPath and XSLT" | 2 | DESCRIPTION = "dom4j is a simple and flexible Java library for working with XML, XPath and XSLT" |
3 | LICENSE = "BSD" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f752b663f2a821c3b32482fc6aece3c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f752b663f2a821c3b32482fc6aece3c" |
5 | 5 | ||
6 | HOMEPAGE = "http://dom4j.github.io" | 6 | HOMEPAGE = "http://dom4j.github.io" |
diff --git a/recipes-core/xml-commons/jaxen_1.1.6.bb b/recipes-core/xml-commons/jaxen_1.1.6.bb index 2741f2c..13f5fdc 100644 --- a/recipes-core/xml-commons/jaxen_1.1.6.bb +++ b/recipes-core/xml-commons/jaxen_1.1.6.bb | |||
@@ -4,7 +4,7 @@ DOM, XOM, dom4j, and JDOM. Is it also possible to write adapters that \ | |||
4 | treat non-XML trees such as compiled Java byte code or Java beans as XML, \ | 4 | treat non-XML trees such as compiled Java byte code or Java beans as XML, \ |
5 | thus enabling you to query these trees with XPath too.\ | 5 | thus enabling you to query these trees with XPath too.\ |
6 | " | 6 | " |
7 | LICENSE = "BSD" | 7 | LICENSE = "BSD-3-Clause" |
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a2e66c2e2482aa23c11342f1469fa3b6" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a2e66c2e2482aa23c11342f1469fa3b6" |
9 | 9 | ||
10 | HOMEPAGE = "http://jaxen.org/" | 10 | HOMEPAGE = "http://jaxen.org/" |
@@ -15,7 +15,7 @@ DEPENDS = "fastjar-native virtual/javac-native xerces-j xom" | |||
15 | SRCREV = "7d7755ac8b19daa2ff6f319f432b864cc72d89b6" | 15 | SRCREV = "7d7755ac8b19daa2ff6f319f432b864cc72d89b6" |
16 | 16 | ||
17 | SRC_URI = "\ | 17 | SRC_URI = "\ |
18 | git://github.com/codehaus/${BPN} \ | 18 | git://github.com/codehaus/${BPN};protocol=https;branch=master \ |
19 | http://www.jdom.org/dist/binary/archive/jdom-1.1.tar.gz;name=jdom \ | 19 | http://www.jdom.org/dist/binary/archive/jdom-1.1.tar.gz;name=jdom \ |
20 | " | 20 | " |
21 | SRC_URI[jdom.md5sum] = "22745cbaaddb12884ed8ee09083d8fe2" | 21 | SRC_URI[jdom.md5sum] = "22745cbaaddb12884ed8ee09083d8fe2" |
diff --git a/recipes-core/xml-commons/jaxme_0.5.2.bb b/recipes-core/xml-commons/jaxme_0.5.2.bb deleted file mode 100644 index b563cc6..0000000 --- a/recipes-core/xml-commons/jaxme_0.5.2.bb +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | SUMMARY = "Implementation of the JAXB API" | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | ||
4 | AUTHOR = "Apache Software Foundation" | ||
5 | HOMEPAGE = "http://ws.apache.org/jaxme" | ||
6 | |||
7 | SRC_URI = "\ | ||
8 | http://apache.org/dist/ws/jaxme/source/ws-${P}-src.tar.gz;name=archive \ | ||
9 | http://ftp.hosting-studio.de/pub/linux/apache/ant/source/apache-ant-1.7.1-src.tar.bz2;name=ant \ | ||
10 | " | ||
11 | |||
12 | # do_compile: | ||
13 | # 2. ERROR in src/jaxme/org/apache/ws/jaxme/generator/XJCTask.java (at line 30) | ||
14 | # import org.apache.ws.jaxme.generator.sg.SGFactoryChain; | ||
15 | # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
16 | # The import org.apache.ws.jaxme.generator.sg.SGFactoryChain cannot be resolved | ||
17 | # ---------- | ||
18 | # 3. ERROR in src/jaxme/org/apache/ws/jaxme/generator/XJCTask.java (at line 1055) | ||
19 | # if (!SGFactoryChain.class.isAssignableFrom(c)) { | ||
20 | # ^^^^^^^^^^^^^^ | ||
21 | # SGFactoryChain cannot be resolved to a type | ||
22 | # ---------- | ||
23 | # ... and many more | ||
24 | PNBLACKLIST[jaxme] ?= "BROKEN: do_compile fails" | ||
25 | |||
26 | S = "${WORKDIR}/ws-${P}" | ||
27 | |||
28 | inherit java-library | ||
29 | |||
30 | DEPENDS = "fastjar-native log4j1.2 xerces-j xalan-j commons-codec hsqldb antlr antlr-native" | ||
31 | |||
32 | do_compile() { | ||
33 | oe_makeclasspath cp -s log4j-1.2 xercesImpl xalan2 commons-codec hsqldb antlr | ||
34 | cp=build-api:build-jaxme:build-js:build-xs:build-pm:$cp | ||
35 | |||
36 | jaxme_build src/api build-api $cp jaxmeapi-${PV}.jar | ||
37 | |||
38 | runantlr -o src/js/org/apache/ws/jaxme/js/jparser src/js/org/apache/ws/jaxme/js/jparser/java15.g | ||
39 | jaxme_build src/js build-js $cp jaxmejs-${PV}.jar | ||
40 | |||
41 | jaxme_build src/xs build-xs $cp jaxmexs-${PV}.jar | ||
42 | |||
43 | jaxme_build src/jaxme build-jaxme $cp ${JARFILENAME} | ||
44 | |||
45 | # jaxme_build src/pm build-pm $cp jaxmepm-${PV}.jar | ||
46 | } | ||
47 | |||
48 | do_install_append() { | ||
49 | oe_jarinstall jaxmeapi-${PV}.jar jaxmeapi.jar | ||
50 | oe_jarinstall jaxmejs-${PV}.jar jaxmejs.jar | ||
51 | oe_jarinstall jaxmexs-${PV}.jar jaxmexs.jar | ||
52 | oe_jarinstall jaxmepm-${PV}.jar jaxmepm.jar | ||
53 | } | ||
54 | |||
55 | # Compile helper | ||
56 | # 1 - source dir | ||
57 | # 2 - dest dir | ||
58 | # 3 - classpath | ||
59 | # 4 - jar file name | ||
60 | jaxme_build() { | ||
61 | mkdir -p $2 | ||
62 | |||
63 | ant_sourcepath=${WORKDIR}/apache-ant-1.7.1/src/main | ||
64 | |||
65 | echo "javac -sourcepath $ant_sourcepath:$1 -cp $3 -d $2 \`find $1 -name "*.java"\`" | ||
66 | javac -sourcepath $ant_sourcepath:$1 -cp $3 -d $2 `find $1 -name "*.java" -and -not \( -wholename "*junit*" -or -wholename "*examples*" \) ` | ||
67 | (cd $1 && find . -name "*.properties" -exec cp {} ${S}/$2/{} \;) | ||
68 | |||
69 | rm -rf $2/org/apache/tools | ||
70 | |||
71 | fastjar -C $2 -c -f $4 . | ||
72 | } | ||
73 | |||
74 | SRC_URI[archive.md5sum] = "084ebfe4a816058f8ff6bd731fa70df4" | ||
75 | SRC_URI[archive.sha256sum] = "0415d721259acf95c564fb84606bb17f6227c1cc444e89b78d1cd9903c1c88dc" | ||
76 | SRC_URI[ant.md5sum] = "0d68db4a1ada5c91bcbf53cefd0c2fd7" | ||
77 | SRC_URI[ant.sha256sum] = "4dc49a7260ef90a6dc6611b7e96b9f047d507589736d4a2ad6efbe3edfc6fba6" | ||
diff --git a/recipes-core/xml-commons/jdom_1.1.3.bb b/recipes-core/xml-commons/jdom_1.1.3.bb index df9125d..acd2ae1 100644 --- a/recipes-core/xml-commons/jdom_1.1.3.bb +++ b/recipes-core/xml-commons/jdom_1.1.3.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | SUMMARY = "Parses, manipulates, and outputs XML using standard Java constructs" | 1 | SUMMARY = "Parses, manipulates, and outputs XML using standard Java constructs" |
2 | DESCRIPTION = "JDOM aims to provide a complete, Java-based solution for \ | 2 | DESCRIPTION = "JDOM aims to provide a complete, Java-based solution for \ |
3 | accessing, manipulating, and outputting XML data from Java code." | 3 | accessing, manipulating, and outputting XML data from Java code." |
4 | LICENSE = "BSD" | 4 | LICENSE = "BSD-4-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=897c700e4c122d8f4ef8f6d253a6f744" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=897c700e4c122d8f4ef8f6d253a6f744" |
6 | 6 | ||
7 | HOMEPAGE = "http://jdom.org/" | 7 | HOMEPAGE = "http://jdom.org/" |
diff --git a/recipes-core/xml-commons/xom_1.2.10.bb b/recipes-core/xml-commons/xom_1.2.10.bb index 8b43c39..9b09e4d 100644 --- a/recipes-core/xml-commons/xom_1.2.10.bb +++ b/recipes-core/xml-commons/xom_1.2.10.bb | |||
@@ -14,7 +14,7 @@ PV_jaxen = "1.1.6" | |||
14 | 14 | ||
15 | SRC_URI = "\ | 15 | SRC_URI = "\ |
16 | http://www.cafeconleche.org/XOM/${P}-src.tar.gz;name=archive \ | 16 | http://www.cafeconleche.org/XOM/${P}-src.tar.gz;name=archive \ |
17 | git://github.com/codehaus/${SRCNAME_jaxen};name=jaxen \ | 17 | git://github.com/codehaus/${SRCNAME_jaxen};name=jaxen;branch=master;protocol=https \ |
18 | file://04_remove_sun_import.patch \ | 18 | file://04_remove_sun_import.patch \ |
19 | " | 19 | " |
20 | SRC_URI[archive.md5sum] = "9f3a2ae827a9f6826fe76e4b7b0c22b3" | 20 | SRC_URI[archive.md5sum] = "9f3a2ae827a9f6826fe76e4b7b0c22b3" |
@@ -36,7 +36,7 @@ do_move_jaxen() { | |||
36 | 36 | ||
37 | } | 37 | } |
38 | 38 | ||
39 | addtask move_jaxen after do_removebinaries before do_patch | 39 | addtask move_jaxen after do_deletebinaries before do_patch |
40 | 40 | ||
41 | do_compile() { | 41 | do_compile() { |
42 | mkdir -p build | 42 | mkdir -p build |
diff --git a/recipes-core/xml-commons/xpp2_2.1.10.bb b/recipes-core/xml-commons/xpp2_2.1.10.bb index 6fc81a2..a76cc4e 100644 --- a/recipes-core/xml-commons/xpp2_2.1.10.bb +++ b/recipes-core/xml-commons/xpp2_2.1.10.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Streaming pull XML parser for java" | 1 | SUMMARY = "Streaming pull XML parser for java" |
2 | LICENSE = "BSD-like" | 2 | LICENSE = "BSD-4-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d40c660a53e36a103a35c170d38d0ef6" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d40c660a53e36a103a35c170d38d0ef6" |
4 | HOMEPAGE = "http://www.extreme.indiana.edu/xgws/xsoap/xpp/" | 4 | HOMEPAGE = "http://www.extreme.indiana.edu/xgws/xsoap/xpp/" |
5 | 5 | ||
diff --git a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb index 1f02cb7..09ef1f1 100644 --- a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb +++ b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | SUMMARY = "Streaming pull XML parser for Java (3rd edition)" | 1 | SUMMARY = "Streaming pull XML parser for Java (3rd edition)" |
2 | LICENSE = "BSD-like" | 2 | LICENSE = "BSD-4-Clause" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=35235e1ea47db355da0627f8d93e3a6c" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=35235e1ea47db355da0627f8d93e3a6c" |
4 | 4 | ||
5 | HOMEPAGE = "http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1" | 5 | HOMEPAGE = "http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1" |
@@ -39,11 +39,11 @@ do_compile() { | |||
39 | fastjar -C build-xpath -c -f xpp3-xpath-${PV}.jar . | 39 | fastjar -C build-xpath -c -f xpp3-xpath-${PV}.jar . |
40 | } | 40 | } |
41 | 41 | ||
42 | do_install_append() { | 42 | do_install:append() { |
43 | oe_jarinstall xpp3-xpath-${PV}.jar xpp3-xpath.jar | 43 | oe_jarinstall xpp3-xpath-${PV}.jar xpp3-xpath.jar |
44 | } | 44 | } |
45 | 45 | ||
46 | FILES_libxpp3-xpath-java = "${datadir}/java/xpp3-xpath*" | 46 | FILES:libxpp3-xpath-java = "${datadir}/java/xpp3-xpath*" |
47 | 47 | ||
48 | 48 | ||
49 | SRC_URI[md5sum] = "e1b6aeaad1cd06e64568aae1a507d5c6" | 49 | SRC_URI[md5sum] = "e1b6aeaad1cd06e64568aae1a507d5c6" |
diff --git a/recipes-extended/dbus/dbus-java_2.7.bb b/recipes-extended/dbus/dbus-java_2.7.bb index dfd2ff1..0e5ae92 100644 --- a/recipes-extended/dbus/dbus-java_2.7.bb +++ b/recipes-extended/dbus/dbus-java_2.7.bb | |||
@@ -1,15 +1,15 @@ | |||
1 | SUMMARY = "A pure Java D-Bus Implementation" | 1 | SUMMARY = "A pure Java D-Bus Implementation" |
2 | SUMMARY_${PN}-viewer = "${SUMMARY} (DBusViewer Binary)" | 2 | SUMMARY:${PN}-viewer = "${SUMMARY} (DBusViewer Binary)" |
3 | SUMMARY_${PN}-bin = "${SUMMARY} (Binaries)" | 3 | SUMMARY:${PN}-bin = "${SUMMARY} (Binaries)" |
4 | AUTHOR = "Matthew Johnson <dbus@matthew.ath.cx>" | 4 | AUTHOR = "Matthew Johnson <dbus@matthew.ath.cx>" |
5 | HOMEPAGE = "http://dbus.freedesktop.org/doc/dbus-java" | 5 | HOMEPAGE = "http://dbus.freedesktop.org/doc/dbus-java" |
6 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | LICENSE = "LGPL-2.1 & AFL-2.1" | 7 | LICENSE = "LGPL-2.1 & AFL-2.1" |
8 | 8 | ||
9 | DEPENDS = "libmatthew gettext-native fastjar-native" | 9 | DEPENDS = "libmatthew gettext-native fastjar-native" |
10 | RDEPENDS_${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin libmatthew-debug-java ${JPN}" | 10 | RDEPENDS:${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin libmatthew-debug-java ${JPN}" |
11 | RDEPENDS_${PN}-bin = "java2-runtime libunixsocket-java libmatthew-debug-java ${JPN}" | 11 | RDEPENDS:${PN}-bin = "java2-runtime libunixsocket-java libmatthew-debug-java ${JPN}" |
12 | RSUGGESTS_${JPN} = "libunixsocket-java" | 12 | RSUGGESTS:${JPN} = "libunixsocket-java" |
13 | 13 | ||
14 | PR = "r1" | 14 | PR = "r1" |
15 | 15 | ||
@@ -25,6 +25,8 @@ S = "${WORKDIR}/dbus-java-${PV}" | |||
25 | 25 | ||
26 | inherit java-library | 26 | inherit java-library |
27 | 27 | ||
28 | include recipes-core/classpath/classpath-features-check.inc | ||
29 | |||
28 | # jamvm-native unfortunately contains non-generificed java/lang/reflect classes | 30 | # jamvm-native unfortunately contains non-generificed java/lang/reflect classes |
29 | # which are accessed in this package. Work around this by setting the bootclasspath | 31 | # which are accessed in this package. Work around this by setting the bootclasspath |
30 | # explicitly. | 32 | # explicitly. |
@@ -73,5 +75,5 @@ do_install () { | |||
73 | # and dbus-bin*.jar | 75 | # and dbus-bin*.jar |
74 | PACKAGES = "${PN}-viewer ${PN}-bin ${JPN}" | 76 | PACKAGES = "${PN}-viewer ${PN}-bin ${JPN}" |
75 | 77 | ||
76 | FILES_${PN}-viewer = "${datadir}/java/dbus-java-viewer*.jar ${bindir}/DBusViewer" | 78 | FILES:${PN}-viewer = "${datadir}/java/dbus-java-viewer*.jar ${bindir}/DBusViewer" |
77 | FILES_${PN}-bin = "${datadir}/java/dbus-java-bin*.jar ${bindir}" | 79 | FILES:${PN}-bin = "${datadir}/java/dbus-java-bin*.jar ${bindir}" |
diff --git a/recipes-extended/rxtx/rxtx_2.2.0.bb b/recipes-extended/rxtx/rxtx_2.2.0.bb index 87d84a8..27935bc 100644 --- a/recipes-extended/rxtx/rxtx_2.2.0.bb +++ b/recipes-extended/rxtx/rxtx_2.2.0.bb | |||
@@ -27,7 +27,7 @@ SRC_URI[sha256sum] = "3c30373e760f444def3650c76c5a00ae12fb1d860ec008750d084f4880 | |||
27 | 27 | ||
28 | S = "${WORKDIR}/rxtx-2.2pre2" | 28 | S = "${WORKDIR}/rxtx-2.2pre2" |
29 | 29 | ||
30 | INSANE_SKIP_${JPN} += "dev-so" | 30 | INSANE_SKIP:${JPN} += "dev-so" |
31 | 31 | ||
32 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | 32 | PACKAGE_ARCH = "${TUNE_PKGARCH}" |
33 | inherit autotools-brokensep java-library remove-libtool | 33 | inherit autotools-brokensep java-library remove-libtool |
@@ -36,7 +36,7 @@ JARFILENAME = "RXTXcomm.jar" | |||
36 | EXTRA_OEMAKE += "RXTX_PATH=${D}${libdir_jni} \ | 36 | EXTRA_OEMAKE += "RXTX_PATH=${D}${libdir_jni} \ |
37 | JHOME=${D}${datadir_java}/ext" | 37 | JHOME=${D}${datadir_java}/ext" |
38 | 38 | ||
39 | do_configure_prepend() { | 39 | do_configure:prepend() { |
40 | # Ugly but don't complain to me, but upstream ;-) | 40 | # Ugly but don't complain to me, but upstream ;-) |
41 | sed -e 's,bin/javah,bin/gjavah,g' \ | 41 | sed -e 's,bin/javah,bin/gjavah,g' \ |
42 | -e 's,bin/jar,bin/fastjar,g' \ | 42 | -e 's,bin/jar,bin/fastjar,g' \ |
@@ -47,16 +47,16 @@ do_configure_prepend() { | |||
47 | ${S}/ltmain.sh | 47 | ${S}/ltmain.sh |
48 | } | 48 | } |
49 | 49 | ||
50 | do_install_prepend() { | 50 | do_install:prepend() { |
51 | install -d ${D}${libdir_jni} | 51 | install -d ${D}${libdir_jni} |
52 | install -d ${D}${datadir_java}/ext | 52 | install -d ${D}${datadir_java}/ext |
53 | } | 53 | } |
54 | 54 | ||
55 | PACKAGES_remove = "${PN}" | 55 | PACKAGES:remove = "${PN}" |
56 | 56 | ||
57 | FILES_${JPN} += "${libdir_jni}" | 57 | FILES:${JPN} += "${libdir_jni}" |
58 | RPROVIDES_${JPN} = "${PN}" | 58 | RPROVIDES:${JPN} = "${PN}" |
59 | RCONFLICTS_${JPN} = "${PN}" | 59 | RCONFLICTS:${JPN} = "${PN}" |
60 | RREPLACES_${JPN} = "${PN}" | 60 | RREPLACES:${JPN} = "${PN}" |
61 | 61 | ||
62 | FILES_${PN}-dbg += "${libdir_jni}/.debug" | 62 | FILES:${PN}-dbg += "${libdir_jni}/.debug" |
diff --git a/recipes-images/images/openjdk-7-test-image.bb b/recipes-images/images/openjdk-7-test-image.bb index 1e6d734..4251da3 100644 --- a/recipes-images/images/openjdk-7-test-image.bb +++ b/recipes-images/images/openjdk-7-test-image.bb | |||
@@ -1,3 +1,3 @@ | |||
1 | IMAGE_INSTALL_append = " openjdk-7-jdk " | 1 | IMAGE_INSTALL:append = " openjdk-7-jdk " |
2 | 2 | ||
3 | inherit openjdk-test-image | 3 | inherit openjdk-test-image |
diff --git a/recipes-images/images/openjdk-8-test-image.bb b/recipes-images/images/openjdk-8-test-image.bb index d2eb040..3216040 100644 --- a/recipes-images/images/openjdk-8-test-image.bb +++ b/recipes-images/images/openjdk-8-test-image.bb | |||
@@ -1,3 +1,3 @@ | |||
1 | IMAGE_INSTALL_append = " openjdk-8 " | 1 | IMAGE_INSTALL:append = " openjdk-8 " |
2 | 2 | ||
3 | inherit openjdk-test-image | 3 | inherit openjdk-test-image |
diff --git a/recipes-images/images/openjre-7-test-image.bb b/recipes-images/images/openjre-7-test-image.bb index 2616255..ced320b 100644 --- a/recipes-images/images/openjre-7-test-image.bb +++ b/recipes-images/images/openjre-7-test-image.bb | |||
@@ -1,3 +1,3 @@ | |||
1 | IMAGE_INSTALL_append = " openjdk-7-jre " | 1 | IMAGE_INSTALL:append = " openjdk-7-jre " |
2 | 2 | ||
3 | inherit openjre-test-image | 3 | inherit openjre-test-image |
diff --git a/recipes-images/images/openjre-8-test-image.bb b/recipes-images/images/openjre-8-test-image.bb index e722ec3..f95098b 100644 --- a/recipes-images/images/openjre-8-test-image.bb +++ b/recipes-images/images/openjre-8-test-image.bb | |||
@@ -1,3 +1,3 @@ | |||
1 | IMAGE_INSTALL_append = " openjre-8 " | 1 | IMAGE_INSTALL:append = " openjre-8 " |
2 | 2 | ||
3 | inherit openjre-test-image | 3 | inherit openjre-test-image |