Commit 618a9f3
shadow: fix 4.20.0 build under gcc 15 (-include stdint.h -D_GNU_SOURCE)
shadow 4.20.0's new code trips gcc 15's stricter defaults (implicit
declarations are hard errors): find_new_sub_{uid,gid}s.c use uintmax_t
without <stdint.h>, and chkname.c uses strdupa without _GNU_SOURCE.
Fixed via CFLAGS rather than per-file patches. Verified with a cold
local build of shadow 4.20.0.
Co-Authored-By: Claude Opus <noreply@anthropic.com>1 parent 6b7a363 commit 618a9f3
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
0 commit comments