ports/java/openjdk20/files/patch-make_autoconf_help.m4
Ronald Klop 5769468b4b
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@
2025-05-29 18:51:09 +02:00

12 lines
410 B
Plaintext

--- 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