From f1d77a965b29a10bc80003223bbed8539e35146d Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 16 Apr 2023 15:48:03 -0700 Subject: [PATCH] java/openjdk17: Fix use of printf (causes build failures for poudriere) PR: 267690 Obtained from: Michael Osipov --- java/openjdk17/files/patch-make_autoconf_help.m4 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 java/openjdk17/files/patch-make_autoconf_help.m4 diff --git a/java/openjdk17/files/patch-make_autoconf_help.m4 b/java/openjdk17/files/patch-make_autoconf_help.m4 new file mode 100644 index 000000000000..1952078d7a57 --- /dev/null +++ b/java/openjdk17/files/patch-make_autoconf_help.m4 @@ -0,0 +1,11 @@ +--- make/autoconf/help.m4.orig 2023-01-20 14:03:22 UTC ++++ make/autoconf/help.m4 +@@ -238,7 +238,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