From 2852cd57ee490e35de3e43669b5189a411970c31 Mon Sep 17 00:00:00 2001 From: stefan Date: Sun, 17 Sep 2006 09:10:36 +0000 Subject: Add a patch to fix compilation on big endian systems. Noticed by: kris Approved by: maintainer --- mail/dbmail21/files/patch-dm_md5.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mail/dbmail21/files/patch-dm_md5.c (limited to 'mail/dbmail21') diff --git a/mail/dbmail21/files/patch-dm_md5.c b/mail/dbmail21/files/patch-dm_md5.c new file mode 100644 index 000000000000..e48944867155 --- /dev/null +++ b/mail/dbmail21/files/patch-dm_md5.c @@ -0,0 +1,20 @@ +--- dm_md5.c.orig Sat Sep 16 20:42:05 2006 ++++ dm_md5.c Sat Sep 16 20:44:42 2006 +@@ -42,6 +42,8 @@ + + #include "dbmail.h" + ++typedef unsigned int uint32; ++ + /* If endian.h is present, it will tell us, otherwise + * autoconf's AC_C_BIGENDIAN will have tested the host. */ + #if (BYTE_ORDER == LITTLE_ENDIAN) || !defined(WORDS_BIGENDIAN) +@@ -63,8 +65,6 @@ + } + + #endif +- +-typedef unsigned int uint32; + + struct GdmMD5Context { + uint32 buf[4]; -- cgit