pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnupg2/patches gnupg2: add new patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb2810e3f140
branches:  trunk
changeset: 386888:cb2810e3f140
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 17 09:13:18 2022 +0000

description:
gnupg2: add new patch

diffstat:

 security/gnupg2/patches/patch-dirmngr_server.c |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 9c721b3e79c8 -r cb2810e3f140 security/gnupg2/patches/patch-dirmngr_server.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/gnupg2/patches/patch-dirmngr_server.c    Mon Oct 17 09:13:18 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-dirmngr_server.c,v 1.1 2022/10/17 09:13:18 adam Exp $
+
+Fix building with LDAP support disabled.
+
+--- dirmngr/server.c.orig      2022-10-17 07:38:14.000000000 +0000
++++ dirmngr/server.c
+@@ -3135,7 +3135,9 @@ start_command_handler (assuan_fd_t fd, u
+                ctrl->refcount);
+   else
+     {
++#if USE_LDAP
+       ks_ldap_free_state (ctrl->ks_get_state);
++#endif /*USE_LDAP*/
+       ctrl->ks_get_state = NULL;
+       release_ctrl_ocsp_certs (ctrl);
+       xfree (ctrl->server_local);



Home | Main Index | Thread Index | Old Index