diff options
author | sem <sem@FreeBSD.org> | 2004-12-13 07:32:32 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-13 07:32:32 +0800 |
commit | 9d7f3f13df16452c7e058534a350c216c33407af (patch) | |
tree | b6336a9ea3c4bca0e8b70fc97e30c3f71a7692aa /devel/stlport | |
parent | 8c10e95c8dd2c635ce56245df699a427eda2e317 (diff) | |
download | freebsd-ports-gnome-9d7f3f13df16452c7e058534a350c216c33407af.tar.gz freebsd-ports-gnome-9d7f3f13df16452c7e058534a350c216c33407af.tar.zst freebsd-ports-gnome-9d7f3f13df16452c7e058534a350c216c33407af.zip |
- Utilize a new gcc feature
PR: ports/74550
Submitted by: Sepherosa Ziehau <sepherosa(at)softhome.net>
Diffstat (limited to 'devel/stlport')
-rw-r--r-- | devel/stlport/files/patch-stlport::config::stl_gcc.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/devel/stlport/files/patch-stlport::config::stl_gcc.h b/devel/stlport/files/patch-stlport::config::stl_gcc.h index ebf04c8fda57..cf4203be4dab 100644 --- a/devel/stlport/files/patch-stlport::config::stl_gcc.h +++ b/devel/stlport/files/patch-stlport::config::stl_gcc.h @@ -1,14 +1,13 @@ --- stlport/config/stl_gcc.h.orig Sun Nov 2 16:59:11 2003 -+++ stlport/config/stl_gcc.h Mon Nov 8 19:15:42 2004 -@@ -7,11 +7,21 @@ ++++ stlport/config/stl_gcc.h Mon Nov 29 18:42:05 2004 +@@ -7,11 +7,20 @@ # define _STLP_USE_GLIBC #endif -+#if defined(__FreeBSD__) && (__FreeBSD_cc_version >= 530001) -+# define _STLP_DONT_USE_NESTED_TCLASS_THROUGHT_TPARAM 1 ++#if !defined(__FreeBSD__) || (defined(__FreeBSD__) && (__FreeBSD_cc_version < 530001)) + # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD +#endif + - # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD -# if defined(__FreeBSD__) || defined (__hpux) || defined(__amigaos__) || ( defined(__OS2__) && defined(__EMX__) ) +#if defined (__hpux) || defined(__amigaos__) || ( defined(__OS2__) && defined(__EMX__) ) @@ -24,7 +23,7 @@ #ifdef __USLC__ # include <config/stl_sco.h> -@@ -81,7 +91,7 @@ +@@ -81,7 +90,7 @@ # endif @@ -33,7 +32,7 @@ #ifndef __MINGW32__ # define _STLP_NO_NATIVE_MBSTATE_T 1 #endif -@@ -267,7 +277,7 @@ +@@ -267,7 +276,7 @@ # define _STLP_NATIVE_INCLUDE_PATH ../g++-v3 # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward # else |