Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356581 - app-office/libreoffice-3.3.1 fails to build ucb module with net-misc/neon supporting SSPI
Summary: app-office/libreoffice-3.3.1 fails to build ucb module with net-misc/neon sup...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 15:51 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-03-02 10:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libreoffice-3.3.1-neon_remove_SSPI_support.diff (libreoffice-3.3.1-neon_remove_SSPI_support.diff,1.06 KB, patch)
2011-03-01 22:54 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-02-26 15:51:37 UTC
Compiling: ucb/source/ucp/webdav/NeonSession.cxx
In file included from /var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/ucb/source/ucp/webdav/NeonTypes.hxx:36,
                 from /var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/ucb/source/ucp/webdav/NeonSession.cxx:58:
/usr/include/neon/ne_locks.h:125: warning: 'int ne_lock(ne_session*, ne_lock*)' hides constructor for 'struct ne_lock'
/var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/ucb/source/ucp/webdav/NeonSession.cxx: In member function 'void webdav_ucp::NeonSession::Init()':
/var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/ucb/source/ucp/webdav/NeonSession.cxx:830: error: invalid conversion from 'int (*)(void*, const char*, const char*, int, char*, char*)' to 'int (*)(void*, const char*, int, char*, char*)'
/var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/ucb/source/ucp/webdav/NeonSession.cxx:830: error:   initializing argument 3 of 'void ne_add_server_auth(ne_session*, unsigned int, int (*)(void*, const char*, int, char*, char*), void*)'
/var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/ucb/source/ucp/webdav/NeonSession.cxx:831: error: invalid conversion from 'int (*)(void*, const char*, const char*, int, char*, char*)' to 'int (*)(void*, const char*, int, char*, char*)'
/var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/ucb/source/ucp/webdav/NeonSession.cxx:831: error:   initializing argument 3 of 'void ne_add_proxy_auth(ne_session*, unsigned int, int (*)(void*, const char*, int, char*, char*), void*)'
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/NeonSession.obj'
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2011-02-26 21:20:59 UTC
Dumb question: But how do I build neon with SSPI support?
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-01 22:54:50 UTC
Created attachment 264311 [details, diff]
libreoffice-3.3.1-neon_remove_SSPI_support.diff

Patch based on patch for bug #307501.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-01 23:01:58 UTC
(In reply to comment #1)

>=net-misc/neon-0.30 supports SSPI on Windows.
ne_utils.h [1] defines NE_FEATURE_SSPI on all systems:
/* Feature codes: */
#define NE_FEATURE_SSL (1) /* SSL/TLS support */
#define NE_FEATURE_ZLIB (2) /* zlib compression in compress interface */
#define NE_FEATURE_IPV6 (3) /* IPv6 is supported in resolver */
#define NE_FEATURE_LFS (4) /* large file support */
#define NE_FEATURE_SOCKS (5) /* SOCKSv5 support */
#define NE_FEATURE_TS_SSL (6) /* Thread-safe SSL/TLS support */
#define NE_FEATURE_I18N (7) /* i18n error message support */
#define NE_FEATURE_SSPI (8) /* NTLM/Negotiate authentication protocol via SSPI */

[1] http://svn.webdav.org/repos/projects/neon/trunk/src/ne_utils.h
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-02 10:38:37 UTC
This is in the tree now, thanks for the patch.