Files
patches/libxcrypt/libxcrypt-4.5.2-glibc-2.43-strchr-const.patch
T
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

25 lines
960 B
Diff

diff -ruN a/lib/crypt-gost-yescrypt.c b/lib/crypt-gost-yescrypt.c
--- a/lib/crypt-gost-yescrypt.c 2025-01-03 12:08:44.000000000 -0600
+++ b/lib/crypt-gost-yescrypt.c 2026-05-29 16:07:10.245211533 -0500
@@ -131,7 +131,7 @@
intbuf->outbuf[1] = 'g';
/* extract yescrypt output from "$y$param$salt$output" */
- char *hptr = strchr ((const char *) intbuf->retval + 3, '$');
+ char *hptr = strchr (( char *) intbuf->retval + 3, '$');
if (!hptr)
{
errno = EINVAL;
diff -ruN a/lib/crypt-sm3-yescrypt.c b/lib/crypt-sm3-yescrypt.c
--- a/lib/crypt-sm3-yescrypt.c 2025-11-05 03:49:40.000000000 -0600
+++ b/lib/crypt-sm3-yescrypt.c 2026-05-29 16:07:10.245128194 -0500
@@ -136,7 +136,7 @@
intbuf->outbuf[3] = '3';
/* extract yescrypt output from "$y$param$salt$output" */
- char *hptr = strchr ((const char *) intbuf->retval + 3, '$');
+ char *hptr = strchr (( char *) intbuf->retval + 3, '$');
if (!hptr)
{
errno = EINVAL;