Date: Thu, 28 May 2026 05:32:14 +0000 From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 43fcc8b177e0 - main - mail/hashcash: fix build on powerpc* Message-ID: <6a17d35e.41e2b.359e0d41@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=43fcc8b177e0cb9db3aa652a14402012793b7193 commit 43fcc8b177e0cb9db3aa652a14402012793b7193 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2026-05-24 18:33:22 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2026-05-28 05:31:53 +0000 mail/hashcash: fix build on powerpc* --- fastmint_library.o --- fastmint_library.c: In function 'minter_library': fastmint_library.c:92:17: error: implicit declaration of function 'SHA1_Transform'; did you mean 'SHA1_Xform'? [-Wimplicit-function-declaration] 92 | SHA1_Transform( H, X ); | ^~~~~~~~~~~~~~ | SHA1_Xform --- mail/hashcash/files/patch-sha1.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/mail/hashcash/files/patch-sha1.h b/mail/hashcash/files/patch-sha1.h new file mode 100644 index 000000000000..f700ecf72d35 --- /dev/null +++ b/mail/hashcash/files/patch-sha1.h @@ -0,0 +1,25 @@ +--- sha1.h.orig ++++ sha1.h +@@ -36,8 +36,6 @@ + (ctx)->num = 0l \ + } while (0) + +-#define SHA1_Transform( iv, data ) SHA1_Xform( iv, data ) +- + #else + + typedef struct { +@@ -60,9 +58,12 @@ + + #endif + +-void SHA1_Xform( word32[ SHA1_DIGEST_WORDS ], ++void SHA1_Xform( word32[ SHA1_DIGEST_WORDS ], + const byte[ SHA1_INPUT_BYTES ] ); + ++void SHA1_Transform( word32[ SHA1_DIGEST_WORDS ], ++ const byte[ SHA1_INPUT_BYTES ] ); ++ + #if defined( __cplusplus ) + } + #endifhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a17d35e.41e2b.359e0d41>
