[kde-sunset] qt-3 fails to compile with a gcc-4.6

Fat-Zer <[email protected]> Fri, 19 Oct 2012 04:41:29 +0400
Newsgroups gmane.linux.gentoo.desktop
Message-ID <CANi=-vK3MvpYsz56aEaRFnvrgGBjNW-940a=YGp6ZuuEeGp2zg@mail.gmail.com>
Qt-3 fails to compile with a gcc-4.6 becouse ptrdiff_t was restricted dined
in <cstddef>.
Here is a small fix path in the atach. Could somebody add it to the overlay?

I'm not sure if i should write abouat a kde stuff here... am I?
qt-3.8.2b-gcc-4.6.patch (application/octet-stream, 310 B)
--- ./qt-x11-free-3.3.8b/include/qvaluelist.h.orig	2008-01-15 22:09:13.000000000 +0300
+++ ./qt-x11-free-3.3.8b/include/qvaluelist.h	2012-10-19 04:29:29.137621806 +0400
@@ -50,6 +50,7 @@
 #ifndef QT_NO_STL
 #include <iterator>
 #include <list>
+#include <cstddef>
 #endif
 
 //#define QT_CHECK_VALUELIST_RANGE