summaryrefslogtreecommitdiffstats
path: root/libraries/qt3/qt3_gcc47.patch
diff options
context:
space:
mode:
author Niels Horn <niels.horn@gmail.com>2012-09-13 11:04:37 -0300
committer Niels Horn <niels.horn@slackbuilds.org>2012-09-13 11:04:37 -0300
commitbe079286d1268c48d7c9c7339385e5affba6450f (patch)
tree80efb66f42e6210ceb911d7118dae7e91dd8c150 /libraries/qt3/qt3_gcc47.patch
parentd1768face2c440786e88b7cedb3ff0cc3e3bfc76 (diff)
downloadslackbuilds-be079286d1268c48d7c9c7339385e5affba6450f.tar.gz
slackbuilds-be079286d1268c48d7c9c7339385e5affba6450f.tar.xz
libraries/qt3: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/qt3/qt3_gcc47.patch')
-rw-r--r--libraries/qt3/qt3_gcc47.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/libraries/qt3/qt3_gcc47.patch b/libraries/qt3/qt3_gcc47.patch
new file mode 100644
index 0000000000..7a7da6a3a6
--- /dev/null
+++ b/libraries/qt3/qt3_gcc47.patch
@@ -0,0 +1,20 @@
+--- 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