Merge pull request #267340 from a-n-n-a-l-e-e/rbdoom-3-fix-build

rbdoom-3-bfg: apply upstream patch; fix build

authored by Peder Bergebakken Sundt and committed by GitHub 229ee1db a2dbeea7

+7
+7
pkgs/games/doom-ports/rbdoom-3-bfg/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , cmake 5 6 , directx-shader-compiler 6 7 , libGLU ··· 24 25 rev = "v${version}"; 25 26 hash = "sha256-bjjeTdbQDWTibSrIWhCnr6F0Ef17efLgWGQAAwezjUw="; 26 27 fetchSubmodules = true; 28 + }; 29 + 30 + patches = fetchpatch { 31 + name = "replace-HLSL-ternary-operators.patch"; 32 + url = "https://github.com/RobertBeckebans/RBDOOM-3-BFG/commit/feffa4a4dd9a2a5f3c608f720cde41bea37797d3.patch"; 33 + hash = "sha256-aR1eoWZL3+ps7P7yFXFvGsMFxpUSBDiyBsja/ISin4I="; 27 34 }; 28 35 29 36 postPatch = ''