Qt4 recipe fix; fixes configure so compiler is, detected, properly, and QXMLPatterns gets built
Patch produced with 'diff -Naur', as per Henning Heinold's request:
home/oe/local/recipes/qt4/files/configure-conf_compiler-fix.patch renamed from home/oe/2010-06-23/openembedded/recipes/qt4/files/configure-conf_compiler-fix.patch +12 -0
@@ -0,0 +1,12 @@ +Index qt-everywhere-opensource-src-4.6.0.orig/configure +=================================================================== +--- qt-everywhere-opensource-src-4.6.0/configure.orig 2009-12-10 15:49:49.000000000 -0500 ++++ qt-everywhere-opensource-src-4.6.0/configure 2009-12-10 15:50:20.000000000 -0500 +@@ -2917,6 +2917,7 @@ + fi + + QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1` ++eval QMAKE_CONF_COMPILER=$(echo $QMAKE_CONF_COMPILER | sed "s/(/{/" | sed "s/)/}/") + TEST_COMPILER="$CC" + [ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER +
home/oe/local/recipes/qt4/qt-4.6.0.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt-4.6.0.inc +1 -0
@@ -3,6 +3,7 @@ FILESPATHPKG .= ":qt-${PV}" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0004-no-qmake.patch \
home/oe/local/recipes/qt4/qt-4.6.2.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt-4.6.2.inc +1 -0
@@ -3,6 +3,7 @@ FILESPATHPKG .= ":qt-${PV}" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0004-no-qmake.patch \
home/oe/local/recipes/qt4/qt4-embedded.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt4-embedded.inc +1 -0
@@ -12,6 +12,7 @@ QT_LIBINFIX = "E" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${PV}.tar.bz2 \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0003-no-tools.patch \
home/oe/local/recipes/qt4/qt4-x11-free.inc renamed from home/oe/2010-06-23/openembedded/recipes/qt4/qt4-x11-free.inc +1 -0
@@ -8,6 +8,7 @@ INC_PR = "r18" SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-${PV}.tar.gz \ + file://configure-conf_compiler-fix.patch \ file://0001-cross-compile.patch \ file://0002-fix-resinit-declaration.patch \ file://0003-no-tools.patch \
Hi,
because you are touching .inc files you need to increment the INC_PR number of the inc files.
Bye Henning