Note that the patch is passing tests when using autoconf build but
failing for meson builds.
http://cfbot.cputube.org/sandro-santilli.html
I imagine you need to make the corresponding change to ./meson.build
that you made to ./Makefile.
https://wiki.postgresql.org/wiki/Meson_for_patch_authors
https://wiki.postgresql.org/wiki/Meson
You can test under cirrusci from your github account, with instructions
at: ./src/tools/ci/README
Cheers,
--
Justin