linbox: 1.6.3 -> 1.7.0

+2 -29
+2 -16
pkgs/development/libraries/linbox/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "linbox"; 17 - version = "1.6.3"; # TODO: Check postPatch script on update 18 19 src = fetchFromGitHub { 20 owner = "linbox-team"; 21 repo = pname; 22 rev = "v${version}"; 23 - sha256 = "10j6dspbsq7d2l4q3y0c1l1xwmaqqba2fxg59q5bhgk9h5d7q571"; 24 }; 25 26 nativeBuildInputs = [ ··· 34 gmpxx 35 fflas-ffpack 36 ]; 37 - 38 - patches = [ 39 - # Remove inappropriate `const &` qualifiers on data members that can be 40 - # modified via member functions. 41 - # See also: https://github.com/linbox-team/linbox/pull/256 42 - ./patches/linbox-pr256-part2.patch # TODO: Remove on 1.7.0 update 43 - ]; 44 - 45 - postPatch = '' 46 - # Remove @LINBOXSAGE_LIBS@ that is actually undefined. 47 - # See also: https://github.com/linbox-team/linbox/pull/249 48 - # TODO: Remove on 1.7.0 update 49 - find . -type f -exec sed -e 's/@LINBOXSAGE_LIBS@//' -i {} \; 50 - ''; 51 52 configureFlags = [ 53 "--with-blas-libs=-lblas"
··· 14 15 stdenv.mkDerivation rec { 16 pname = "linbox"; 17 + version = "1.7.0"; 18 19 src = fetchFromGitHub { 20 owner = "linbox-team"; 21 repo = pname; 22 rev = "v${version}"; 23 + sha256 = "sha256-mW84a98KPLqcHMjX3LIYTmVe0ngUdz6RJLpoDaAqKU8="; 24 }; 25 26 nativeBuildInputs = [ ··· 34 gmpxx 35 fflas-ffpack 36 ]; 37 38 configureFlags = [ 39 "--with-blas-libs=-lblas"
-13
pkgs/development/libraries/linbox/patches/linbox-pr256-part2.patch
··· 1 - --- a/linbox/algorithms/det-rational.h 2 - +++ b/linbox/algorithms/det-rational.h 3 - @@ -79,8 +79,8 @@ 4 - struct MyRationalModularDet { 5 - const Blackbox &A; 6 - const MyMethod &M; 7 - - const Integer &mul;//multiplicative prec; 8 - - const Integer ÷ 9 - + Integer mul;//multiplicative prec; 10 - + Integer div; 11 - 12 - MyRationalModularDet(const Blackbox& b, const MyMethod& n, 13 - const Integer & p1, const Integer & p2) :
···