summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-etc_uams_uams_gss.c
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2013-02-22 22:41:32 +0000
committermarkd <markd@pkgsrc.org>2013-02-22 22:41:32 +0000
commit971b86a456763132a7924653c4ef7c8dd487d42f (patch)
tree9cae25d5dff73349e5195b0a0d1c6fa462eda567 /net/netatalk/patches/patch-etc_uams_uams_gss.c
parent364f45a27ec52d8bfedec96d93d7e40516e21985 (diff)
downloadpkgsrc-971b86a456763132a7924653c4ef7c8dd487d42f.tar.gz
Dont override the value of GSS_C_NT_HOSTBASED_SERVICE that recent
Heimdal's set.
Diffstat (limited to 'net/netatalk/patches/patch-etc_uams_uams_gss.c')
-rw-r--r--net/netatalk/patches/patch-etc_uams_uams_gss.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/netatalk/patches/patch-etc_uams_uams_gss.c b/net/netatalk/patches/patch-etc_uams_uams_gss.c
new file mode 100644
index 00000000000..f843e77592d
--- /dev/null
+++ b/net/netatalk/patches/patch-etc_uams_uams_gss.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-etc_uams_uams_gss.c,v 1.1 2013/02/22 22:41:32 markd Exp $
+
+Dont override the value that recent Heimdal's set.
+
+--- etc/uams/uams_gss.c.orig 2011-07-22 04:30:42.000000000 +0000
++++ etc/uams/uams_gss.c
+@@ -64,8 +64,10 @@ char *strchr (), *strrchr ();
+ /* We work around something I don't entirely understand... */
+ /* BF: This is a Heimdal/MIT compatibility fix */
+ #ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE
++#ifndef GSS_C_NT_HOSTBASED_SERVICE
+ #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
+ #endif
++#endif
+
+ #ifdef MIN
+ #undef MIN