slackbuilds_ponce/libraries/qt3/qt3_gcc47.patch
Niels Horn be079286d1 libraries/qt3: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2012-09-13 11:04:37 -03:00

20 lines
622 B
Diff

--- qt-x11-free-3.3.8b/include/qvaluelist.h 2008-01-15 17:09:13.000000000 -0200
+++ qt-x11-free-3.3.8b_patched/include/qvaluelist.h 2012-08-09 12:23:57.000000000 -0300
@@ -50,6 +50,7 @@
#ifndef QT_NO_STL
#include <iterator>
#include <list>
+#include <cstddef>
#endif
//#define QT_CHECK_VALUELIST_RANGE
--- qt-x11-free-3.3.8b/src/tools/qvaluelist.h 2008-01-15 17:09:13.000000000 -0200
+++ qt-x11-free-3.3.8b_patched/src/tools/qvaluelist.h 2012-08-09 13:03:09.000000000 -0300
@@ -50,6 +50,7 @@
#ifndef QT_NO_STL
#include <iterator>
#include <list>
+#include <cstddef>
#endif
//#define QT_CHECK_VALUELIST_RANGE