Package: libstlport4.6-dev Version: 4.6.1-1.1 Severity: wishlist Tags: patch Hi, the attached patch #define's _STLP_NOTHROW_INHERENTLY as throw() for builds with g++ 3.3 and lets OOo (besides fixes in OOo itself) build against libstlport4.6. Thanks to Arkadiusz Miskiewicz <arekm@pld-linux.org> for pointing me to it. I saw that /usr/include/_config.h defines that already for some cases (not __GNUC__ >= 3, though) and maybe it would make sense to add this to _config.h and #include stl/_config.h.... Grüße/Regards, René -- .''`. René Engelhard -- Debian GNU/Linux Developer : :' : http://www.debian.org | http://people.debian.org/~rene/ `. `' rene@debian.org | GnuPG-Key ID: 248AEB73 `- Fingerprint: 41FA F208 28D4 7CA5 19BB 7AD9 F859 90B0 248A EB73
diff -u stlport4.6-4.6.1/debian/changelog stlport4.6-4.6.1/debian/changelog --- stlport4.6-4.6.1/debian/changelog +++ stlport4.6-4.6.1/debian/changelog @@ -1,3 +1,10 @@ +stlport4.6 (4.6.1-2) unstable; urgency=low + + * #define _STLP_NOTHROW_INHERERENTLY throw() when building with g++ 3.x; + fixes OOo build, thanks Arkadiusz Miskiewicz from PLD + + -- + stlport4.6 (4.6.1-1) unstable; urgency=low * new upstream --- stlport4.6-4.6.1.orig/stlport/stdexcept +++ stlport4.6-4.6.1/stlport/stdexcept @@ -53,6 +53,10 @@ _STLP_BEGIN_NAMESPACE +#if (__GNUC__ >= 3) +#define _STLP_NOTHROW_INHERENTLY throw() +#endif + # if ! defined (_STLP_NO_EXCEPTION_HEADER) # if !defined(_STLP_EXCEPTION_BASE) && !defined(_STLP_BROKEN_EXCEPTION_CLASS) && defined (_STLP_USE_NAMESPACES) && defined (_STLP_USE_OWN_NAMESPACE) using _STLP_VENDOR_EXCEPT_STD::exception;
Attachment:
signature.asc
Description: Digital signature