Skip to contentSkip to conversation

qt-4.7.4: Fix build with gcc 4.7

PATCH New Khem Raj 1 participant 1 message Mar 31, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 qt-4.7.4: Fix build with gcc 4.7

g++ 4.7 is detecting inheritence problems
which we solve by explictly specifying
elements in constructors

---
 meta/recipes-qt/qt4/qt-4.7.4.inc             |    1 +
 meta/recipes-qt/qt4/qt-4.7.4/gcc47-fix.patch |   67 ++++++++++++++++++++++++++
 meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb    |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb    |    2 +-
 4 files changed, 70 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-qt/qt4/qt-4.7.4/gcc47-fix.patch
meta/recipes-qt/qt4/qt-4.7.4.inc +1 -0
index f8956f7..6ea9efc 100644
@@ -20,6 +20,7 @@ SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.
            file://g++.conf \
            file://linux.conf \
            file://fix-qtbug-20925.patch \
+	   file://gcc47-fix.patch \
            "
 
 SRC_URI[md5sum] = "9831cf1dfa8d0689a06c2c54c5c65aaf"
meta/recipes-qt/qt4/qt-4.7.4/gcc47-fix.patch new file +67 -0

67 lines not on this page · raw message

meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb +1 -1
index a1fcafb..75b2cee 100644
@@ -1,7 +1,7 @@
 require qt-${PV}.inc
 require qt4-embedded.inc
 
-PR = "${INC_PR}.7"
+PR = "${INC_PR}.8"
 
 QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
 
meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb +1 -1
index e7f848e..e845759 100644
@@ -1,7 +1,7 @@
 require qt4-x11-free.inc
 require qt-${PV}.inc
 
-PR = "${INC_PR}.7"
+PR = "${INC_PR}.8"
 
 QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
 
Signature · 1 line
1.7.5.4