git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17642 from svend/gnupg21-fix-gpgsm-linking

gnupg: Fix gpgsm linking for gnupg 2.1.14

commit65ed79a1e86cc0e48a6d2a5e08bb336551ee0337 authorDaniel Peebles <copumpkin@users.noreply.github.com> dateMon 15 Aug 2016, 14:19 (10 years ago) parentef15f01ac28366
2 files changed+15
pkgs/tools/security/gnupg/21.nix+4 pkgs/tools/security/gnupg/fix-gpgsm-linking.patch+11
pkgs/tools/security/gnupg/21.nix+4
@@ -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 :-(
pkgs/tools/security/gnupg/fix-gpgsm-linking.patchnew file+11
@@ -0,0 +1,11 @@
1+--- a/tests/gpgscm/Makefile.in
2++++ b/tests/gpgscm/Makefile.in
3+@@ -457,7 +457,7 @@
4+ scheme-config.h opdefines.h scheme.c scheme.h scheme-private.h
5+
6+ gpgscm_LDADD = $(LDADD) $(common_libs) \
7+- $(NETLIBS) $(LIBICONV) $(LIBREADLINE) \
8++ $(NETLIBS) $(LIBICONV) $(LIBREADLINE) $(LIBINTL) \
9+ $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS)
10+
11+ t_child_SOURCES = t-child.c