From 5769468b4ba38b5d24dcba7aaa0b0131cc5d10d6 Mon Sep 17 00:00:00 2001 From: Ronald Klop Date: Wed, 28 May 2025 16:46:11 +0200 Subject: 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@ --- java/openjdk22/files/patch-make_autoconf_help.m4 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 java/openjdk22/files/patch-make_autoconf_help.m4 (limited to 'java/openjdk22/files/patch-make_autoconf_help.m4') diff --git a/java/openjdk22/files/patch-make_autoconf_help.m4 b/java/openjdk22/files/patch-make_autoconf_help.m4 new file mode 100644 index 000000000000..6581b3fef247 --- /dev/null +++ b/java/openjdk22/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 -- cgit v1.2.3