mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add a patch to fix compilation on big endian systems.
Noticed by: kris Approved by: maintainer
This commit is contained in:
parent
9c4fbdd2fe
commit
3941420173
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173225
2 changed files with 40 additions and 0 deletions
20
mail/dbmail-devel/files/patch-dm_md5.c
Normal file
20
mail/dbmail-devel/files/patch-dm_md5.c
Normal file
|
@ -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];
|
20
mail/dbmail21/files/patch-dm_md5.c
Normal file
20
mail/dbmail21/files/patch-dm_md5.c
Normal file
|
@ -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];
|
Loading…
Add table
Reference in a new issue