diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-06-19 10:18:30 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-06-19 10:18:30 +0200 |
commit | 97c484a10f4b38efc4fb3dd210defed96003ae7d (patch) | |
tree | 3cf505288a69445d7a0da288197352484942421c /pkgs/misc/emulators/higan/default.nix | |
parent | d133a168f082d2f4c94984190e836e55f5e389a7 (diff) |
treewide: fix #include errors after gcc-5.4
They were mostly missing <cmath> or <math.h>.
Diffstat (limited to 'pkgs/misc/emulators/higan/default.nix')
-rw-r--r-- | pkgs/misc/emulators/higan/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/higan/default.nix b/pkgs/misc/emulators/higan/default.nix index 1395e3ac3efed..77392913cb1a4 100644 --- a/pkgs/misc/emulators/higan/default.nix +++ b/pkgs/misc/emulators/higan/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { }; patches = [ ./0001-change-flags.diff ]; + postPatch = "sed '1i#include <cmath>' -i higan/fc/ppu/ppu.cpp"; buildInputs = [ p7zip pkgconfig libX11 libXv udev mesa SDL libao openal libpulseaudio gtk gtksourceview ]; |