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

@@ -18,6 +18,9 @@ stdenv.mkDerivation {
src = fetchurl {
inherit (s) url sha256;
};
postPatch = ''
sed '1i#include <cmath>' -i userspace/libsinsp/{cursesspectro,filterchecks}.cpp
'';
cmakeFlags = [
"-DUSE_BUNDLED_DEPS=OFF"