Files
Ronald Klop 366b8812eb java/openjdk8: fix build on aarch64/16
>>> Compiling /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u482-b08.1/hotspot/src/os/bsd/vm/os_perf_bsd.cpp
>>> In file included from /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u482-b08.1/hotspot/src/os/bsd/vm/os_perf_bsd.cpp:67:
>>> In file included from /usr/include/sys/user.h:52:
>>> In file included from /usr/include/vm/pmap.h:88:
>>> In file included from /usr/include/machine/pmap.h:46:
>>> In file included from /usr/include/sys/systm.h:46:
>>> /usr/include/machine/cpufunc.h:35:1: error: static declaration of 'breakpoint' follows non-static declaration
>>>    35 | breakpoint(void)
>>>       | ^
>>> /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u482-b08.1/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:224:17: note: previous declaration is here
>>>   224 | extern "C" void breakpoint();
>>>       |                 ^
>>> 1 error generated.

I don't know why this does not happen on other architectures or freebsd versions.

- changed post-patch to pre-configure, this makes it a lot easier to use "make makepatch".

Approved-by:	silence on java@ https://lists.freebsd.org/archives/freebsd-java/2026-June/003715.html
2026-06-18 16:14:52 +02:00
..