Files
patches/libxcrypt/libxcrypt-4.5.2-clang-extract64-no-statement-expression.patch
SFG545 accdf3d3fb Add runtime compatibility patch set
Add an LLVM 22.1.6 runtimes patch for building libc++, libc++abi, and llvm-libgcc together. The patch lets libc++abi accept llvm-libgcc as the provider of the LLVM unwinder, keeps the libgcc_s version script private to libunwind so it does not leak into libc++abi links, and adds an opt-out for building compiler-rt inside llvm-libgcc when an exported external builtins archive is available.

Add libxcrypt patches for current Clang/glibc builds: avoid treating Clang as old GCC in yescrypt assembly selection and adjust yescrypt strchr call sites for the newer glibc const-correct prototype behavior.

Add a mandoc 1.14.6 patch for zstd-compressed manual pages, including configure checks, linker flags, documentation, section matching, and decompression handling.

Remove the obsolete Perl 5.42.2 LBI patch from the patch set.
2026-05-29 22:23:57 -05:00

14 lines
445 B
Diff

diff -ruN a/lib/alg-yescrypt-opt.c b/lib/alg-yescrypt-opt.c
--- a/lib/alg-yescrypt-opt.c 2025-11-05 03:49:40.000000000 -0600
+++ b/lib/alg-yescrypt-opt.c 2026-05-29 16:10:57.694185418 -0500
@@ -464,7 +464,8 @@
#endif
#if defined(__x86_64__) && \
- __GNUC__ == 4 && __GNUC_MINOR__ < 6 && !defined(__ICC)
+ __GNUC__ == 4 && __GNUC_MINOR__ < 6 && !defined(__clang__) && \
+ !defined(__ICC)
#ifdef __AVX__
#define MOVQ "vmovq"
#else