From: Debian Qt/KDE Maintainers Date: Sat, 5 May 2018 01:53:17 +0000 (+0100) Subject: qt-everywhere-opensource-src-4.8.7-gcc6 X-Git-Tag: archive/raspbian/4%4.8.7+dfsg-16+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc11f01a369599a11dd47dce400313b121bd2595;p=qt4-x11.git qt-everywhere-opensource-src-4.8.7-gcc6 Gbp-Pq: Name qt-everywhere-opensource-src-4.8.7-gcc6.patch --- diff --git a/configure b/configure index 5eca02ab4..e2c1ab260 100755 --- a/configure +++ b/configure @@ -7797,7 +7797,7 @@ case "$XPLATFORM" in *-g++*) # Check gcc's version case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in - 5*|4*|3.4*) + 8*|7*|6*|5*|4*|3.4*) ;; 3.3*) canBuildWebKit="no" @@ -8113,7 +8113,7 @@ g++*) 3.*) COMPILER_VERSION="3.*" ;; - 5*|4.*) + 8*|7*|6*|5*|4.*) COMPILER_VERSION="4" ;; *) diff --git a/src/xmlpatterns/api/qcoloroutput_p.h b/src/xmlpatterns/api/qcoloroutput_p.h index 7911e8962..be284d140 100644 --- a/src/xmlpatterns/api/qcoloroutput_p.h +++ b/src/xmlpatterns/api/qcoloroutput_p.h @@ -70,8 +70,8 @@ namespace QPatternist ForegroundShift = 10, BackgroundShift = 20, SpecialShift = 20, - ForegroundMask = ((1 << ForegroundShift) - 1) << ForegroundShift, - BackgroundMask = ((1 << BackgroundShift) - 1) << BackgroundShift + ForegroundMask = 0x1f << ForegroundShift, + BackgroundMask = 0x7 << BackgroundShift }; public: