Merge pull request #15688 from AmatCoder/AmatCoder-mednaffe

mednaffe: Fix segfault on shutdown
This commit is contained in:
Arseniy Seroka 2016-05-25 23:32:34 +03:00
commit ff87996847

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 ];