diff options
author | Ronald Klop <ronald@FreeBSD.org> | 2025-05-28 16:46:11 +0200 |
---|---|---|
committer | Ronald Klop <ronald@FreeBSD.org> | 2025-05-29 18:51:09 +0200 |
commit | 5769468b4ba38b5d24dcba7aaa0b0131cc5d10d6 (patch) | |
tree | a85181828c08865ca1e427fc3eef0e685b1bc011 /java/openjdk18/files/patch-make_autoconf_help.m4 | |
parent | lang/python310: pull in upstream commit addressing CVE-2025-4516 (diff) |
java/openjdk18-24: fix printf in configure output
Printf was confused because the argument was used as format string
and contained a %.
The issue is only cosmetical so not bumping port revision.
It is mentioned in the PR that an upstream fix is in openjdk25.
PR: 287053
Approved by: java@
Diffstat (limited to 'java/openjdk18/files/patch-make_autoconf_help.m4')
-rw-r--r-- | java/openjdk18/files/patch-make_autoconf_help.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/java/openjdk18/files/patch-make_autoconf_help.m4 b/java/openjdk18/files/patch-make_autoconf_help.m4 new file mode 100644 index 000000000000..6581b3fef247 --- /dev/null +++ b/java/openjdk18/files/patch-make_autoconf_help.m4 @@ -0,0 +1,11 @@ +--- make/autoconf/help.m4.orig 2025-05-24 21:54:30 UTC ++++ make/autoconf/help.m4 +@@ -269,7 +269,7 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS], + fi + fi + if test "x$CONFIGURE_COMMAND_LINE" != x; then +- printf "using configure arguments '$CONFIGURE_COMMAND_LINE'.\n" ++ printf "using configure arguments '%s'.\n" "$CONFIGURE_COMMAND_LINE" + else + printf "using default settings.\n" + fi |