public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: libreoffice-4.1.0.4-neon-build.patch
@ 2013-08-13  5:24 Patrick Lauer (patrick)
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Lauer (patrick) @ 2013-08-13  5:24 UTC (permalink / raw
  To: gentoo-commits

patrick     13/08/13 05:24:47

  Added:                libreoffice-4.1.0.4-neon-build.patch
  Log:
  Build fix for neon-0.30 #479604
  
  (Portage version: 2.2.0/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch?rev=1.1&content-type=text/plain

Index: libreoffice-4.1.0.4-neon-build.patch
===================================================================
--- ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -228,9 +228,6 @@
 }
 
 extern "C" int NeonSession_NeonAuth( void *       inUserData,
-#ifdef NE_FEATURE_SSPI
-                                     const char * inAuthProtocol,
-#endif
                                      const char * inRealm,
                                      int          attempt,
                                      char *       inoutUserName,
@@ -297,14 +294,6 @@
 
     bool bCanUseSystemCreds = false;
 
-#ifdef NE_FEATURE_SSPI
-    bCanUseSystemCreds
-        = (attempt == 0) && // avoid endless loops
-          ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
-          ( ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
-            ( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ) );
-#endif
-
     int theRetVal = pListener->authenticate(
                             OUString::createFromAscii( inRealm ),
                             theSession->getHostName(),





^ permalink raw reply	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: libreoffice-4.1.0.4-neon-build.patch
@ 2013-08-30  8:34 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 2+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2013-08-30  8:34 UTC (permalink / raw
  To: gentoo-commits

scarabeus    13/08/30 08:34:47

  Modified:             libreoffice-4.1.0.4-neon-build.patch
  Log:
  Version bump to 4.0.5.2 and 4.1.1.2.
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)

Revision  Changes    Path
1.2                  app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch?r1=1.1&r2=1.2

Index: libreoffice-4.1.0.4-neon-build.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/files/libreoffice-4.1.0.4-neon-build.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libreoffice-4.1.0.4-neon-build.patch	13 Aug 2013 05:24:47 -0000	1.1
+++ libreoffice-4.1.0.4-neon-build.patch	30 Aug 2013 08:34:47 -0000	1.2
@@ -1,27 +1,51 @@
---- ucb/source/ucp/webdav-neon/NeonSession.cxx
-+++ ucb/source/ucp/webdav-neon/NeonSession.cxx
-@@ -228,9 +228,6 @@
+From b74bf4146e866fbcd41ad075296c9a4eee16c829 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon@redhat.com>
+Date: Mon, 12 Aug 2013 09:39:59 +0200
+Subject: [PATCH] only use the SSPI support with internal neon
+
+neon 0.30.0 has added support for SSPI (author of the commit is kso,
+which sounds familiar :-), so NE_FEATURE_SSPI is defined, but the
+signature of ne_auth_creds remains the same as before. That means that
+build with system neon 0.30.0 fails...
+---
+ RepositoryExternal.mk                      | 1 +
+ ucb/source/ucp/webdav-neon/NeonSession.cxx | 4 ++--
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index f866957..8c19c27 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -867,6 +867,7 @@ ifeq ($(SYSTEM_NEON),YES)
+ define gb_LinkTarget__use_neon
+ $(call gb_LinkTarget_add_defs,$(1),\
+ 	-DNEON_VERSION=0x$(NEON_VERSION) \
++	-DSYSTEM_NEON \
+ )
+ $(call gb_LinkTarget_set_include,$(1),\
+ 	$$(INCLUDE) \
+diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
+index 34a1937..cee643a 100644
+--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
++++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
+@@ -228,7 +228,7 @@ extern "C" int NeonSession_ResponseBlockWriter( void * inUserData,
  }
  
  extern "C" int NeonSession_NeonAuth( void *       inUserData,
 -#ifdef NE_FEATURE_SSPI
--                                     const char * inAuthProtocol,
--#endif
++#if defined NE_FEATURE_SSPI && ! defined SYSTEM_NEON
+                                      const char * inAuthProtocol,
+ #endif
                                       const char * inRealm,
-                                      int          attempt,
-                                      char *       inoutUserName,
-@@ -297,14 +294,6 @@
+@@ -297,7 +297,7 @@ extern "C" int NeonSession_NeonAuth( void *       inUserData,
  
      bool bCanUseSystemCreds = false;
  
 -#ifdef NE_FEATURE_SSPI
--    bCanUseSystemCreds
--        = (attempt == 0) && // avoid endless loops
--          ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
--          ( ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
--            ( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ) );
--#endif
--
-     int theRetVal = pListener->authenticate(
-                             OUString::createFromAscii( inRealm ),
-                             theSession->getHostName(),
++#if defined NE_FEATURE_SSPI && ! defined SYSTEM_NEON
+     bCanUseSystemCreds
+         = (attempt == 0) && // avoid endless loops
+           ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
+-- 
+1.7.12.4
+





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-30  8:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13  5:24 [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: libreoffice-4.1.0.4-neon-build.patch Patrick Lauer (patrick)
  -- strict thread matches above, loose matches on Subject: below --
2013-08-30  8:34 Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox