diff options
author | stefan <stefan@FreeBSD.org> | 2006-09-17 17:10:36 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2006-09-17 17:10:36 +0800 |
commit | 2852cd57ee490e35de3e43669b5189a411970c31 (patch) | |
tree | aea3ae357515ade0b2069c49f401b6a81e63f1a0 /mail/dbmail21 | |
parent | e86d339fca83b8d32acbac746cc93c761b3b4ab8 (diff) | |
download | freebsd-ports-gnome-2852cd57ee490e35de3e43669b5189a411970c31.tar.gz freebsd-ports-gnome-2852cd57ee490e35de3e43669b5189a411970c31.tar.zst freebsd-ports-gnome-2852cd57ee490e35de3e43669b5189a411970c31.zip |
Add a patch to fix compilation on big endian systems.
Noticed by: kris
Approved by: maintainer
Diffstat (limited to 'mail/dbmail21')
-rw-r--r-- | mail/dbmail21/files/patch-dm_md5.c | 20 |
1 files changed, 20 insertions, 0 deletions
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]; |