Fix compilation of uuid-ossp
authorMichael Paquier <michael@paquier.xyz>
Thu, 10 Dec 2020 03:49:43 +0000 (12:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 10 Dec 2020 03:49:43 +0000 (12:49 +0900)
commit525e60b7429925d09fce1b5aa0bc2f23cfe6dd18
tree5f364b268eabd2310baddc35dbf2aaabfa1b0e84
parentb67b57a966af0c4a9547ac6fff334d3c256d9c2a
Fix compilation of uuid-ossp

This module had a dependency on pgcrypto's md5.c that got removed by
b67b57a.  Instead of the code from pgcrypto, this code can just use the
new cryptohash routines for MD5 as a drop-in replacement, so let's just
do this switch.  This has also the merit to simplify a bit the
compilation of uuid-ossp.

This requires --with-uuid to be reproduced, and I have used e2fs as a
way to reproduce the failure, then test this commit.

Per reports from buildfarm members longfin, florican and sifaka.

Discussion: https://postgr.es/m/X9GToVd3QmWeNvj8@paquier.xyz
configure
configure.ac
contrib/uuid-ossp/Makefile
contrib/uuid-ossp/uuid-ossp.c