]> git.pld-linux.org Git - packages/STLport.git/blob - STLport-gcc420.patch
- back to 5.1.0
[packages/STLport.git] / STLport-gcc420.patch
1 --- STLport-5.1.0/stlport/stl/type_manips.h.orig        2006-12-16 20:00:24.000000000 +0000
2 +++ STLport-5.1.0/stlport/stl/type_manips.h     2006-12-16 20:02:52.000000000 +0000
3 @@ -38,15 +38,18 @@
4   * in gcc 3.x it in bits/type_traits.h that included only from headers
5   * that not included from STLport; in gcc 4.x it defined in
6   * bits/cpp_type_traits.h, that included well... from cmath for example
7 + * in gcc-4.2.0-200612 it was moved to std namespace
8   *
9   * libstdc++ v3,       __GLIBCXX__ 20050519 (3.4.4) use variant 1,
10   * libstdc++ v3,       __GLIBCXX__ 20060306 (3.4.6) use variant 1,
11   * while libstdc++ v3, __GLIBCXX__ 20050921 (4.0.2) use variant 2,
12 - *                     __GLIBCXX__ 20060524 (4.1.1) use variant 2
13 + *                     __GLIBCXX__ 20060524 (4.1.1) use variant 2,
14 + *                     __GLIBCXX__ 20061119 (4.2.0) use variant 2,
15 + *                     __GLIBCXX__ 20061206 (4.2.0) use variant 1
16   * muddle in libstdc++ versions...
17   *
18   */
19 -# if defined (__GNUC__) && (__GNUC__ > 3)
20 +# if defined (__GNUC__) && (__GNUC__ > 3) && defined (__GNUC_MINOR__) && (__GNUC_MINOR__ < 2)
21  using ::__true_type;
22  using ::__false_type;
23  # else
This page took 0.072688 seconds and 3 git commands to generate.