Skip to contentSkip to conversation

icedtea7-native: Fix build error after autoconf upgraded to 2.73 according to https://github.com/wocaishiliuke/openjdk7.

PATCH New [email protected] 1 participant 1 message Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 icedtea7-native: Fix build error after autoconf upgraded to 2.73 according to https://github.com/wocaishiliuke/openjdk7.

From: Lei Maohui <[email protected]>

openjdk-boot/hotspot/src/share/vm/code/dependencies.hpp:169:72: error: enumerator value for ‘all_types’ is not an integer constant
| 169 | all_types = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE),

| ../../../../../src/share/native/com/sun/java/util/jar/pack/jni.cpp:224:12: error: cannot convert ‘bool’ to ‘jobject’ {aka ‘_jobject*’} in return
|   224 |     return false;
|       |            ^~~~~

.....

---
 recipes-core/icedtea/icedtea7-native.inc      |   3 +
 .../0001-For-autoconf-2.73.patch              | 942 ++++++++++++++++++
 2 files changed, 945 insertions(+)
 create mode 100644 recipes-core/icedtea/openjdk-7-03b147/0001-For-autoconf-2.73.patch
recipes-core/icedtea/icedtea7-native.inc +3 -0
index 0f317bb..1ea2ffa 100644
@@ -58,6 +58,7 @@ SRC_URI = " \
   file://timezoneszip.patch \
   file://sigsegv.patch;apply=no \
   file://vframeArray_Fix_sigsegv.patch;apply=no \
+  file://0001-For-autoconf-2.73.patch;apply=no \
   "
 
 S = "${WORKDIR}/${ICEDTEA}"
@@ -158,6 +159,7 @@ do_configure:append() {
 	patch -p1 < ${WORKDIR}/jaxws_fix_NullPointerException.patch
 	patch -p1 < ${WORKDIR}/sigsegv.patch
 	patch -p1 < ${WORKDIR}/vframeArray_Fix_sigsegv.patch
+	patch -p1 < ${WORKDIR}/0001-For-autoconf-2.73.patch
 }
 
 EXTRA_OEMAKE = ' \
@@ -169,6 +171,7 @@ EXTRA_OEMAKE = ' \
 		${OEMAKE_BUILD_HEADLESS_ONLY} \
 		DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \
                 UNZIP_BIN="${STAGING_BINDIR_NATIVE}/unzip" \
+                LDD=: \
                '
 
 do_compile() {
recipes-core/icedtea/openjdk-7-03b147/0001-For-autoconf-2.73.patch new file +942 -0

942 lines not on this page · raw message

Signature · 1 line
2.25.1