treewide: fix #include errors after gcc-5.4
They were mostly missing <cmath> or <math.h>.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
# Passed by version specific builders
|
||||
, baseVersion, revision, sha256
|
||||
, extraConfigureFlags ? ""
|
||||
, postPatch ? null
|
||||
, ...
|
||||
}:
|
||||
|
||||
@@ -17,6 +18,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
inherit sha256;
|
||||
};
|
||||
inherit postPatch;
|
||||
|
||||
buildInputs = [ python bzip2 zlib gmp openssl boost ];
|
||||
|
||||
|
||||
@@ -5,4 +5,5 @@ callPackage ./generic.nix (args // {
|
||||
revision = "29";
|
||||
sha256 = "157bp8716h17agrxyj7xpsj2i5sqhafj1nfx4gpzccx7y2kyq176";
|
||||
openssl = null;
|
||||
postPatch = "sed '1i#include <cmath>' -i src/tests/test_bigint.cpp";
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user