pkgsrc/net/netatalk22/patches/patch-etc_uams_uams_gss.c
hauke 26e493cf4d Rename net/netatalk to net/netatalk22. This is the last version to
support the AppleTalk ddp protocol, and here to stay while NetBSD
ships with AppleTalk support.

Add Netatalk 3.0.8 wip package as net/netatalk30.

"Netatalk 3 is a freely-available implementation of the Apple
Filesharing Protocol Suite (AFP) over TCP/IP.

Using Netatalk's AFP 3.1 compliant file-server leads to significantly
higher transmissions speeds compared with Macs accessing a server via
SMB or NFS, while providing clients with the best user experience (full
support for Macintosh metadata, flawlessly supporting mixed
environments of classic MacOS and MacOS X clients)."
2014-06-11 11:03:56 +00:00

17 lines
553 B
C

$NetBSD: patch-etc_uams_uams_gss.c,v 1.1 2014/06/11 11:03:56 hauke 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