diff options
author | Robert Xu <robxu9@gmail.com> | 2012-07-28 17:22:06 -0400 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2012-07-28 17:22:06 -0400 |
commit | 44279fd56aa28d4943b49e516ac791900c561488 (patch) | |
tree | 11289e75f32c5324c5f7469141881720af4f57fe /opensuse/core/tqt3/gcc46.diff | |
parent | 48e7f603b222a82ae22d94ecbd6cbba914144f86 (diff) | |
download | tde-packaging-44279fd56aa28d4943b49e516ac791900c561488.tar.gz tde-packaging-44279fd56aa28d4943b49e516ac791900c561488.zip |
initial package (failing) of tqt3 for SuSE12.1
Diffstat (limited to 'opensuse/core/tqt3/gcc46.diff')
-rw-r--r-- | opensuse/core/tqt3/gcc46.diff | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/opensuse/core/tqt3/gcc46.diff b/opensuse/core/tqt3/gcc46.diff new file mode 100644 index 000000000..c2a0e58a6 --- /dev/null +++ b/opensuse/core/tqt3/gcc46.diff @@ -0,0 +1,44 @@ +Index: src/tools/qvaluevector.h +=================================================================== +--- src/tools/qvaluevector.h.orig 2008-01-15 20:09:13.000000000 +0100 ++++ src/tools/qvaluevector.h 2011-03-31 20:15:15.904712567 +0200 +@@ -246,7 +246,7 @@ public: + typedef const value_type& const_reference; + typedef size_t size_type; + #ifndef TQT_NO_STL +- typedef ptrdiff_t difference_type; ++ typedef std::ptrdiff_t difference_type; + #else + typedef int difference_type; + #endif +Index: src/tools/qmap.h +=================================================================== +--- src/tools/qmap.h.orig 2008-01-15 20:09:13.000000000 +0100 ++++ src/tools/qmap.h 2011-03-31 20:24:35.802101605 +0200 +@@ -108,7 +108,7 @@ class TQMapIterator + #endif + typedef T value_type; + #ifndef TQT_NO_STL +- typedef ptrdiff_t difference_type; ++ typedef std::ptrdiff_t difference_type; + #else + typedef int difference_type; + #endif +@@ -224,7 +224,7 @@ class TQMapConstIterator + #endif + typedef T value_type; + #ifndef TQT_NO_STL +- typedef ptrdiff_t difference_type; ++ typedef std::ptrdiff_t difference_type; + #else + typedef int difference_type; + #endif +@@ -605,7 +605,7 @@ public: + typedef value_type& reference; + typedef const value_type& const_reference; + #ifndef TQT_NO_STL +- typedef ptrdiff_t difference_type; ++ typedef std::ptrdiff_t difference_type; + #else + typedef int difference_type; + #endif |