git: bb4c95680a9e - 2023Q4 - java/openjdk21: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Nov 2023 12:17:06 UTC
The branch 2023Q4 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb4c95680a9e950761323790c4da3e7142232bae commit bb4c95680a9e950761323790c4da3e7142232bae Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-10-23 16:59:58 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2023-11-16 12:14:09 +0000 java/openjdk21: fix build on powerpc64* /wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/runtime/javaThread.hpp:1117:10: fatal error: 'javaThread_bsd_ppc.hpp' file not found ^~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/utilities/macros.hpp:618:40: note: expanded from macro 'OS_CPU_HEADER' ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/utilities/macros.hpp:35:17: note: expanded from macro 'XSTR' ^~~~~~ /wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/utilities/macros.hpp:32:17: note: expanded from macro 'STR' ^~ <scratch space>:74:1: note: expanded from here "javaThread_bsd_ppc.hpp" ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. (cherry picked from commit e7710c85bfc9949b7bd235822b49c7ad82816820) --- java/openjdk21/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/openjdk21/Makefile b/java/openjdk21/Makefile index 7412543ec05a..39d5df96ccd6 100644 --- a/java/openjdk21/Makefile +++ b/java/openjdk21/Makefile @@ -175,6 +175,9 @@ ICONV_LIBS= ${ICONV_LIB} post-patch: @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp + @${MV} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.hpp \ + ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/javaThread_bsd_ppc.hpp + @${FIND} ${WRKSRC} -name '*.orig' -delete @${CHMOD} 755 ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \