[pkg-boost-devel] Bug#503572: gnash FTBFS due to boost header bug
Thiemo Seufer
ths at networkno.de
Sun Oct 26 18:05:11 UTC 2008
Package: boost
Version: 1.34.1-11
Severity: serious
Tags: patch
gnash FTBFS on arm, armel, hppa, mipsel due to a bug in
boost/detail/endian.hpp. The appended patch fixes it.
Thiemo
--- boost-1.34.1/boost/detail/endian.hpp.orig 2008-10-26 17:35:45.000000000 +0000
+++ boost-1.34.1/boost/detail/endian.hpp 2008-10-26 17:50:57.000000000 +0000
@@ -51,8 +51,8 @@
#elif defined(__sparc) || defined(__sparc__) \
|| defined(_POWER) || defined(__powerpc__) \
|| defined(__ppc__) || defined(__hpux) \
- || defined(_MIPSEB) || defined(_POWER) \
- || defined(__s390__)
+ || defined(__hppa) || defined(_MIPSEB) \
+ || defined(__ARMEB__) || defined(__s390__)
# define BOOST_BIG_ENDIAN
# define BOOST_BYTE_ORDER 4321
#elif defined(__i386__) || defined(__alpha__) \
@@ -61,7 +61,8 @@
|| defined(_M_ALPHA) || defined(__amd64) \
|| defined(__amd64__) || defined(_M_AMD64) \
|| defined(__x86_64) || defined(__x86_64__) \
- || defined(_M_X64)
+ || defined(_M_X64) || defined(_MIPSEL) \
+ || defined(__ARMEL__)
# define BOOST_LITTLE_ENDIAN
# define BOOST_BYTE_ORDER 1234
More information about the pkg-boost-devel
mailing list