rogue: Fix build after ncurses5 changes

Fixes build after commit 3d24ae9b44:
https://hydra.nixos.org/build/69789236

Thanks to dtzWill for the pointer:
https://github.com/NixOS/nixpkgs/pull/34477#issuecomment-367359351
This commit is contained in:
Tuomas Tynkkynen 2018-02-23 01:50:04 +02:00
parent d16274da1d
commit 71b0de1019

View file

@ -14,6 +14,9 @@ stdenv.mkDerivation {
buildInputs = [ ncurses ];
# Fix build for recent ncurses versions
NIX_CFLAGS_COMPILE = [ "-DNCURSES_INTERNALS=1" ];
meta = {
homepage = http://rogue.rogueforge.net/rogue-5-4/;
description = "The final version of the original Rogue game developed for the UNIX operating system";