git: f1d77a965b29 - main - java/openjdk17: Fix use of printf (causes build failures for poudriere)

From: Greg Lewis <glewis_at_FreeBSD.org>
Date: Sun, 16 Apr 2023 22:48:50 UTC
The branch main has been updated by glewis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f1d77a965b29a10bc80003223bbed8539e35146d

commit f1d77a965b29a10bc80003223bbed8539e35146d
Author:     Greg Lewis <glewis@FreeBSD.org>
AuthorDate: 2023-04-16 22:48:03 +0000
Commit:     Greg Lewis <glewis@FreeBSD.org>
CommitDate: 2023-04-16 22:48:44 +0000

    java/openjdk17: Fix use of printf (causes build failures for poudriere)
    
    PR:             267690
    Obtained from:  Michael Osipov <michael.osipov@siemens.com>
---
 java/openjdk17/files/patch-make_autoconf_help.m4 | 11 +++++++++++
 1 file changed, 11 insertions(+)

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