summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2011-02-06 08:00:08 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2011-02-06 08:00:08 +0000
commit1c2c5282c5e1b8c9bfdbf07e1c08f756dcda6b80 (patch)
treef041ebb85184969ef4225ff99c5c3ca481a08363 /security
parentBackout previous commit. (diff)
Try to fix GSSAPI when using heimdal from ports.
Submitted by: Graham Todd <gtodd__at__bellanet.org> Feature safe: yes
Notes
Notes: svn path=/head/; revision=268705
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2/files/patch-plugins::gssapi.c12
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
+