]> git.pld-linux.org Git - packages/STLport.git/commitdiff
- fix for STLport-5.1.0 allowing build with libstdc++-4.2.0-200612
authorSzymon Siwek <sls@pld-linux.org>
Tue, 19 Dec 2006 21:42:02 +0000 (21:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (__true_type has not been declared)

Changed files:
    STLport-gcc420.patch -> 1.1

STLport-gcc420.patch [new file with mode: 0644]

diff --git a/STLport-gcc420.patch b/STLport-gcc420.patch
new file mode 100644 (file)
index 0000000..89f30ed
--- /dev/null
@@ -0,0 +1,23 @@
+--- STLport-5.1.0/stlport/stl/type_manips.h.orig       2006-12-16 20:00:24.000000000 +0000
++++ STLport-5.1.0/stlport/stl/type_manips.h    2006-12-16 20:02:52.000000000 +0000
+@@ -38,15 +38,18 @@
+  * in gcc 3.x it in bits/type_traits.h that included only from headers
+  * that not included from STLport; in gcc 4.x it defined in
+  * bits/cpp_type_traits.h, that included well... from cmath for example
++ * in gcc-4.2.0-200612 it was moved to std namespace
+  *
+  * libstdc++ v3,       __GLIBCXX__ 20050519 (3.4.4) use variant 1,
+  * libstdc++ v3,       __GLIBCXX__ 20060306 (3.4.6) use variant 1,
+  * while libstdc++ v3, __GLIBCXX__ 20050921 (4.0.2) use variant 2,
+- *                     __GLIBCXX__ 20060524 (4.1.1) use variant 2
++ *                     __GLIBCXX__ 20060524 (4.1.1) use variant 2,
++ *                     __GLIBCXX__ 20061119 (4.2.0) use variant 2,
++ *                     __GLIBCXX__ 20061206 (4.2.0) use variant 1
+  * muddle in libstdc++ versions...
+  *
+  */
+-# if defined (__GNUC__) && (__GNUC__ > 3)
++# if defined (__GNUC__) && (__GNUC__ > 3) && defined (__GNUC_MINOR__) && (__GNUC_MINOR__ < 2)
+ using ::__true_type;
+ using ::__false_type;
+ # else
This page took 0.201243 seconds and 4 git commands to generate.