Skip to content

Commit

Permalink
Merge pull request NixOS#242446 from trofi/givaro-gcc-13-fix
Browse files Browse the repository at this point in the history
givaro: backport gcc-13 build fix
  • Loading branch information
trofi authored Jul 12, 2023
2 parents 7cba6c2 + de5233c commit 3da3074
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion pkgs/development/libraries/givaro/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, autoreconfHook, gmpxx }:
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, automake
, autoconf
, libtool
, autoreconfHook
, gmpxx
}:
stdenv.mkDerivation rec {
pname = "givaro";
version = "4.2.0";
Expand All @@ -8,6 +17,15 @@ stdenv.mkDerivation rec {
rev = "v${version}";
sha256 = "sha256-KR0WJc0CSvaBnPRott4hQJhWNBb/Wi6MIhcTExtVobQ=";
};
patches = [
# Pull upstream fix for gcc-13:
# https://github.com/linbox-team/givaro/pull/218
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/linbox-team/givaro/commit/c7744bb133496cd7ac04688f345646d505e1bf52.patch";
hash = "sha256-aAA5o8Va10v0Pqgcpx7qM0TAZiNQgXoR6N9xecj7tDA=";
})
];

enableParallelBuilding = true;

Expand Down

0 comments on commit 3da3074

Please sign in to comment.