Skip to contentSkip to conversation

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

PATCH Andre Haupt 2 participants 2 messages Aug 17, 2011 – Dec 8, 2011

lore
Share & tools
lore
#0 lore raw

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

recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb +4 -2
index e64256f..526c42f 100644
@@ -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}"
 
 #
#1 lore raw

Hi Andre,

Quoted 3 lines · On Wednesday 17 August 2011 11:17:30 Andre Haupt wrote:

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.

Unfortunately this patch seems to have fallen through the cracks. However the same fix has now been merged into meta-qt3. Sorry about the delay!

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre