[tlbuild] About building TeXLive on MSYS2/MinGW64

Angelo Graziosi angelo.g0 at libero.it
Sun Mar 1 23:41:50 CET 2020


> Il 1 marzo 2020 alle 13.08 luigi scarso ha scritto:
> 
> It's ok with
> x86_64-w64-mingw32-gcc (GCC) 7.3-win32 20180312
> only because in ws2tcpip.h I have
> #define InetNtopA inet_ntop
> 
> 
> Indeed in  luatexdir/luasocket/src/inet.h we have
> 
> 25 #if defined( __MINGW32__ ) || defined( __MINGW64__ )
> 26 #define LUASOCKET_INET_PTON
> 27 #endif
> 
> 49 #ifdef LUASOCKET_INET_PTON
> 50 const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
> 51 int inet_pton(int af, const char *src, void *dst);
> 52 #endif
> 
> Line 50 now is not ok anymore.

Have you some idea how to fix this? or just a workaround...

Ciao,
  Angelo.


More information about the tlbuild mailing list.