62c5043262
gss-extra.c fails compilation on DragonFly: line 43: error: unexpected identifier or '(' before '&' token It's on code that is only intended for a windows target. Gentoo patched it by wrapping it in "if (defined _WIN32 || defined __WIN32__)" macro which is effectively the same is deleting the definition completely, which is what is being done here.
21 lines
493 B
Text
21 lines
493 B
Text
$NetBSD: patch-ac,v 1.1 2011/11/24 09:04:18 marino Exp $
|
|
|
|
--- lib/gl/gss-extra.c.orig 2010-12-14 12:57:08.000000000 +0000
|
|
+++ lib/gl/gss-extra.c
|
|
@@ -33,16 +33,6 @@
|
|
/* Get malloc, free. */
|
|
#include <stdlib.h>
|
|
|
|
-#ifndef HAVE_GSS_C_NT_HOSTBASED_SERVICE
|
|
-
|
|
-/* MIT Kerberos for Windows version 3.2.2 lacks this. */
|
|
-static gss_OID_desc tmp = {
|
|
- 10,
|
|
- (void *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x04"
|
|
-};
|
|
-gss_OID GSS_C_NT_HOSTBASED_SERVICE = &tmp;
|
|
-
|
|
-#endif
|
|
|
|
#ifndef HAVE_GSS_OID_EQUAL
|
|
|