diff options
author | Erich Eckner <git@eckner.net> | 2019-12-12 14:00:20 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-12 14:00:20 +0100 |
commit | aea50ea70924ce64a580e4df9d4860a917bfd54e (patch) | |
tree | 0dd928c0bb230a71984dc7f27306fb5ba06c8842 /qt4/qt4-gcc6.patch | |
parent | b8d841f4773f344f3e89b6c9d692ad8af0d3818e (diff) | |
download | archlinuxewe.git.save-aea50ea70924ce64a580e4df9d4860a917bfd54e.tar.xz |
qt4 neu
Diffstat (limited to 'qt4/qt4-gcc6.patch')
-rw-r--r-- | qt4/qt4-gcc6.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/qt4/qt4-gcc6.patch b/qt4/qt4-gcc6.patch new file mode 100644 index 00000000..d65cd246 --- /dev/null +++ b/qt4/qt4-gcc6.patch @@ -0,0 +1,36 @@ +diff -up qt-everywhere-opensource-src-4.8.7/configure.gcc6 qt-everywhere-opensource-src-4.8.7/configure +--- qt-everywhere-opensource-src-4.8.7/configure.gcc6 2016-04-15 07:04:19.430268222 -0500 ++++ qt-everywhere-opensource-src-4.8.7/configure 2016-04-15 07:05:22.157568689 -0500 +@@ -7744,7 +7744,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" +@@ -8060,7 +8060,7 @@ g++*) + 3.*) + COMPILER_VERSION="3.*" + ;; +- 5*|4.*) ++ 8*|7*|6*|5*|4.*) + COMPILER_VERSION="4" + ;; + *) +diff -up qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h.gcc6 +qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h +--- qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h.gcc6 2015-05-07 09:14:48.000000000 -0500 ++++ qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h 2016-04-15 07:04:19.431268227 -0500 +@@ -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: |