@@ -1,6 +1,6 @@
1−--- pyside-setup-everywhere-src-5.12.3/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp~ 2019-06-15 10:31:04.712949189 +0200
2−+++ pyside-setup-everywhere-src-5.12.3/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp 2019-06-15 11:52:52.894987343 +0200
3−@@ -317,15 +317,15 @@
1+--- pyside-setup-everywhere-src-5.12.6/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp~ 2020-07-08 14:37:13.022476435 -0700
2++++ pyside-setup-everywhere-src-5.12.6/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp 2020-07-08 14:37:18.271484269 -0700
3+@@ -330,17 +330,15 @@
44 }
55 #endif // NEED_CLANG_BUILTIN_INCLUDES
66
@@ -9,10 +9,12 @@
99- // A fix for this has been added to Clang 5.0, so, the code can be removed
1010- // once Clang 5.0 is the minimum version.
1111- if (needsGppInternalHeaders()) {
12−- const HeaderPaths gppPaths = gppInternalIncludePaths(QStringLiteral("g++"));
12+- const HeaderPaths gppPaths = gppInternalIncludePaths(compilerFromCMake(QStringLiteral("g++")));
1313- for (const HeaderPath &h : gppPaths) {
14−- if (h.path.contains("c++"))
14+- if (h.path.contains("c++")
15+- || h.path.contains("sysroot")) { // centOS
1516- headerPaths.append(h);
17+- }
1618+ const HeaderPaths gppPaths = gppInternalIncludePaths(QStringLiteral("g++"));
1719+ for (const HeaderPath &h : gppPaths) {
1820+ // PySide2 requires that Qt headers are not -isystem
@@ -25,3 +27,4 @@
2527 }
2628 }
2729 #else
30+