The commit message says "sync, do not apply clang build patch, could break more than it fixes". The existing code is wrong, upstream agreed and they accepted the patch. What is wrong with this patch?
in ncurses-5.9-r02.1