pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/gnupg2/patches



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 17 09:13:18 UTC 2022

Added Files:
        pkgsrc/security/gnupg2/patches: patch-dirmngr_server.c

Log Message:
gnupg2: add new patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/gnupg2/patches/patch-dirmngr_server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/security/gnupg2/patches/patch-dirmngr_server.c
diff -u /dev/null pkgsrc/security/gnupg2/patches/patch-dirmngr_server.c:1.1
--- /dev/null   Mon Oct 17 09:13:18 2022
+++ pkgsrc/security/gnupg2/patches/patch-dirmngr_server.c       Mon Oct 17 09:13:18 2022
@@ -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