git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15688 from AmatCoder/AmatCoder-mednaffe

mednaffe: Fix segfault on shutdown

commitff8799684705de670b44a818892562c1a75819f2 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateWed 25 May 2016, 23:32 (11 years ago) parentfcdac3415dbdc5
1 file changed+1−1
pkgs/misc/emulators/mednaffe/default.nix+1−1
pkgs/misc/emulators/mednaffe/default.nix+1−1
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 };
1414
1515 prePatch = ''
16− substituteInPlace src/mednaffe.c --replace "binpath = NULL" "binpath = \"${mednafen}/bin/mednafen\""
16+ substituteInPlace src/mednaffe.c --replace "binpath = NULL" "binpath = g_strdup( \"${mednafen}/bin/mednafen\" )"
1717 '';
1818
1919 buildInputs = [ pkgconfig gtk2 mednafen ];