Unverified Commit afb9a458 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

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

ocf-resource-agents: fix build against `autoconf-2.72`
parents f9281101 73201199
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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