summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2019-10-28 22:18:28 -0400
committerNick Sarnie <sarnex@gentoo.org>2019-10-28 22:18:28 -0400
commit868bb8383a826306eec7f8abcc1d4a63856e9b54 (patch)
treebb4f8e6c12bd717d60f479da0ac77427261b4406 /dev-util/glslang/files
parentsys-apps/portage: 2.3.78-r2 revbump for bug 698046 (diff)
downloadgentoo-868bb8383a826306eec7f8abcc1d4a63856e9b54.tar.gz
gentoo-868bb8383a826306eec7f8abcc1d4a63856e9b54.tar.bz2
gentoo-868bb8383a826306eec7f8abcc1d4a63856e9b54.zip
dev-util/glslang: Fix relative includes in headers
Needed to fix media-libs/shaderc build. Patch developed and tested by chutzpah Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-util/glslang/files')
-rw-r--r--dev-util/glslang/files/glslang-7.12.3353_pre20191027-fix-relative-includes.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/glslang/files/glslang-7.12.3353_pre20191027-fix-relative-includes.patch b/dev-util/glslang/files/glslang-7.12.3353_pre20191027-fix-relative-includes.patch
new file mode 100644
index 000000000000..4c44cfbbbedd
--- /dev/null
+++ b/dev-util/glslang/files/glslang-7.12.3353_pre20191027-fix-relative-includes.patch
@@ -0,0 +1,26 @@
+diff --git a/SPIRV/GlslangToSpv.h b/SPIRV/GlslangToSpv.h
+index 86e1c23b..3907be43 100755
+--- a/SPIRV/GlslangToSpv.h
++++ b/SPIRV/GlslangToSpv.h
+@@ -40,7 +40,7 @@
+ #endif
+
+ #include "SpvTools.h"
+-#include "../glslang/Include/intermediate.h"
++#include "glslang/Include/intermediate.h"
+
+ #include <string>
+ #include <vector>
+diff --git a/SPIRV/SpvTools.h b/SPIRV/SpvTools.h
+index 7422d012..59c914da 100644
+--- a/SPIRV/SpvTools.h
++++ b/SPIRV/SpvTools.h
+@@ -46,7 +46,7 @@
+ #include <ostream>
+ #endif
+
+-#include "../glslang/MachineIndependent/localintermediate.h"
++#include "glslang/MachineIndependent/localintermediate.h"
+ #include "Logger.h"
+
+ namespace glslang {