coin-utils: fix build with clang 16

This commit is contained in:
Weijia Wang
2023-11-10 05:11:25 +01:00
parent 3f616fad02
commit aa700b4d7f
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config }:
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
version = "2.11.10";
@@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
hash = "sha256-Rbm45HRbRKQ6Cdup+gvKJ1xkK1HKG3irR5AIjhLer7g=";
};
patches = [
(fetchpatch {
url = "https://github.com/coin-or/CoinUtils/commit/1700ed92c2bc1562aabe65dee3b4885bd5c87fb9.patch";
stripLen = 1;
extraPrefix = "CoinUtils/";
hash = "sha256-8S6XteZvoJlL+5MWiOrW7HXsdcnzpuEFTyzX9qg7OUY=";
})
];
doCheck = true;
meta = with lib; {