@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
2727 readline libusb gnutls adns openldap zlib bzip2
2828 ];
2929
30+ # gpgsm-linking is fixed by commit (c49c43d7) in the gnupg master branch;
31+ # fix-gpgsm-linking.patch should be dropped after gnupg 2.1.15 is released
32+ patches = [ ./fix-gpgsm-linking.patch ];
33+
3034 postPatch = stdenv.lib.optionalString stdenv.isLinux ''
3135 sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c
3236 ''; #" fix Emacs syntax highlighting :-(