[BACK]Return to patch-ac CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / gsasl / patches

File: [cvs.NetBSD.org] / pkgsrc / security / gsasl / patches / patch-ac (download)

Revision 1.1, Thu Nov 24 09:04:18 2011 UTC (8 years, 8 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, HEAD

security/gsasl: Remove windows function

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.

$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