While $SUBJECT today -- using the sources from https://git.postgresql.org/git/pg_bsd_indent.git -- I ran into some problems. I got errors due to the replacement of pg_attribute_noreturn() with pg_return(), and warnings due to variable definitions with no previous extern declaration. Here's a quick and dirty patch.
-- Robert Haas EDB: http://www.enterprisedb.com
bsdindent.patch
Description: Binary data
