This patch fixes a build error with gcc 14:
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/libcddb/files/libcddb-1.3.2-c99.patch?id=9200fde5b926191737a8380a08cffa2998013945
Here is a corresponding bug report: https://bugs.gentoo.org/919280#c12
A better fix is just to change the type of l to socklen_t:
https://offog.org/git/garstow/media/libcddb/patches/gcc-15.diff
The pointer cast will silently give the wrong behaviour if the types aren't the same (and strictly it's UB in modern C).