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 3 , debug ? false 4 , useXdgDir ? false 5 }: ··· 22 patches = [ 23 # Unconditionally look for translation files in $out/share/locale 24 ./locale-path-stable.patch 25 ]; 26 27 makeFlags = common.makeFlags ++ [ ··· 31 32 meta = common.meta // { 33 maintainers = with lib.maintainers; 34 - common.meta.maintainers ++ [ skeidel ]; 35 }; 36 }); 37 in
··· 1 + { lib 2 + , callPackage 3 + , CoreFoundation 4 + , fetchFromGitHub 5 + , fetchpatch 6 + , pkgs 7 + , wrapCDDA 8 + , attachPkgs 9 + , tiles ? true 10 + , Cocoa 11 , debug ? false 12 , useXdgDir ? false 13 }: ··· 30 patches = [ 31 # Unconditionally look for translation files in $out/share/locale 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 + }) 40 ]; 41 42 makeFlags = common.makeFlags ++ [ ··· 46 47 meta = common.meta // { 48 maintainers = with lib.maintainers; 49 + common.meta.maintainers ++ [ skeidel ]; 50 }; 51 }); 52 in