[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-desktop
Subject:    [gentoo-desktop] [kde-sunset] qt3 on gcc 4.6
From:       Dr Andrew John Hughes <gnu_andrew () member ! fsf ! org>
Date:       2011-04-10 23:43:56
Message-ID: BANLkTikKLQJeAU-N2nw0HyvsVcjDRQ+xdg () mail ! gmail ! com
[Download RAW message or body]

The attached patch is needed when building qt 3 with gcc 4.6.0 so
ptrdiff_t is recognised.  I presume it was pulled in by the STL
headers before.

This doesn't just affect the build, but also any packages which use
the Qt3 headers (e.g. avahi and poppler in the kde-sunset overlay).
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D   0698 0713 C3ED F586 2A37

["qt.diff" (text/x-patch)]

--- qt-x11-free-3.3.8b/src/tools/qmap.h~	2008-01-15 19:09:13.000000000 +0000
+++ qt-x11-free-3.3.8b/src/tools/qmap.h	2011-04-11 00:16:04.000000000 +0100
@@ -50,6 +50,7 @@
 #endif // QT_H
 
 #ifndef QT_NO_STL
+#include <cstddef>
 #include <iterator>
 #include <map>
 #endif
--- qt-x11-free-3.3.8b/src/tools/qvaluelist.h~	2008-01-15 19:09:13.000000000 +0000
+++ qt-x11-free-3.3.8b/src/tools/qvaluelist.h	2011-04-11 00:16:49.000000000 +0100
@@ -48,6 +48,7 @@
 #endif // QT_H
 
 #ifndef QT_NO_STL
+#include <cstddef>
 #include <iterator>
 #include <list>
 #endif


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic