mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
gpm: fixup build with glibc-2.26
This commit is contained in:
parent
7ba482a74a
commit
81c5040470
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user