vtk_7: add patches to fix build with gcc10/qt5.15
Closes #108424
commitd55425d2a074834ddb8e9ec50605b7fdccc56a69
authorppenguin <hieronymusv@gmail.com>
dateSun 10 Jan 2021, 12:41 (6 years ago)
parentd959f14
pkgs/development/libraries/vtk/7.x.nix+6−1
@@ -5,5 +5,10 @@ import ./generic.nix {
55 patchesToFetch = [{
66 url = "https://gitlab.kitware.com/vtk/vtk/-/commit/706f1b397df09a27ab8981ab9464547028d0c322.diff";
77 sha256 = "1q3pi5h40g05pzpbqp75xlgzvbfvyw8raza51svmi7d8dlslqybx";
8− }];
8+ }
9+ {
10+ url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sci-libs/vtk/files/vtk-8.2.0-gcc-10.patch?id=c4256f68d3589570443075eccbbafacf661f785f";
11+ sha256 = "sha256:0bpwrdfmi15grsg4jy7bzj2z6511a0c160cmw5lsi65aabyh7cl5";
12+ }
13+ ];
914}
pkgs/development/libraries/vtk/8.x.nix+5−2
@@ -7,9 +7,12 @@ import ./generic.nix {
77 sha256 = "0qdahp4f4gcaznr28j06d5fyxiis774ys0p335aazf7h51zb8rzy";
88 }
99 {
10− meta.description = "Fix compiling with gcc-10+";
1110 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sci-libs/vtk/files/vtk-8.2.0-gcc-10.patch?id=c4256f68d3589570443075eccbbafacf661f785f";
12− sha256 = "0bpwrdfmi15grsg4jy7bzj2z6511a0c160cmw5lsi65aabyh7cl5";
11+ sha256 = "sha256:0bpwrdfmi15grsg4jy7bzj2z6511a0c160cmw5lsi65aabyh7cl5";
12+ }
13+ {
14+ url = "https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6943.diff";
15+ sha256 = "sha256:1nzdw3f6bsri04y528zj2klqkb9p8s4lnl9g5zvm119m1cmyhn04";
1316 }
1417 ];
1518}