diff options
author | bf <bf@FreeBSD.org> | 2011-08-13 20:23:12 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2011-08-13 20:23:12 +0800 |
commit | 8fd93da743a9c291386aa935110215ee8f796662 (patch) | |
tree | 67cca98f66dca04f501bb7b2ff0f895ddc6c62af /x11-toolkits | |
parent | af1494df04e1672ad23bbf936b8ed5528b5ec0ad (diff) | |
download | freebsd-ports-gnome-8fd93da743a9c291386aa935110215ee8f796662.tar.gz freebsd-ports-gnome-8fd93da743a9c291386aa935110215ee8f796662.tar.zst freebsd-ports-gnome-8fd93da743a9c291386aa935110215ee8f796662.zip |
Adjust headers for use with lang/gcc46
Reported by: gerald, pav
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/qt33/files/patch-src__tools__qtvaluelist.h | 10 | ||||
-rw-r--r-- | x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp | 16 |
2 files changed, 23 insertions, 3 deletions
diff --git a/x11-toolkits/qt33/files/patch-src__tools__qtvaluelist.h b/x11-toolkits/qt33/files/patch-src__tools__qtvaluelist.h new file mode 100644 index 000000000000..bcb338f428c3 --- /dev/null +++ b/x11-toolkits/qt33/files/patch-src__tools__qtvaluelist.h @@ -0,0 +1,10 @@ +--- src/tools/qvaluelist.h.orig 2007-02-02 09:01:04.000000000 -0500 ++++ src/tools/qvaluelist.h 2011-08-12 02:41:45.000000000 -0400 +@@ -45,6 +45,7 @@ + #endif // QT_H + + #ifndef QT_NO_STL ++#include <cstddef> + #include <iterator> + #include <list> + #endif diff --git a/x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp b/x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp index b1f976d759e9..c5e0852485bb 100644 --- a/x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp +++ b/x11-toolkits/qt33/files/patch-src_tools-qsettings.cpp @@ -1,6 +1,16 @@ ---- src/tools/qsettings.cpp.orig Fri Sep 2 14:42:53 2005 -+++ src/tools/qsettings.cpp Mon Mar 20 18:36:27 2006 -@@ -500,7 +500,12 @@ +--- src/tools/qsettings.cpp.orig 2007-02-02 09:01:03.000000000 -0500 ++++ src/tools/qsettings.cpp 2011-08-12 03:41:18.000000000 -0400 +@@ -34,6 +34,9 @@ + ** not clear to you. + ** + **********************************************************************/ ++#ifndef Q_WS_WIN ++#include <stdlib.h> ++#endif + + #include "qplatformdefs.h" + +@@ -500,7 +503,12 @@ } ); #endif // Q_OS_TEMP #else |