From 394142017372f7321d52261a69d35b306dbf58fc Mon Sep 17 00:00:00 2001 From: Stefan Walter Date: Sun, 17 Sep 2006 09:10:36 +0000 Subject: [PATCH] Add a patch to fix compilation on big endian systems. Noticed by: kris Approved by: maintainer --- mail/dbmail-devel/files/patch-dm_md5.c | 20 ++++++++++++++++++++ mail/dbmail21/files/patch-dm_md5.c | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 mail/dbmail-devel/files/patch-dm_md5.c create mode 100644 mail/dbmail21/files/patch-dm_md5.c diff --git a/mail/dbmail-devel/files/patch-dm_md5.c b/mail/dbmail-devel/files/patch-dm_md5.c new file mode 100644 index 000000000000..e48944867155 --- /dev/null +++ b/mail/dbmail-devel/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]; 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];