As of now, installation of Apple's game-porting-toolkit is again broken, regardless of CLT/Xcode versions used. The compilation fails with:
/private/tmp/game-porting-toolkit-20240603-70423-h1cgr2/wine/dlls/msvcrt20/msvcrt20.c: In function 'MSVCRT20__getmainargs':
/private/tmp/game-porting-toolkit-20240603-70423-h1cgr2/wine/dlls/msvcrt20/msvcrt20.c:35:5: error: implicit declaration of function '__getmainargs' [-Wimplicit-function-declaration]
35 | __getmainargs( argc, argv, envp, expand_wildcards, &new_mode );
| ^~~~~~~~~~~~~
/private/tmp/game-porting-toolkit-20240603-70423-h1cgr2/wine/dlls/msvcrt20/msvcrt20.c: In function 'MSVCRT20__wgetmainargs':
/private/tmp/game-porting-toolkit-20240603-70423-h1cgr2/wine/dlls/msvcrt20/msvcrt20.c:46:5: error: implicit declaration of function '__wgetmainargs'; did you mean 'MSVCRT20__wgetmainargs'? [-Wimplicit-function-declaration]
46 | __wgetmainargs( argc, wargv, wenvp, expand_wildcards, &new_mode );
| ^~~~~~~~~~~~~~
| MSVCRT20__wgetmainargs
make: *** [dlls/msvcrt20/msvcrt20.cross.o] Error 1
make: *** Waiting for unfinished jobs....
This requires fixing by Apple.