spack/var/spack/repos/builtin/packages/qt/qt3-headers.patch
Seth R. Johnson 921cb6c860
Qt4 patches (#15025)
* Fix patch applicability

* Combine patches for missing qt3 headers and remove krell variant

The variant should have always been applied.

* Restrict QT patches to actual applicable versions/situations

- I researched the associated patches so now their `when=` should more
  closely match when they're actually needed.
- I sorted the patch order so they're grouped by version requirement
- I renamed the patches so they're listed by version requirements
2020-02-17 17:21:31 -06:00

31 lines
807 B
Diff

--- a/src/tools/qmap.h 2008-01-16 06:09:13.000000000 +1100
+++ b/src/tools/qmap.h 2018-01-07 11:32:38.720893324 +1100
@@ -52,6 +52,7 @@
#ifndef QT_NO_STL
#include <iterator>
#include <map>
+#include <stddef.h>
#endif
//#define QT_CHECK_MAP_RANGE
--- a/src/tools/qvaluelist.h 2008-01-16 06:09:13.000000000 +1100
+++ b/src/tools/qvaluelist.h 2018-01-07 11:33:03.393206961 +1100
@@ -50,6 +50,7 @@
#ifndef QT_NO_STL
#include <iterator>
#include <list>
+#include <stddef.h>
#endif
//#define QT_CHECK_VALUELIST_RANGE
--- qt-x11-free-3.3.8b/src/tools/qvaluevector.h 2008-01-15 13:09:13.000000000 -0600
+++ qt-x11-free-3.3.8b-fixes/src/tools/qvaluevector.h 2015-07-08 15:47:34.758565247 -0500
@@ -47,6 +47,7 @@
#ifndef QT_NO_STL
#include <vector>
+#include <cstddef>
#endif
template <class T>