public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tomas Chvatal (scarabeus)" <scarabeus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: libreoffice-4.1.0.4-neon-build.patch
Date: Fri, 30 Aug 2013 08:34:47 +0000 (UTC)	[thread overview]
Message-ID: <20130830083447.CC8142004E@flycatcher.gentoo.org> (raw)

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
+





             reply	other threads:[~2013-08-30  8:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30  8:34 Tomas Chvatal (scarabeus) [this message]
  -- strict thread matches above, loose matches on Subject: below --
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)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130830083447.CC8142004E@flycatcher.gentoo.org \
    --to=scarabeus@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox