From: Paweł Sikora Date: Sat, 5 Feb 2005 09:21:07 +0000 (+0000) Subject: - now it works with minor == 0 too (e.g. gcc-4.0.x). X-Git-Tag: auto/th/STLport-4_6_2-3~2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=d03f4076039d5e30a0ec6b2662c4dd7fbbec1cb9;hp=1bdaa77649dde89e31be86754056c01b77b27208;p=packages%2FSTLport.git - now it works with minor == 0 too (e.g. gcc-4.0.x). Changed files: STLport-gcc34.patch -> 1.2 --- diff --git a/STLport-gcc34.patch b/STLport-gcc34.patch index 710a62b..e7b979f 100644 --- a/STLport-gcc34.patch +++ b/STLport-gcc34.patch @@ -1,8 +1,13 @@ --- STLport-4.6.1/stlport/config/stl_gcc.h.orig 2003-11-02 09:59:11.000000000 +0100 +++ STLport-4.6.1/stlport/config/stl_gcc.h 2004-02-27 18:51:56.250671472 +0100 -@@ -268,11 +268,11 @@ - # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward - # else +@@ -263,18 +263,13 @@ + + # if (__GNUC__ >= 3) + +-# if ((__GNUC_MINOR__ == 0) || (__APPLE__)) +-# define _STLP_NATIVE_INCLUDE_PATH ../g++-v3 +-# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward +-# else # if defined(__GNUC_PATCHLEVEL__) && (__GNUC_PATCHLEVEL__ > 0) -# define _STLP_NATIVE_INCLUDE_PATH ../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__ -# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/backward @@ -14,7 +19,9 @@ +# define _STLP_NATIVE_INCLUDE_PATH /usr/include/c++/__GNUC__.__GNUC_MINOR__.0 +# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH /usr/include/c++/__GNUC__.__GNUC_MINOR__.0/backward # endif - # endif +-# endif + + # elif (__GNUC_MINOR__ < 8) --- STLport-4.6.1/stlport/stl/_config.h.orig 2004-02-05 00:29:55.000000000 +0100 +++ STLport-4.6.1/stlport/stl/_config.h 2004-02-27 19:06:50.711692728 +0100