Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2024 07:22:29 GMT
From:      Oleksii Samorukov <samm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 28f672749f5a - main - sysutils/busybox: fix build on non-intel arch
Message-ID:  <202410200722.49K7MTKY018987@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by samm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=28f672749f5abe074a8352421e4aab04111cf2df

commit 28f672749f5abe074a8352421e4aab04111cf2df
Author:     Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2024-10-20 07:22:19 +0000
Commit:     Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2024-10-20 07:22:19 +0000

    sysutils/busybox: fix build on non-intel arch
---
 ...box-1.37.0-fix-conditional-for-sha1_process_block64_shaNI | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sysutils/busybox/files/patch-busybox-1.37.0-fix-conditional-for-sha1_process_block64_shaNI b/sysutils/busybox/files/patch-busybox-1.37.0-fix-conditional-for-sha1_process_block64_shaNI
new file mode 100644
index 000000000000..f3c9b951205e
--- /dev/null
+++ b/sysutils/busybox/files/patch-busybox-1.37.0-fix-conditional-for-sha1_process_block64_shaNI
@@ -0,0 +1,12 @@
+--- libbb/hash_md5_sha.c.shaNI-fix	2024-09-27 09:57:09.601487627 -0400
++++ libbb/hash_md5_sha.c	2024-09-27 09:57:49.167153221 -0400
+@@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t *
+ 	hash_size = 8;
+ 	if (ctx->process_block == sha1_process_block64
+ #if ENABLE_SHA1_HWACCEL
++# if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
+ 	 || ctx->process_block == sha1_process_block64_shaNI
++# endif
+ #endif
+ 	) {
+ 		hash_size = 5;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410200722.49K7MTKY018987>