summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/resource-agents/files/4.6.1-autoconf-2.72.patch20
-rw-r--r--sys-cluster/resource-agents/resource-agents-4.12.0.ebuild3
2 files changed, 22 insertions, 1 deletions
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 <oalbrigt@redhat.com>
+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() {