compilation fails with error in DNSClient_cares.cxx
## Summary compilation fails with error: ``` simgear/io/DNSClient_cares.cxx:56:19: error: invalid conversion from ‘void (*)(void*, int, int, unsigned char*, int)’ to ‘ares_callback’ {aka ‘void (*)(void*, int, int, const unsigned char*, int)’} ``` ## Steps to reproduce git pull; make ## What is the current bug behavior? as in description ## What is the expected correct behavior? compilation should not fail ## Relevant logs and/or screenshots [compiler_output.txt](/uploads/d5560caee8f0a357f6f65293a2873d96/compiler_output.txt) ## System and version information ``` download_and_compile.sh --git-info CARES 66a56075 origin/v1.34 https://github.com/c-ares/c-ares.git DATA 1920a4a7d origin/release/2024.1 https://gitlab.com/flightgear/fgdata.git FGFS 7c66da8f2 origin/release/2024.1 https://gitlab.com/flightgear/flightgear.git OSG b5895abe0 origin/release/2024-build https://gitlab.com/flightgear/openscenegraph.git PLIB aab82ea origin/master https://git.code.sf.net/p/libplib/code SIMGEAR 8381e3c3 origin/release/2024.1 https://gitlab.com/flightgear/simgear.git ``` ## Possible fixes this patch solves the issue [DNSClient_cxx.patch](/uploads/8858137b4353e5205cb677485b9936d2/DNSClient_cxx.patch)
issue