Files
ports/java/openjdk26/files/patch-make_autoconf_libraries.m4
T
Harald Eilertsen dd0268f9f5 java/openjdk26: Add port
Includes relevant fixes for FreeBSD from mainline development, but
otherwise identical to the upstream release.

Release notes for the upstream release is here:
https://www.oracle.com/java/technologies/javase/26-relnote-issues.html

FreeBSD related fixes on top of the upstream relese:
- Serviceability Agent: fix stack traces in threads.
- Serviceability Agent: simplify implementation of procadd_read_data to
  read memory from process being traced.
- Serviceability Agent: symbol lookup would occationally fail for native
  symbols in shared objects.

Reviewed by:	fuz (mentor), jrm
Approved by:	fuz (mentor), jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D55938
2026-03-23 09:15:55 +01:00

16 lines
517 B
Plaintext

--- make/autoconf/libraries.m4.orig 2025-10-24 12:39:13 UTC
+++ make/autoconf/libraries.m4
@@ -212,9 +212,9 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS],
ICONV_LDFLAGS="-L/usr/local/lib"
ICONV_LIBS=-liconv
elif test "x$OPENJDK_TARGET_OS_ENV" = "xbsd.freebsd"; then
- ICONV_CFLAGS=-DLIBICONV_PLUG
- ICONV_LDFLAGS=
- ICONV_LIBS=
+ ICONV_CFLAGS=%%ICONV_CFLAGS%%
+ ICONV_LDFLAGS=%%ICONV_LDFLAGS%%
+ ICONV_LIBS=%%ICONV_LIBS%%
else
ICONV_CFLAGS=
ICONV_LDFLAGS=