libgcrypt: keep new lock behavior but only do so around collector access

Not around a function that itself will grab the rng lock.

Unfortunate that we obtain/release the lock twice
but this seems least invasive way to fix this.
This commit is contained in:
Will Dietz
2018-06-20 14:03:08 -05:00
parent 5039d6ed1f
commit 7cfdb8950d
2 changed files with 31 additions and 0 deletions
@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
# The build enables -O2 by default for everything else.
hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "fortify";
patches = [ ./fix-jent-locking.patch ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [ libgpgerror ]