mednaffe: Fix segfault on shutdown
commit15dbdc59305d0c25b8421dec368069764c505e9b
authorAmatCoder <AmatCoder@users.noreply.github.com>
dateWed 25 May 2016, 06:30 (11 years ago)
parent63e09f8
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 ];