Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2023 22:48:48 GMT
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 03c130369028 - main - java/openjdk8: Fix use of printf (causes build failures for poudriere)
Message-ID:  <202304162248.33GMmm5Y090795@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by glewis:

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

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

    java/openjdk8: Fix use of printf (causes build failures for poudriere)
    
    PR:             267690
    Obtained from:  Michael Osipov <michael.osipov@siemens.com>
---
 .../files/patch-common_autoconf_generated-configure.sh        | 11 +++++++++++
 java/openjdk8/files/patch-common_autoconf_help.m4             | 11 +++++++++++
 2 files changed, 22 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304162248.33GMmm5Y090795>