| 1 |
Description: kpathsea's custom getcwd stats() all siblings of all parents |
| 2 |
Due to a bug in texk/kpathsea/configure.ac a test binary can't be compiled |
| 3 |
using gcc-15, hence the configure run gives wrong results. |
| 4 |
Author: Emmanuel Thome <[email protected]> |
| 5 |
Origin: other |
| 6 |
Forwarded: https://tug.org/pipermail/tex-k/2026-May/004322.html |
| 7 |
Applied-Upstream: <version|URL|commit, identifies patches merged upstream, optional> |
| 8 |
Last-Update: 2026-05-06 |
| 9 |
--- |
| 10 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 11 |
--- texlive-bin.orig/texk/kpathsea/configure.ac |
| 12 |
+++ texlive-bin/texk/kpathsea/configure.ac |
| 13 |
@@ -48,7 +48,7 @@ |
| 14 |
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h> |
| 15 |
int fork() { exit(1); } |
| 16 |
int vfork() { exit(1); } |
| 17 |
- extern char *getcwd(); |
| 18 |
+ extern char *getcwd(char *, size_t); |
| 19 |
char path[100];]], |
| 20 |
[[getcwd(path,100);]])], |
| 21 |
[kb_cv_func_getcwd_forks=no], |