commit: 6ef7c118e6bd643563b84815136aaaf9d2dabc95 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Oct 23 15:54:47 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Oct 23 15:55:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef7c118
sys-cluster/resource-agents: fix build w/ autoconf-2.72 Closes: https://bugs.gentoo.org/920743 Signed-off-by: Sam James <sam <AT> gentoo.org> .../resource-agents/files/4.6.1-autoconf-2.72.patch | 20 ++++++++++++++++++++ .../resource-agents/resource-agents-4.12.0.ebuild | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/sys-cluster/resource-agents/files/4.6.1-autoconf-2.72.patch b/sys-cluster/resource-agents/files/4.6.1-autoconf-2.72.patch new file mode 100644 index 000000000000..0ac63a216ff6 --- /dev/null +++ b/sys-cluster/resource-agents/files/4.6.1-autoconf-2.72.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/920743 +https://github.com/ClusterLabs/resource-agents/pull/1908 + +From a97a00c37d8a15ee3a8d11ac00281626f55790b3 Mon Sep 17 00:00:00 2001 +From: Oyvind Albrigtsen <[email protected]> +Date: Mon, 8 Jan 2024 15:07:19 +0100 +Subject: [PATCH] configure: fix "C preprocessor "gcc -E" fails sanity check" + error caused by autoconf 2.72 + +--- a/configure.ac ++++ b/configure.ac +@@ -81,6 +81,7 @@ fi + AC_PROG_CC dnl Can force other with environment variable "CC". + AM_PROG_CC_C_O + AC_PROG_CC_STDC ++AC_PROG_CPP + AC_PROG_AWK + AC_PROG_LN_S + AC_PROG_INSTALL + diff --git a/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild b/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild index 186c37a1b914..c7e69e2cf201 100644 --- a/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild +++ b/sys-cluster/resource-agents/resource-agents-4.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -32,6 +32,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/4.6.1-configure.patch" + "${FILESDIR}/4.6.1-autoconf-2.72.patch" ) src_prepare() {
