Author: sls Date: Tue Dec 19 21:42:07 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix for STLport-5.1.0 allowing build with libstdc++-4.2.0-200612 (__true_type has not been declared)
---- Files affected: SOURCES: STLport-gcc420.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/STLport-gcc420.patch diff -u /dev/null SOURCES/STLport-gcc420.patch:1.1 --- /dev/null Tue Dec 19 22:42:07 2006 +++ SOURCES/STLport-gcc420.patch Tue Dec 19 22:42:02 2006 @@ -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 ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
