freebsd-ports/multimedia/libdvdread/files/patch-src.md5.c
Ganael LAPLANCHE a6a77bf429 - Update libdvdread and libdvdnav to 4.2.0 and bump dependent ports' revisions
- libdvdread: allow package building with libdvdcss if WITH_DVDCSS is set [1]
- libdvdread/libdvdnav: fix endianness handling [2]

Submitted by: olgeni [1], richo <richo@psych0tik.net> [2] (via mail to ports@)
PR: ports/162197 [1]
2012-01-17 14:35:18 +00:00

16 lines
415 B
C

--- src/md5.c.orig 2011-12-09 11:27:02.423821748 +0100
+++ src/md5.c 2011-12-09 11:29:07.409821303 +0100
@@ -28,12 +28,7 @@
#include "md5.h"
/* #include "unlocked-io.h" */
-#ifdef _LIBC
-# include <endian.h>
-# if __BYTE_ORDER == __BIG_ENDIAN
-# define WORDS_BIGENDIAN 1
-# endif
-#endif
+#include "config.h"
#ifdef WORDS_BIGENDIAN
# define SWAP(n) \