It looks like this needs a big rebase in fea-uth.c fe-auth-scram.c and fe-connect.c. Every hunk is failing which perhaps means the code you're patching has been moved or refactored?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных