The nmu diff. Bastian
-- The idea of male and female are universal constants. -- Kirk, "Metamorphosis", stardate 3219.8
--- stlport5-5.0.0/stlport/config/stl_gcc.h +++ stlport5-5.0.0/stlport/config/stl_gcc.h @@ -495,6 +495,14 @@ # define _STLP_NO_LONG_DOUBLE #endif +#if defined (__s390__) +# define _STLP_NO_LONG_DOUBLE +#endif + +#if defined (__sparc) +# define _STLP_NO_LONG_DOUBLE +#endif + /* Local Variables: mode:C++ --- stlport5-5.0.0/debian/changelog +++ stlport5-5.0.0/debian/changelog @@ -1,3 +1,12 @@ +stlport5 (5.0.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Use endian.h. (closes: #342133) + * Don't use long double on s390 and sparc (patch from Blars Blarson + <[EMAIL PROTECTED]>). (closes: #342311) + + -- Bastian Blank <[EMAIL PROTECTED]> Sat, 31 Dec 2005 11:32:57 +0000 + stlport5 (5.0.0-1) unstable; urgency=low * new upstream version, upload to unstable, closes: #319484 --- stlport5-5.0.0/stlport/stl/_config.h +++ stlport5-5.0.0/stlport/stl/_config.h @@ -159,22 +159,12 @@ # define _STLP_DONT_USE_PTR_SPECIALIZATIONS 1 #endif - #if !defined (_STLP_BIG_ENDIAN) && ! defined (_STLP_LITTLE_ENDIAN) -# if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \ - defined (__hpux) || defined (macintosh) || defined (_MAC) +# include <endian.h> +# if __BYTE_ORDER == __BIG_ENDIAN # define _STLP_BIG_ENDIAN 1 -# elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || \ - defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \ - defined (__alpha__) +# elif __BYTE_ORDER == __LITTLE_ENDIAN # define _STLP_LITTLE_ENDIAN 1 -# elif defined (__ia64__) - /* itanium allows both settings (for instance via gcc -mbig-endian) - hence a seperate check is required */ -# if defined (__BIG_ENDIAN__) -# define _STLP_BIG_ENDIAN 1 -# else -# define _STLP_LITTLE_ENDIAN 1 -# endif # else # define _STLP_UNKNOWN_ENDIAN 1 # endif