forked from mirrors/nixpkgs
Merge pull request #17642 from svend/gnupg21-fix-gpgsm-linking
gnupg: Fix gpgsm linking for gnupg 2.1.14
This commit is contained in:
commit
65ed79a1e8
|
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
|||
readline libusb gnutls adns openldap zlib bzip2
|
||||
];
|
||||
|
||||
# gpgsm-linking is fixed by commit (c49c43d7) in the gnupg master branch;
|
||||
# fix-gpgsm-linking.patch should be dropped after gnupg 2.1.15 is released
|
||||
patches = [ ./fix-gpgsm-linking.patch ];
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c
|
||||
''; #" fix Emacs syntax highlighting :-(
|
||||
|
|
11
pkgs/tools/security/gnupg/fix-gpgsm-linking.patch
Normal file
11
pkgs/tools/security/gnupg/fix-gpgsm-linking.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/tests/gpgscm/Makefile.in
|
||||
+++ b/tests/gpgscm/Makefile.in
|
||||
@@ -457,7 +457,7 @@
|
||||
scheme-config.h opdefines.h scheme.c scheme.h scheme-private.h
|
||||
|
||||
gpgscm_LDADD = $(LDADD) $(common_libs) \
|
||||
- $(NETLIBS) $(LIBICONV) $(LIBREADLINE) \
|
||||
+ $(NETLIBS) $(LIBICONV) $(LIBREADLINE) $(LIBINTL) \
|
||||
$(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS)
|
||||
|
||||
t_child_SOURCES = t-child.c
|
Loading…
Reference in a new issue