tag 531621 +patch thanks Hi,
The attached patch does the trick for me. I think this should work when the libc is glibc, which, I believe, is the case for all Debian ports. It should first be tested on a little endian platform, such as i386, though. (I do not currently have access to such a machine myself.) Best, --Lorenz
Index: libdvdread-4.1.3/src/bswap.h =================================================================== --- libdvdread-4.1.3.orig/src/bswap.h 2009-06-04 12:32:25.000000000 -0700 +++ libdvdread-4.1.3/src/bswap.h 2009-06-04 12:32:59.000000000 -0700 @@ -20,6 +20,11 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <endian.h> +#if BYTE_ORDER == BIG_ENDIAN +#define WORDS_BIGENDIAN +#endif + #include <config.h> #if defined(WORDS_BIGENDIAN)