summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2006-09-17 09:10:36 +0000
committerStefan Walter <stefan@FreeBSD.org>2006-09-17 09:10:36 +0000
commit394142017372f7321d52261a69d35b306dbf58fc (patch)
tree94ce8e9555b8ee7ecdad517b4e6ed2a11ba8c4dd
parentDrop maintainership. (diff)
Add a patch to fix compilation on big endian systems.
Noticed by: kris Approved by: maintainer
-rw-r--r--mail/dbmail-devel/files/patch-dm_md5.c20
-rw-r--r--mail/dbmail21/files/patch-dm_md5.c20
2 files changed, 40 insertions, 0 deletions
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];