[31143] trunk/dports/net/yafc

ram at macports.org ram at macports.org
Fri Nov 16 15:17:19 PST 2007


Revision: 31143
          http://trac.macosforge.org/projects/macports/changeset/31143
Author:   ram at macports.org
Date:     2007-11-16 15:17:18 -0800 (Fri, 16 Nov 2007)

Log Message:
-----------
enable building on Leopard, fixes #13034 - build fix by Tim Clem

Modified Paths:
--------------
    trunk/dports/net/yafc/Portfile

Added Paths:
-----------
    trunk/dports/net/yafc/files/patch-lib__gssapi.c-darwin9.diff

Modified: trunk/dports/net/yafc/Portfile
===================================================================
--- trunk/dports/net/yafc/Portfile	2007-11-16 22:34:23 UTC (rev 31142)
+++ trunk/dports/net/yafc/Portfile	2007-11-16 23:17:18 UTC (rev 31143)
@@ -38,3 +38,7 @@
 platform darwin 8 {
 	patchfiles-append patch-lib__gssapi.c
 }
+
+platform darwin 9 {
+  patchfiles-append patch-lib__gssapi.c-darwin9.diff
+}

Added: trunk/dports/net/yafc/files/patch-lib__gssapi.c-darwin9.diff
===================================================================
--- trunk/dports/net/yafc/files/patch-lib__gssapi.c-darwin9.diff	                        (rev 0)
+++ trunk/dports/net/yafc/files/patch-lib__gssapi.c-darwin9.diff	2007-11-16 23:17:18 UTC (rev 31143)
@@ -0,0 +1,42 @@
+--- lib/gssapi.c	2002-12-05 17:12:36.000000000 -0500
++++ lib/gssapi.c	2007-11-15 21:59:58.000000000 -0500
+@@ -34,29 +34,8 @@
+ #include "syshdr.h"
+ #include "ftp.h"
+ #include "base64.h"
+-
+-#if defined(HAVE_GSSAPI_H)
+-# include <gssapi.h>
+- /* if we have gssapi.h (not gssapi/gssapi.h) we assume we link
+-  * against Heimdal, which needs krb5_err.h to define *
+-  * KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN
+-  */
+-# include <krb5_err.h>
+-#elif defined(HAVE_GSSAPI_GSSAPI_H)
+-# include <gssapi/gssapi.h>
+- /* if we have gssapi/gssapi.h it might be safe to assume we have the
+-  * other two that are part of MIT's krb5 as well, but this will work
+-  * even if they one day do away with one of those two header files.
+-  */
+-# if defined(HAVE_GSSAPI_GSSAPI_KRB5_H)
+-#   include <gssapi/gssapi_krb5.h>
+-# endif
+-#else
+-# error "Need gssapi.h from either Heimdal or MIT krb5"
+-#endif
+-
+-
+-
++#include <gssapi/gssapi.h>
++#include <gssapi/gssapi_krb5.h>
+ 
+ /*
+  * The implementation must reserve static storage for a
+@@ -72,7 +51,6 @@
+ static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
+ {10, (void *)"\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04"};
+ 
+-static gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc;
+ 
+ 
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071116/5469bc74/attachment.html


More information about the macports-changes mailing list