While testing id3lib-3.8.3 on MacOSX I found that the the
problem addressed by J.A. Gutierrez (Patch: 'big endian
host') still is present in 3.8.3.
I couldn't find his patch in the patches section, but found it
in the mailing list... anyway I have updated it for 3.8.3
and modified it slightly, as it didn't work as expected.
(io::readLENumber and io::readBENumber don't need to be
touched as they already seem to be endian-safe.)
To detect the endianness of the system we should use the
standard autoconf test AC_C_BIGENDIAN(), which sets the
variable WORDS_BIGENDIAN. So AC_C_BIGENDIAN()
should be added to the section 'Checks for typedefs,
structures, and compiler characteristics.' in configure.in or
configure.ac.
big endian patch for id3lib-3.8.3
Logged In: YES
user_id=564388
It's in cvs, except for the check AC_C_BIGENDIAN, so i leave
it open for now, so i don't forget.