forked from mirrors/nixpkgs
rbdoom-3-bfg: apply upstream patch; fix build
apply feffa4a4dd
to fix shader compile error
This commit is contained in:
parent
7eddbf5690
commit
70ed962531
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, directx-shader-compiler
|
||||
, libGLU
|
||||
|
@ -26,6 +27,12 @@ stdenv.mkDerivation rec {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = fetchpatch {
|
||||
name = "replace-HLSL-ternary-operators.patch";
|
||||
url = "https://github.com/RobertBeckebans/RBDOOM-3-BFG/commit/feffa4a4dd9a2a5f3c608f720cde41bea37797d3.patch";
|
||||
hash = "sha256-aR1eoWZL3+ps7P7yFXFvGsMFxpUSBDiyBsja/ISin4I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace neo/extern/nvrhi/tools/shaderCompiler/CMakeLists.txt \
|
||||
--replace "AppleClang" "Clang"
|
||||
|
|
Loading…
Reference in a new issue