Work around debugedit failure by removing "./" from #line commands

At least I hope that that's the problem. I don't know what other path
would be the offender. There are no double slashes "//".
This commit is contained in:
Kevin Kofler 2016-03-22 19:19:24 +01:00
parent 29f484a302
commit 94d8130832

View File

@ -298,6 +298,10 @@ BuildArch: noarch
%patch6 -p1 -b .system-icu-utf
%patch7 -p1 -b .chimera-nss-init
%patch8 -p1 -b .no-sse2
# remove ./ from #line commands in ANGLE to avoid debugedit failure
sed -i -e 's!\./!!g' \
src/3rdparty/chromium/third_party/angle/src/compiler/preprocessor/Tokenizer.cpp \
src/3rdparty/chromium/third_party/angle/src/compiler/translator/glslang_lex.cpp
%ifnarch x86_64
# most arches run out of memory with full debuginfo, so use -g1 on non-x86_64
@ -431,10 +435,11 @@ popd
%changelog
* Mon Mar 21 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-3
* Tue Mar 22 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-3
- Build with CONFIG+="webcore_debug v8base_debug force_debug_info"
- Force -fno-delete-null-pointer-checks through CXXFLAGS, Qt flags not used here
- Use -g1 instead of -g on non-x86_64 to avoid memory exhaustion
- Work around debugedit failure by removing "./" from #line commands
* Fri Mar 18 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-2
- Avoid checking for the nonexistent icudtl.dat and silence the warnings