diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2023-04-16 15:46:40 -0700 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2023-04-16 15:48:44 -0700 |
commit | 03c1303690281d3051514c43179ebd9d2624b013 (patch) | |
tree | 33c16053b003a14387c599f046e02cf04e5fd975 | |
parent | databases/mongodb-tools: no reason to limit archs (diff) |
java/openjdk8: Fix use of printf (causes build failures for poudriere)
PR: 267690
Obtained from: Michael Osipov <michael.osipov@siemens.com>
-rw-r--r-- | java/openjdk8/files/patch-common_autoconf_generated-configure.sh | 11 | ||||
-rw-r--r-- | java/openjdk8/files/patch-common_autoconf_help.m4 | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-common_autoconf_generated-configure.sh b/java/openjdk8/files/patch-common_autoconf_generated-configure.sh new file mode 100644 index 000000000000..ff1b620587c5 --- /dev/null +++ b/java/openjdk8/files/patch-common_autoconf_generated-configure.sh @@ -0,0 +1,11 @@ +--- common/autoconf/generated-configure.sh.orig 2022-11-10 08:32:52 UTC ++++ common/autoconf/generated-configure.sh +@@ -55202,7 +55202,7 @@ fi + printf "A new configuration has been successfully created in\n" + printf "$OUTPUT_ROOT\n" + 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 diff --git a/java/openjdk8/files/patch-common_autoconf_help.m4 b/java/openjdk8/files/patch-common_autoconf_help.m4 new file mode 100644 index 000000000000..91803c086052 --- /dev/null +++ b/java/openjdk8/files/patch-common_autoconf_help.m4 @@ -0,0 +1,11 @@ +--- common/autoconf/help.m4.orig 2022-11-10 08:32:46 UTC ++++ common/autoconf/help.m4 +@@ -183,7 +183,7 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS], + printf "A new configuration has been successfully created in\n" + printf "$OUTPUT_ROOT\n" + 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 |