diff options
author | ume <ume@FreeBSD.org> | 2011-02-06 16:00:08 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2011-02-06 16:00:08 +0800 |
commit | 742c34b71736ed18d3ee4c941a888e9226921c2c (patch) | |
tree | 6b0b2a03f6582279228ed41b68b7d14b445523ec /security/cyrus-sasl2 | |
parent | 00846d07e254ec8ebb4160a36c0331dccfd2123f (diff) | |
download | freebsd-ports-gnome-742c34b71736ed18d3ee4c941a888e9226921c2c.tar.gz freebsd-ports-gnome-742c34b71736ed18d3ee4c941a888e9226921c2c.tar.zst freebsd-ports-gnome-742c34b71736ed18d3ee4c941a888e9226921c2c.zip |
Try to fix GSSAPI when using heimdal from ports.
Submitted by: Graham Todd <gtodd__at__bellanet.org>
Feature safe: yes
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r-- | security/cyrus-sasl2/files/patch-plugins::gssapi.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-plugins::gssapi.c b/security/cyrus-sasl2/files/patch-plugins::gssapi.c new file mode 100644 index 000000000000..c221714f5669 --- /dev/null +++ b/security/cyrus-sasl2/files/patch-plugins::gssapi.c @@ -0,0 +1,12 @@ +--- plugins/gssapi.c (revision 580) ++++ plugins/gssapi.c (working copy) +@@ -86,7 +86,7 @@ + + static const char * GSSAPI_BLANK_STRING = ""; + +-#ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE ++#if !defined(HAVE_GSS_C_NT_HOSTBASED_SERVICE) && !defined(GSS_C_NT_HOSTBASED_SERVICE) + extern gss_OID gss_nt_service_name; + #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name + #endif + |