Skip to content

Commit

Permalink
gfan: fix clang-19 build
Browse files Browse the repository at this point in the history
remove dead code with invalid member reference
Singular/Singular@d3f7343
  • Loading branch information
paparodeo committed Jan 2, 2025
1 parent 4d3b1bc commit b287c66
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/by-name/gf/gfan/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
patches =
[
./gfan-0.6.2-cddlib-prefix.patch
(fetchpatch {
# removes dead code with invalid member reference in gfanlib
name = "clang-19.patch";
url = "https://github.com/Singular/Singular/commit/d3f73432d73ac0dd041af83cb35301498e9b57d9.patch";
stripLen = 2;
extraPrefix = "src/";
hash = "sha256-jPGMYx/GOFV7Tk3CqaRWeX/UHkzjeL57eZj4r40s8/g=";
})
]
++ lib.optionals (stdenv.cc.isClang) [
(fetchpatch {
Expand Down

0 comments on commit b287c66

Please sign in to comment.