1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

mednaffe: Fix segfault on shutdown

This commit is contained in:
AmatCoder 2016-05-25 06:30:40 +00:00
parent 63e09f8d47
commit 15dbdc5930

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};
prePatch = ''
substituteInPlace src/mednaffe.c --replace "binpath = NULL" "binpath = \"${mednafen}/bin/mednafen\""
substituteInPlace src/mednaffe.c --replace "binpath = NULL" "binpath = g_strdup( \"${mednafen}/bin/mednafen\" )"
'';
buildInputs = [ pkgconfig gtk2 mednafen ];