forked from Lainports/freebsd-ports
- 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]
16 lines
415 B
C
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) \
|