[yocto] meta-qt3: qt3-x11-native compile fix on Fedora 15 x86-64

Andre Haupt andre at bitwigglers.org
Wed Aug 17 02:17:30 PDT 2011


Hi all,

This patch fixes compilation of qt-x11-native_3.3.5 on Fedora 15 x86-64.
The compiler was complainig about unknown type ptrdiff_t. Including the
appropriate header in qvaluelist.h helps.

Can this be integrated into the meta-qt3 git repository?

cheers,

Andre
-------------- next part --------------
diff --git a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
index e64256f..526c42f 100644
--- a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
+++ b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb
@@ -4,7 +4,7 @@ PRIORITY = "optional"
 LICENSE = "GPL | QPL"
 DEPENDS = "xmu-native"
 HOMEPAGE = "http://www.trolltech.com"
-PR = "r0"
+PR = "r1"
 
 PROVIDES += "qt-x11-free-native"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qt-x11-free"
@@ -13,7 +13,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=629178675a7d49c9fa19dfe9f43ea256 \
                     file://LICENSE.QPL;md5=fff372435cb41647bc0b3cb940ea5c51"
 
 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2 \
-	   file://no-examples.patch"
+	   file://no-examples.patch \
+           file://qt3-cstddef.patch"
+
 S = "${WORKDIR}/qt-x11-free-${PV}"
 
 #


More information about the yocto mailing list