Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 151131 Details for
Bug 219457
dev-libs/STLport-5.1.3 fails with gcc-4.3.0; bump and patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
STLport-5.1.5-cxx_use_c99.patch
STLport-5.1.5-cxx_use_c99.patch (text/plain), 1.35 KB, created by
Peter Alfredsen (RETIRED)
on 2008-04-27 13:36:14 UTC
(
hide
)
Description:
STLport-5.1.5-cxx_use_c99.patch
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2008-04-27 13:36:14 UTC
Size:
1.35 KB
patch
obsolete
>--- STLport-5.1.5.orig/stlport/stl/_cstdlib.h >+++ STLport-5.1.5/stlport/stl/_cstdlib.h >@@ -16,12 +16,27 @@ > #ifndef _STLP_INTERNAL_CSTDLIB > #define _STLP_INTERNAL_CSTDLIB > >+/* Work around inconsistent definition of _GLIBCXX_USE_C99 across arches; on >+ * these arches std::llabs is therefore not available. >+ * >+ * See http://bugs.debian.org/443234 >+ */ >+#ifndef _GLIBCXX_USE_C99 >+#define _GLIBCXX_USE_C99 1 >+#define _HACK_CXX_USE_C99 1 >+#endif >+ > #if defined (_STLP_USE_NEW_C_HEADERS) > # include _STLP_NATIVE_CPP_C_HEADER(cstdlib) > #else > # include <stdlib.h> > #endif > >+#ifdef _HACK_CXX_USE_C99 >+#undef _GLIBCXX_USE_C99 >+#undef _HACK_CXX_USE_C99 >+#endif >+ > #if defined (__BORLANDC__) > /* Borland process.h header do not bring anything here and is just included > * in order to avoid inclusion later. This header cannot be included later >--- STLport-5.1.5.orig/stlport/stl/_cmath.h >+++ STLport-5.1.5/stlport/stl/_cmath.h >@@ -21,7 +21,16 @@ > * so cstdlib has to be included first. > */ > #if defined (__GNUC__) && defined (_STLP_USE_NEW_C_HEADERS) >+/* See http://bugs.debian.org/443234 */ >+# ifndef _GLIBCXX_USE_C99 >+# define _GLIBCXX_USE_C99 1 >+# define _HACK_CXX_USE_C99 1 >+# endif > # include _STLP_NATIVE_CPP_C_HEADER(cstdlib) >+# ifdef _HACK_CXX_USE_C99 >+# undef _GLIBCXX_USE_C99 >+# undef _HACK_CXX_USE_C99 >+# endif > #endif > > #if defined (_STLP_USE_NEW_C_HEADERS)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219457
:
151128
|
151129
|
151130
| 151131 |
151133
|
151135
|
151137
|
151138
|
151139