summaryrefslogtreecommitdiffstats
path: root/recipes-qt4/qt4/qt4-4.8.7/gcc-6.patch
blob: b0ce9cd627532452328a5cd72c69b52caf3045d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Allow gcc v6 to build webkit. Without this, webkit isn't built
when gcc v6 is used (silently but then python-pyqt fails to build).

Upstream-Status: Inappropriate [no development on qt4 now]
RP 2016/5/26

Index: qt-everywhere-opensource-src-4.8.7/configure
===================================================================
--- qt-everywhere-opensource-src-4.8.7.orig/configure
+++ qt-everywhere-opensource-src-4.8.7/configure
@@ -7756,7 +7756,7 @@ case "$XPLATFORM" in
     *-g++*)
 	# Check gcc's version
 	case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
-	    5*|4*|3.4*)
+	    6*|5*|4*|3.4*)
 		;;
             3.3*)
                 canBuildWebKit="no"