HomeFreeBSD

security/gnupg: Fix dirmngr crash caused by gettext 0.22

Description

security/gnupg: Fix dirmngr crash caused by gettext 0.22

Link the threading library after libgpg-error (and libgcrypt, which also
links to libgpg-error) so the threading library is initialised before
libgpg-error. The initialisation function of libgpg-error calls gettext
functions that call threading functions (mutex locking).

PR: 272472
Tested by: yasu

Details