Another qt3 header (qmap.h) needs to include <cstddef> or "ptrdiff_t" is undefined.
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.salda...@aker.com.br> --- recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch b/recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch index 9a8f4b4..8343857 100644 --- a/recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch +++ b/recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch @@ -5,10 +5,23 @@ The data type "ptrdiff_t" is defined in file cstddef. Upstream-Status: Pending Signed-off-by: xiaofeng....@windriver.com +Signed-off-by: Hugo Vasconcelos Saldanha <hugo.salda...@aker.com.br> ---- qt-x11-free-3.3.7/src/tools/qvaluelist.h 2006-10-19 22:25:01.000000000 +0800 -+++ qt-x11-free-3.3.7/src/tools/qvaluelist.h.new 2011-06-07 14:57:06.288997350 +0800 -@@ -47,6 +47,7 @@ +diff -upr qt-x11-free-3.3.8b.orig/src/tools/qmap.h qt-x11-free-3.3.8b/src/tools/qmap.h +--- qt-x11-free-3.3.8b.orig/src/tools/qmap.h 2008-01-15 19:09:13.000000000 +0000 ++++ qt-x11-free-3.3.8b/src/tools/qmap.h 2011-10-10 16:29:18.502000886 +0000 +@@ -52,6 +52,7 @@ + #ifndef QT_NO_STL + #include <iterator> + #include <map> ++#include <cstddef> + #endif + + //#define QT_CHECK_MAP_RANGE +diff -upr qt-x11-free-3.3.8b.orig/src/tools/qvaluelist.h qt-x11-free-3.3.8b/src/tools/qvaluelist.h +--- qt-x11-free-3.3.8b.orig/src/tools/qvaluelist.h 2008-01-15 19:09:13.000000000 +0000 ++++ qt-x11-free-3.3.8b/src/tools/qvaluelist.h 2011-10-10 16:28:48.219971568 +0000 +@@ -50,6 +50,7 @@ #ifndef QT_NO_STL #include <iterator> #include <list> -- 2.3.3 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto