Original query:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv  -I. -I. -I/Users/david/.pgenv/pgsql-9.2.24/include/server -I/Users/david/.pgenv/pgsql-9.2.24/include/internal -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libxml2   -c -o src/semver.o src/semver.c
src/semver.c:632:40: error: use of undeclared identifier 'hashtext'
        hash = DirectFunctionCall1Coll(hashtext, C_COLLATION_OID, prerel);
                                       ^
src/semver.c:636:41: error: use of undeclared identifier 'hashint2'; did you mean
      'hashinet'?
        hash ^= DirectFunctionCall1Coll(hashint2, C_COLLATION_OID, version->numbers[i]);
                                        ^~~~~~~~
                                        hashinet
/Users/david/.pgenv/pgsql-9.2.24/include/server/utils/builtins.h:865:14: note: 'hashinet'
      declared here
extern Datum hashinet(PG_FUNCTION_ARGS);
             ^
2 errors generated.