Gentoo Archives: gentoo-commits

From: "Andreas Proschofsky (suka)" <suka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: libreoffice-3.3.1-neon_remove_SSPI_support.diff
Date: Wed, 02 Mar 2011 10:38:37
Message-Id: 20110302103822.5402420057@flycatcher.gentoo.org
1 suka 11/03/02 10:38:22
2
3 Added: libreoffice-3.3.1-neon_remove_SSPI_support.diff
4 Log:
5 Fix build with neon supporting SSPI, bug #356581
6
7 (Portage version: 2.1.9.42/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-office/libreoffice/files/libreoffice-3.3.1-neon_remove_SSPI_support.diff
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-3.3.1-neon_remove_SSPI_support.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-3.3.1-neon_remove_SSPI_support.diff?rev=1.1&content-type=text/plain
14
15 Index: libreoffice-3.3.1-neon_remove_SSPI_support.diff
16 ===================================================================
17 --- ucb/source/ucp/webdav/NeonSession.cxx
18 +++ ucb/source/ucp/webdav/NeonSession.cxx
19 @@ -253,9 +253,6 @@
20
21 // -------------------------------------------------------------------
22 extern "C" int NeonSession_NeonAuth( void * inUserData,
23 -#ifdef NE_FEATURE_SSPI
24 - const char * inAuthProtocol,
25 -#endif
26 const char * inRealm,
27 int attempt,
28 char * inoutUserName,
29 @@ -322,14 +319,6 @@
30
31 bool bCanUseSystemCreds = false;
32
33 -#ifdef NE_FEATURE_SSPI
34 - bCanUseSystemCreds
35 - = (attempt == 0) && // avoid endless loops
36 - ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
37 - ( ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
38 - ( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ) );
39 -#endif
40 -
41 int theRetVal = pListener->authenticate(
42 rtl::OUString::createFromAscii( inRealm ),
43 theSession->getHostName(),