Andrew, I built with the attached 0001-Fix-libuuid ... patch just fine.  I will execute the binary for a couple of days and compare this patch with the netBSD similar one that was attached.  There should not be any issues, but since I have no idea how "UUIDs generated by this library" are used in CinGG, will test some more.

On Mon, Apr 3, 2023 at 9:45 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
Attached patch fix build of libuuid-1.0.3 on Termux current (with clang-16)

Also attached patch I based my patch on, from NetBSD sources

it tries to do more renaming, but I think I need another patch for completing renaming, so this part is dropped  ( hopefully only relevant on Solaris)