summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-23 16:54:47 +0100
committerSam James <sam@gentoo.org>2024-10-23 16:55:26 +0100
commit6ef7c118e6bd643563b84815136aaaf9d2dabc95 (patch)
tree75364c3a6f7313417e57048fb82ba61c27316f14 /sys-cluster
parentdev-lang/dafny: drop old 4.7.0 (diff)
downloadgentoo-6ef7c118e6bd643563b84815136aaaf9d2dabc95.tar.gz
gentoo-6ef7c118e6bd643563b84815136aaaf9d2dabc95.tar.bz2
gentoo-6ef7c118e6bd643563b84815136aaaf9d2dabc95.zip
sys-cluster/resource-agents: fix build w/ autoconf-2.72
Closes: https://bugs.gentoo.org/920743 Signed-off-by: Sam James <sam@gentoo.org>
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() {