graphics/shaderc: use upstream repo in case the fork is deleted

As of 2020.0 the workaround is still required without LLD such as on
DragonFly or FreeBSD < 12:

FAILED: glslc/glslc
: && /usr/bin/c++  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wimplicit-fallthrough -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -fstack-protector-strong -L/usr/local/lib glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o  -o glslc/glslc  glslc/libglslc.a  libshaderc_util/libshaderc_util.a  libshaderc/libshaderc.a  libshaderc_util/libshaderc_util.a  -lSPIRV-Tools-opt  -lSPIRV-Tools  -lHLSL  -lglslang  -lOSDependent  -lOGLCompiler  -lglslang  -lOSDependent  -lOGLCompiler  -lSPIRV  -pthread && :
/usr/local/lib/libglslang.a(ShaderLang.cpp.o): In function `(anonymous namespace)::CreateBuiltInParseables(TInfoSink&, glslang::EShSource)':
ShaderLang.cpp:(.text+0x7502): undefined reference to `glslang::TBuiltInParseablesHlsl::TBuiltInParseablesHlsl()'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
This commit is contained in:
Jan Beich 2020-05-21 02:37:15 +00:00
parent 4f25bdf921
commit 4f922cb76c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536039

View file

@ -5,8 +5,8 @@ DISTVERSIONPREFIX=v
DISTVERSION= 2020.0
CATEGORIES= graphics devel
PATCH_SITES= https://github.com/haasn/${GH_PROJECT}/commit/
PATCHFILES= 21c8be385b3f.patch:-p1
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 21c8be385b3f.patch:-p1 # https://github.com/google/shaderc/pull/463
MAINTAINER= greg@unrelenting.technology
COMMENT= GLSL/HLSL to SPIR-V shader compiler