diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2025-03-21 22:34:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-03-21 22:34:57 +0100 |
commit | d3956521e58744ee9f68394ad5a7f648b55ff945 (patch) | |
tree | 5fda802bde0eab79db82adeba37cba2dbd882348 | |
parent | 86b5111a7cba9be862db5e96951456330a68f50d (diff) |
busybox: add patch from buildroot
-rw-r--r-- | package/busybox/patches/004-libbb-sha-add-missing-guard.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/busybox/patches/004-libbb-sha-add-missing-guard.patch b/package/busybox/patches/004-libbb-sha-add-missing-guard.patch new file mode 100644 index 000000000..ec41ba73a --- /dev/null +++ b/package/busybox/patches/004-libbb-sha-add-missing-guard.patch @@ -0,0 +1,17 @@ +diff --git a/libbb/hash_md5_sha.c b/libbb/hash_md5_sha.c +index 57a801459..75a61c32c 100644 +--- a/libbb/hash_md5_sha.c ++++ b/libbb/hash_md5_sha.c +@@ -1313,7 +1313,9 @@ unsigned FAST_FUNC sha1_end(sha1_ctx_t *ctx, void *resbuf) + 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; +-- +2.48.1 + |