linbox: fix clang build

Can be safely reverted after updating to 1.7.1 or beyond
This commit is contained in:
George Huebner 2024-03-17 21:23:37 -05:00 committed by Mauricio Collares
parent c4e0bff9d7
commit 8c860b090a
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, givaro
, pkg-config
@ -23,6 +24,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-mW84a98KPLqcHMjX3LIYTmVe0ngUdz6RJLpoDaAqKU8=";
};
patches = [
(fetchpatch {
url = "https://github.com/linbox-team/linbox/commit/4be26e9ef0eaf36a9909e5008940e8bf7dc625b6.patch";
sha256 = "PX0Tik7blXOV2vHUq92xMxaADkNoNGiax4qrjQyGK6U=";
})
];
nativeBuildInputs = [
autoreconfHook
pkg-config