cataclysm-dda: fix build

+18 -3
+18 -3
pkgs/games/cataclysm-dda/stable.nix
··· 1 - { lib, callPackage, CoreFoundation, fetchFromGitHub, pkgs, wrapCDDA, attachPkgs 2 - , tiles ? true, Cocoa 1 + { lib 2 + , callPackage 3 + , CoreFoundation 4 + , fetchFromGitHub 5 + , fetchpatch 6 + , pkgs 7 + , wrapCDDA 8 + , attachPkgs 9 + , tiles ? true 10 + , Cocoa 3 11 , debug ? false 4 12 , useXdgDir ? false 5 13 }: ··· 22 30 patches = [ 23 31 # Unconditionally look for translation files in $out/share/locale 24 32 ./locale-path-stable.patch 33 + 34 + # Fixes compiler errors when compiling against SDL2_ttf >= 1.20.0, https://github.com/CleverRaven/Cataclysm-DDA/pull/59083 35 + # Remove with next version update. 36 + (fetchpatch { 37 + url = "https://github.com/CleverRaven/Cataclysm-DDA/commit/625fadf3d493c1712d9ade2b849ff6a79765c7a7.patch"; 38 + hash = "sha256-c0NXkd6jSGSruKrwuYUmLbgiL97YQDkUm313fnMJ7GA="; 39 + }) 25 40 ]; 26 41 27 42 makeFlags = common.makeFlags ++ [ ··· 31 46 32 47 meta = common.meta // { 33 48 maintainers = with lib.maintainers; 34 - common.meta.maintainers ++ [ skeidel ]; 49 + common.meta.maintainers ++ [ skeidel ]; 35 50 }; 36 51 }); 37 52 in