[pkg-fgfs-crew] Bug#761203: simgear: Broken endianness detection

Rebecca Palmer rebecca_palmer at zoho.com
Thu Sep 11 16:52:41 UTC 2014


Package: simgear
Version: 3.2.0~git20140719+4a9125-2
Control: found -1 3.0.0-4
Control: tags -1 patch

simgear/nasal/naref.h uses a list of architectures to determine 
endianness, which is wrong on mipsel (it assumes __mips is always 
big-endian) and fails on anything it doesn't recognise (such as arm64: 
https://launchpadlibrarian.net/183053167/buildlog_ubuntu-utopic-arm64.simgear_3.0.0-4_FAILEDTOBUILD.txt.gz 
).

The attached replaces this with the gcc __BYTE_ORDER__ macro.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: naref_endianness.patch
Type: text/x-patch
Size: 2985 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fgfs-crew/attachments/20140911/f036340c/attachment.bin>


More information about the pkg-fgfs-crew mailing list