Merge pull request #287053 from trofi/ocf-resource-agents-fix-autoconf-2.72-build

ocf-resource-agents: fix build against `autoconf-2.72`
This commit is contained in:
Mario Rodas 2024-02-14 20:09:56 -05:00 committed by GitHub
commit afb9a45824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
, runCommand
, lndir
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
, python3
@ -32,6 +33,16 @@ let
sha256 = "0haryi3yrszdfpqnkfnppxj1yiy6ipah6m80snvayc7v0ss0wnir";
};
patches = [
# autoconf-2.72 upstream fix:
# https://github.com/ClusterLabs/resource-agents/pull/1908
(fetchpatch {
name = "autoconf-2.72.patch";
url = "https://github.com/ClusterLabs/resource-agents/commit/bac658711a61fd704e792e2a0a45a2137213c442.patch";
hash = "sha256-Xq7W8pMRmFZmkqb2430bY5zdmVTrUrob6GwGiN6/bKY=";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config