@@ -5,6 +5,9 @@ stdenv.mkDerivation rec {
55
66 pname = "caprice32";
77 version = "4.6.0";
8+ # NOTE: When bumping version beyond 4.6.0, you likely need to remove
9+ # string.patch below. The fix of this patch has already been
10+ # done upstream but is not yet part of a release
811
912 src = fetchFromGitHub {
1013 repo = "caprice32";
@@ -16,6 +19,8 @@ stdenv.mkDerivation rec {
1619 nativeBuildInputs = [ desktop-file-utils pkg-config ];
1720 buildInputs = [ libpng SDL freetype zlib ];
1821
22+ patches = [ ./string.patch ];
23+
1924 makeFlags = [
2025 "APP_PATH=${placeholder "out"}/share/caprice32"
2126 "RELEASE=1"