ocf-resource-agents: fix build against `autoconf-2.72`

Without the change build fails in` master` as https://hydra.nixos.org/build/247269225:

checking whether gcc supports "-Wunsigned-char"... checking how to run the C preprocessor... gcc -E
configure: error: in '/build/source':
configure: error: C preprocessor "gcc -E" fails sanity check
See 'config.log' for more details

+11
+11
pkgs/os-specific/linux/ocf-resource-agents/default.nix
··· 5 5 , runCommand 6 6 , lndir 7 7 , fetchFromGitHub 8 + , fetchpatch 8 9 , autoreconfHook 9 10 , pkg-config 10 11 , python3 ··· 31 32 rev = "v${version}"; 32 33 sha256 = "0haryi3yrszdfpqnkfnppxj1yiy6ipah6m80snvayc7v0ss0wnir"; 33 34 }; 35 + 36 + patches = [ 37 + # autoconf-2.72 upstream fix: 38 + # https://github.com/ClusterLabs/resource-agents/pull/1908 39 + (fetchpatch { 40 + name = "autoconf-2.72.patch"; 41 + url = "https://github.com/ClusterLabs/resource-agents/commit/bac658711a61fd704e792e2a0a45a2137213c442.patch"; 42 + hash = "sha256-Xq7W8pMRmFZmkqb2430bY5zdmVTrUrob6GwGiN6/bKY="; 43 + }) 44 + ]; 34 45 35 46 nativeBuildInputs = [ 36 47 autoreconfHook