forked from mirrors/nixpkgs
libplacebo: fixup glslang headers path
See: https://github.com/NixOS/nixpkgs/issues/108723 Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
This commit is contained in:
parent
372806018c
commit
f44ed8abd4
|
@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
|
|||
pname = "libplacebo";
|
||||
version = "2.72.2";
|
||||
|
||||
patches = [
|
||||
./glsl-import.patch
|
||||
];
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "code.videolan.org";
|
||||
owner = "videolan";
|
||||
|
|
13
pkgs/development/libraries/libplacebo/glsl-import.patch
Normal file
13
pkgs/development/libraries/libplacebo/glsl-import.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/glsl/glslang.cc b/src/glsl/glslang.cc
|
||||
index f701acc..c64cbf5 100644
|
||||
--- a/src/glsl/glslang.cc
|
||||
+++ b/src/glsl/glslang.cc
|
||||
@@ -26,7 +26,7 @@ extern "C" {
|
||||
|
||||
#include <glslang/Include/ResourceLimits.h>
|
||||
#include <glslang/Public/ShaderLang.h>
|
||||
-#include <SPIRV/GlslangToSpv.h>
|
||||
+#include <glslang/SPIRV/GlslangToSpv.h>
|
||||
|
||||
#include "glslang.h"
|
||||
|
Loading…
Reference in a new issue