aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.8.1/configure_oe_compiler.patch
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-03-28 21:46:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-24 11:35:50 +0100
commit6a21cf0068234152b3f13866dc7c05adc6d0d9c9 (patch)
tree03f1cd976bdef536062ff0bab925b7227975a2ba /meta/recipes-qt/qt4/qt-4.8.1/configure_oe_compiler.patch
parent971361a4fac5622858f71a87c478e16ef02c4d76 (diff)
downloadopenembedded-core-contrib-6a21cf0068234152b3f13866dc7c05adc6d0d9c9.tar.gz
qt4: move from 4.8.0 to 4.8.1
* No changes other than source checksums and PR at recipe level. * DEFAULT_PREFERENCE still set to -1 Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.8.1/configure_oe_compiler.patch')
-rw-r--r--meta/recipes-qt/qt4/qt-4.8.1/configure_oe_compiler.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.8.1/configure_oe_compiler.patch b/meta/recipes-qt/qt4/qt-4.8.1/configure_oe_compiler.patch
new file mode 100644
index 0000000000..d455d0acfe
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.8.1/configure_oe_compiler.patch
@@ -0,0 +1,31 @@
+Ensure we identify the compiler as g++ in configure
+
+Our PLATFORM in OE is ${TARGET_OS}-oe-g++, and previously the configure
+script was interpreting from this that the compiler was "oe-g++" and thus
+g++ specific checks were not being run since this string did not match;
+among other things this resulted in a compiler version check in the
+QtWebKit build code not working, and hence the following error at build
+time:
+
+./wtf/NullPtr.h:48:1: error: identifier 'nullptr' will become a keyword in C++0x [-Werror=c++0x-compat]
+
+The easiest thing since our PLATFORM is entirely artificial is to just
+force COMPILER to "g++" in the configure script if it is detected as
+"oe-g++".
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
+
+--- qt-everywhere-opensource-src-4.8.0.orig/configure
++++ qt-everywhere-opensource-src-4.8.0/configure
+@@ -7444,6 +7444,9 @@ elif [ "$XPLATFORM" != "$PLATFORM" ]; th
+ else
+ COMPILER=`echo $PLATFORM | cut -f 2- -d-`
+ fi
++case $COMPILER in
++ *oe-g++) COMPILER="g++" ;;
++esac
+ if [ "$CFG_EXCEPTIONS" = "unspecified" -a "$PLATFORM_QWS" = "yes" ]; then
+ CFG_EXCEPTIONS=no
+ fi