summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/patches/3.5.13.2/gcc46.diff
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2015-04-12 10:11:01 +0200
committerFrançois Andriot <[email protected]>2015-04-12 10:11:01 +0200
commita4937b110c2c19699a179e4ae17b5d3864168561 (patch)
tree5c54e70b81bb074f994a678e667231cddc88892f /opensuse/core/qt3/patches/3.5.13.2/gcc46.diff
parentbb94b933beb07ad9ebe9af255ee2fa8d91df7896 (diff)
downloadtde-packaging-a4937b110c2c19699a179e4ae17b5d3864168561.tar.gz
tde-packaging-a4937b110c2c19699a179e4ae17b5d3864168561.zip
RPM Packaging: update QT3
Diffstat (limited to 'opensuse/core/qt3/patches/3.5.13.2/gcc46.diff')
-rw-r--r--opensuse/core/qt3/patches/3.5.13.2/gcc46.diff44
1 files changed, 44 insertions, 0 deletions
diff --git a/opensuse/core/qt3/patches/3.5.13.2/gcc46.diff b/opensuse/core/qt3/patches/3.5.13.2/gcc46.diff
new file mode 100644
index 000000000..756aadd7b
--- /dev/null
+++ b/opensuse/core/qt3/patches/3.5.13.2/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 QT_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 QMapIterator
+ #endif
+ typedef T value_type;
+ #ifndef QT_NO_STL
+- typedef ptrdiff_t difference_type;
++ typedef std::ptrdiff_t difference_type;
+ #else
+ typedef int difference_type;
+ #endif
+@@ -224,7 +224,7 @@ class QMapConstIterator
+ #endif
+ typedef T value_type;
+ #ifndef QT_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 QT_NO_STL
+- typedef ptrdiff_t difference_type;
++ typedef std::ptrdiff_t difference_type;
+ #else
+ typedef int difference_type;
+ #endif