openbsd-ports/security/cyrus-sasl2/patches/patch-sample_server_c
ajacoutot 722cafbb93 Add a "gssapi" FLAVOR for Kerberos authentication.
While here, enable sqlite3 support unconditionally and drop the corresponding
FLAVOR.
2015-12-11 06:35:35 +00:00

20 lines
512 B
Plaintext

$OpenBSD: patch-sample_server_c,v 1.3 2015/12/11 06:35:35 ajacoutot Exp $
XXX push upstream:
gssapi/gssapi_ext.h is MIT specific, so including it with Heimdal can cause compilation problems
--- sample/server.c.orig Sat Jan 28 00:31:36 2012
+++ sample/server.c Thu Jun 13 12:32:23 2013
@@ -85,7 +85,11 @@
#ifdef HAVE_GSS_GET_NAME_ATTRIBUTE
#include <gssapi/gssapi.h>
+# ifndef KRB5_HEIMDAL
+# ifdef HAVE_GSSAPI_GSSAPI_EXT_H
#include <gssapi/gssapi_ext.h>
+# endif
+# endif
#endif
#include "common.h"