treewide: fix #include errors after gcc-5.4

They were mostly missing <cmath> or <math.h>.
This commit is contained in:
Vladimír Čunát
2016-06-19 10:18:30 +02:00
parent d133a168f0
commit 97c484a10f
20 changed files with 63 additions and 6 deletions

View File

@@ -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 ];

View File

@@ -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";
})