mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build on sparc64
PR: ports/63884 Submitted by: maintainer
This commit is contained in:
parent
4a462d4c38
commit
f7bf813333
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103218
@ -36,10 +36,6 @@ SCRIPTDIR= ${SAMPLEDIR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= "Does not compile on sparc64"
|
||||
.endif
|
||||
|
||||
# Post-patch
|
||||
#
|
||||
|
||||
|
13
mail/pgp4pine/files/patch-md5.c
Normal file
13
mail/pgp4pine/files/patch-md5.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- pgp4pine/md5.c.orig Sun Mar 7 13:55:00 2004
|
||||
+++ pgp4pine/md5.c Sun Mar 7 13:55:02 2004
|
||||
@@ -288,8 +288,8 @@
|
||||
|
||||
p = hd->buf;
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
-#define X(a) do { *p++ = hd->##a ; *p++ = hd->##a >> 8; \
|
||||
- *p++ = hd->##a >> 16; *p++ = hd->##a >> 24; } while(0)
|
||||
+#define X(a) do { *p++ = (*hd).a ; *p++ = (*hd).a >> 8; \
|
||||
+ *p++ = (*hd).a >> 16; *p++ = (*hd).a >> 24; } while(0)
|
||||
#else /* little endian */
|
||||
/*#define X(a) do { *(u_int32_t*)p = hd->##a ; p += 4; } while(0)*/
|
||||
/* Unixware's cpp doesn't like the above construct so we do it his way:
|
Loading…
Reference in New Issue
Block a user