Description: kpathsea's custom getcwd stats() all siblings of all parents Due to a bug in texk/kpathsea/configure.ac a test binary can't be compiled using gcc-15, hence the configure run gives wrong results. Author: Emmanuel Thome Origin: other Forwarded: https://tug.org/pipermail/tex-k/2026-May/004322.html Applied-Upstream: Last-Update: 2026-05-06 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- texlive-bin.orig/texk/kpathsea/configure.ac +++ texlive-bin/texk/kpathsea/configure.ac @@ -48,7 +48,7 @@ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include int fork() { exit(1); } int vfork() { exit(1); } - extern char *getcwd(); + extern char *getcwd(char *, size_t); char path[100];]], [[getcwd(path,100);]])], [kb_cv_func_getcwd_forks=no],