3
0
Fork 0
forked from mirrors/nixpkgs

gpm: fixup build with glibc-2.26

This commit is contained in:
Vladimír Čunát 2017-11-07 08:33:48 +01:00
parent 7ba482a74a
commit 81c5040470
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
sha256 = "13d426a8h403ckpc8zyf7s2p5rql0lqbg2bv0454x0pvgbfbf4gh";
};
postPatch = ''
sed '1i#include <sys/types.h>' -i src/daemon/open_console.c
substituteInPlace src/prog/gpm-root.y --replace __sigemptyset sigemptyset
'';
nativeBuildInputs = [ automake autoconf libtool flex bison texinfo ];
buildInputs = [ ncurses ];