[Libreoffice-commits] .: 3 commits - config_host.mk.in configure.in Makefile.top Module_tail_build.mk neon/configs neon/Library_neon.mk neon/Makefile neon/makefile.mk neon/Module_neon.mk neon/neon_exports_unix.patch neon/neon_exports_win.patch neon/neon_ne_set_request_flag.patch neon/neon.patch neon/prj neon/UnpackedTarball_neon.mk neon/version.mk ooo.lst.in RepositoryExternal.mk RepositoryModule_ooo.mk solenv/gbuild solenv/inc tail_build/prj

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 21 23:14:07 PDT 2012


 Makefile.top                            |    2 
 Module_tail_build.mk                    |    3 
 RepositoryExternal.mk                   |   10 
 RepositoryModule_ooo.mk                 |    1 
 config_host.mk.in                       |    1 
 configure.in                            |    8 
 neon/Library_neon.mk                    |   71 +++
 neon/Makefile                           |    7 
 neon/Module_neon.mk                     |   21 +
 neon/UnpackedTarball_neon.mk            |   25 +
 neon/configs/config.h                   |  487 ++++++++++++++++++++++++
 neon/makefile.mk                        |   91 ----
 neon/neon.patch                         |  632 +-------------------------------
 neon/neon_exports_unix.patch            |  291 --------------
 neon/neon_exports_win.patch             |  297 ---------------
 neon/neon_ne_set_request_flag.patch     |    4 
 neon/prj/d.lst                          |    9 
 neon/version.mk                         |   37 -
 ooo.lst.in                              |    2 
 solenv/gbuild/InstallScript.mk          |    2 
 solenv/gbuild/Library.mk                |    1 
 solenv/gbuild/LinkTarget.mk             |   10 
 solenv/gbuild/platform/com_GCC_class.mk |    2 
 solenv/gbuild/platform/com_GCC_defs.mk  |    7 
 solenv/gbuild/platform/macosx.mk        |   20 -
 solenv/gbuild/platform/solaris.mk       |   18 
 solenv/gbuild/platform/unxgcc.mk        |   18 
 solenv/inc/libs.mk                      |   10 
 tail_build/prj/build.lst                |    2 
 29 files changed, 670 insertions(+), 1419 deletions(-)

New commits:
commit 53eff166061abbdb3570a1deadfa161cc79889c0
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Sep 20 09:04:22 2012 +0200

    separate include dirs by comma
    
    It works as-is, but only because par2script.pl evaluates any argument
    that starts with / as a include path.
    
    Change-Id: I705276c1f949d505dbcca23a0acbd760b32914de

diff --git a/solenv/gbuild/InstallScript.mk b/solenv/gbuild/InstallScript.mk
index c325d4b..6bacfe2 100644
--- a/solenv/gbuild/InstallScript.mk
+++ b/solenv/gbuild/InstallScript.mk
@@ -54,7 +54,7 @@ $(call gb_Helper_abbreviate_dirs,\
 	) && \
 	$(gb_InstallScriptTarget_COMMAND) \
 		$(call gb_InstallScriptTarget__if_silent,-q) \
-		-i $(call gb_InstallScriptTarget__get_dirs,$(SCP_MODULES)) \
+		-i $(call gb_InstallScriptTarget__make_arglist,$(call gb_InstallScriptTarget__get_dirs,$(SCP_MODULES))) \
 	   	-o $(1) \
 	   	@@$${RESPONSEFILE} && \
 	rm -f $${RESPONSEFILE} \
commit bb6c5a5443e2124d18686b87ac1a87f867d2d056
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Tue Sep 11 12:56:39 2012 +0200

    neon: convert to gbuild
    
    Change-Id: I1cca0e3be7e148c835af26d2c001878b849e8432

diff --git a/Makefile.top b/Makefile.top
index 1a15b3e..cfc120f 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -100,6 +100,7 @@ lingucomponent\
 linguistic\
 lotuswordpro\
 mdds\
+neon\
 nlpsolver\
 np_sdk\
 o3tl\
@@ -229,7 +230,6 @@ moz\
 mysqlc\
 mysqlcppconn\
 mythes\
-neon\
 nss\
 odk\
 openldap\
diff --git a/Module_tail_build.mk b/Module_tail_build.mk
index c2d6c5d..8aa58c3 100644
--- a/Module_tail_build.mk
+++ b/Module_tail_build.mk
@@ -89,6 +89,9 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\
     MathMLDTD \
 	mdds \
     Mesa \
+	$(if $(filter NEON,$(BUILD_TYPE)),\
+		neon \
+	) \
 	$(if $(filter NLPSOLVER,$(BUILD_TYPE)),\
 		nlpsolver \
 	) \
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 772c098..618f62b 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -580,14 +580,9 @@ endif # ENABLE_LIBLANGTAG
 ifeq ($(SYSTEM_NEON),YES)
 
 define gb_LinkTarget__use_neon
-ifeq ($(NEON_VERSION),)
-NEON_VERSION=0295
-endif
-
 $(call gb_LinkTarget_add_defs,$(1),\
 	-DNEON_VERSION=0x$(NEON_VERSION) \
 )
-
 $(call gb_LinkTarget_set_include,$(1),\
 	$$(INCLUDE) \
 	$(NEON_CFLAGS) \
@@ -599,16 +594,15 @@ endef
 
 else # !SYSTEM_NEON
 
-$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
+$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
 	neon \
 ))
 
 define gb_LinkTarget__use_neon
 $(call gb_LinkTarget_set_include,$(1),\
-	-I$(OUTDIR)/inc/external/neon \
+	-I$(call gb_UnpackedTarball_get_dir,neon/src) \
 	$$(INCLUDE) \
 )
-
 $(call gb_LinkTarget_use_libraries,$(1),\
 	neon \
 )
diff --git a/RepositoryModule_ooo.mk b/RepositoryModule_ooo.mk
index f29d3f6..a0b7be2 100644
--- a/RepositoryModule_ooo.mk
+++ b/RepositoryModule_ooo.mk
@@ -97,6 +97,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
     MathMLDTD \
 	mdds \
     Mesa \
+	neon \
     nlpsolver \
     np_sdk \
     o3tl \
diff --git a/config_host.mk.in b/config_host.mk.in
index 753c901..467d95c 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -406,6 +406,7 @@ export MYTHES_CFLAGS=@MYTHES_CFLAGS@
 export MYTHES_LIBS=@MYTHES_LIBS@
 export NEON_CFLAGS=@NEON_CFLAGS@
 export NEON_LIBS=@NEON_LIBS@
+export NEON_TARBALL=@NEON_TARBALL@
 export NEON_VERSION=@NEON_VERSION@
 export NM=@NM@
 export nodep=@nodep@
diff --git a/configure.in b/configure.in
index 8180ac4..2e1feec 100644
--- a/configure.in
+++ b/configure.in
@@ -8606,7 +8606,6 @@ if test "$with_system_neon" = "yes"; then
     AC_MSG_RESULT([external])
     PKG_CHECK_MODULES(NEON, neon >= 0.26.0, , AC_MSG_ERROR([you need neon >= 0.26.x for system-neon]))
     NEON_VERSION="`$PKG_CONFIG --modversion neon | $SED 's/\.//g'`"
-    NEON_CFLAGS="$NEON_CFLAGS -DSYSTEM_NEON -DUSE_DAV_LOCKS=1"
     SYSTEM_NEON=YES
     libo_MINGW_CHECK_DLL([NEON], [libneon])
     libo_MINGW_TRY_DLL([TASN1], [libtasn1])
@@ -8614,14 +8613,15 @@ if test "$with_system_neon" = "yes"; then
 else
     AC_MSG_RESULT([internal])
     SYSTEM_NEON=NO
-    NEON_LIBS=-lneon
-    NEON_CFLAGS=
     BUILD_TYPE="$BUILD_TYPE NEON"
+    NEON_TARBALL=ff369e69ef0f0143beb5626164e87ae2-neon-0.29.5.tar.gz
+    NEON_VERSION=0295
 fi
 AC_SUBST(SYSTEM_NEON)
-AC_SUBST(NEON_VERSION)
 AC_SUBST(NEON_LIBS)
 AC_SUBST(NEON_CFLAGS)
+AC_SUBST(NEON_TARBALL)
+AC_SUBST(NEON_VERSION)
 AC_SUBST([MINGW_GNUTLS_DLL])
 AC_SUBST([MINGW_NEON_DLL])
 AC_SUBST([MINGW_TASN1_DLL])
diff --git a/neon/Library_neon.mk b/neon/Library_neon.mk
new file mode 100644
index 0000000..532e30c
--- /dev/null
+++ b/neon/Library_neon.mk
@@ -0,0 +1,71 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Library_Library,neon))
+
+$(eval $(call gb_Library_use_unpacked,neon,neon))
+
+$(eval $(call gb_Library_use_externals,neon,\
+	libxml2 \
+	openssl \
+	zlib \
+))
+
+$(eval $(call gb_Library_set_visibility_default,neon))
+
+$(eval $(call gb_Library_set_warnings_not_errors,neon))
+
+$(eval $(call gb_Library_add_generated_cobjects,neon,\
+	UnpackedTarball/neon/src/ne_207 \
+	UnpackedTarball/neon/src/ne_acl3744 \
+	UnpackedTarball/neon/src/ne_alloc \
+	UnpackedTarball/neon/src/ne_auth \
+	UnpackedTarball/neon/src/ne_basic \
+	UnpackedTarball/neon/src/ne_compress \
+	UnpackedTarball/neon/src/ne_dates \
+	UnpackedTarball/neon/src/ne_i18n \
+	UnpackedTarball/neon/src/ne_locks \
+	UnpackedTarball/neon/src/ne_md5 \
+	UnpackedTarball/neon/src/ne_props \
+	UnpackedTarball/neon/src/ne_redirect \
+	UnpackedTarball/neon/src/ne_request \
+	UnpackedTarball/neon/src/ne_session \
+	UnpackedTarball/neon/src/ne_socket \
+	UnpackedTarball/neon/src/ne_socks \
+	UnpackedTarball/neon/src/ne_string \
+	UnpackedTarball/neon/src/ne_uri \
+	UnpackedTarball/neon/src/ne_utils \
+	UnpackedTarball/neon/src/ne_xml \
+	UnpackedTarball/neon/src/ne_xmlreq \
+	UnpackedTarball/neon/src/ne_openssl \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Library_use_libraries,neon,\
+	ws2_32 \
+))
+
+$(eval $(call gb_Library_add_generated_cobjects,neon,\
+	UnpackedTarball/neon/src/ne_sspi \
+))
+
+else
+$(eval $(call gb_Library_add_generated_cobjects,neon,\
+	UnpackedTarball/neon/src/ne_ntlm \
+))
+
+endif
+
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Library_use_libraries,neon,\
+	dl \
+))
+endif
+
+# vim: set noet sw=4 ts=4:
diff --git a/neon/Makefile b/neon/Makefile
new file mode 100644
index 0000000..ccb1c85
--- /dev/null
+++ b/neon/Makefile
@@ -0,0 +1,7 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+
+module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
+include $(module_directory)/../solenv/gbuild/partial_build.mk
+
+# vim: set noet sw=4 ts=4:
diff --git a/neon/Module_neon.mk b/neon/Module_neon.mk
new file mode 100644
index 0000000..26d4b4d
--- /dev/null
+++ b/neon/Module_neon.mk
@@ -0,0 +1,21 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Module_Module,neon))
+
+ifeq ($(SYSTEM_NEON),NO)
+
+$(eval $(call gb_Module_add_targets,neon,\
+	Library_neon \
+	UnpackedTarball_neon \
+))
+
+endif
+
+# vim: set noet sw=4 ts=4:
diff --git a/neon/UnpackedTarball_neon.mk b/neon/UnpackedTarball_neon.mk
new file mode 100644
index 0000000..a099718
--- /dev/null
+++ b/neon/UnpackedTarball_neon.mk
@@ -0,0 +1,25 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_UnpackedTarball_UnpackedTarball,neon))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,neon,$(NEON_TARBALL)))
+
+$(eval $(call gb_UnpackedTarball_add_files,neon,src,\
+	neon/configs/config.h \
+))
+
+$(eval $(call gb_UnpackedTarball_set_patchlevel,neon,0))
+
+$(eval $(call gb_UnpackedTarball_add_patches,neon,\
+	neon/neon.patch \
+	neon/neon_ne_set_request_flag.patch \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/neon/configs/config.h b/neon/configs/config.h
new file mode 100644
index 0000000..b677e7e
--- /dev/null
+++ b/neon/configs/config.h
@@ -0,0 +1,487 @@
+/* Define to specific EGD socket path */
+/* #undef EGD_PATH */
+
+/* Define if EGD should be supported */
+/* #undef ENABLE_EGD */
+
+/* Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise */
+/* #undef GSS_C_NT_HOSTBASED_SERVICE */
+
+/* Define to 1 if you have the <arpa/inet.h> header file. */
+#ifdef UNX
+#define HAVE_ARPA_INET_H 1
+#endif
+
+/* Define to 1 if you have the `bind_textdomain_codeset' function. */
+/* #undef HAVE_BIND_TEXTDOMAIN_CODESET 1 */
+
+/* Define to 1 if you have the declaration of `h_errno', and to 0 if you
+   don't. */
+#ifdef WIN32
+#define HAVE_DECL_H_ERRNO 1
+#endif
+
+/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
+   */
+#ifdef LINUX
+#define HAVE_DECL_STPCPY 1
+#endif
+
+/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
+   don't. */
+#ifdef LINUX
+#define HAVE_DECL_STRERROR_R 1
+#endif
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#ifdef UNX
+#define HAVE_DLFCN_H 1
+#endif
+
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define if you have expat */
+/* #undef HAVE_EXPAT */
+
+/* Define to 1 if you have the `fstat64' function. */
+#define HAVE_FSTAT64
+
+/* Define to 1 if you have the `gai_strerror' function. */
+#define HAVE_GAI_STRERROR 1
+
+/* Define if GnuTLS support is enabled */
+/* #undef HAVE_GNUTLS */
+
+/* Define to 1 if you have the `gnutls_session_get_data2' function. */
+/* #undef HAVE_GNUTLS_SESSION_GET_DATA2 */
+
+/* Define if GSSAPI support is enabled */
+/* #undef HAVE_GSSAPI */
+
+/* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
+/* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */
+
+/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
+/* #undef HAVE_GSSAPI_GSSAPI_H */
+
+/* Define to 1 if you have the <gssapi.h> header file. */
+/* #undef HAVE_GSSAPI_H */
+
+/* Define to 1 if you have the `gss_init_sec_context' function. */
+/* #undef HAVE_GSS_INIT_SEC_CONTEXT */
+
+/* Define to 1 if you have the `hstrerror' function. */
+/* #undef HAVE_HSTRERROR */
+
+/* Define to 1 if you have the `inet_ntop' function. */
+#ifdef UNX
+#define HAVE_INET_NTOP 1
+#endif
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#ifdef UNX
+#define HAVE_INTTYPES_H 1
+#endif
+
+/* Define to 1 if you have the `isatty' function. */
+#define HAVE_ISATTY 1
+
+/* Define to 1 if you have the <libintl.h> header file. */
+/* #undef HAVE_LIBINTL_H */
+
+/* Define if you have libxml */
+#define HAVE_LIBXML 1
+
+/* Define to 1 if you have the <libxml/parser.h> header file. */
+#define HAVE_LIBXML_PARSER_H 1
+
+/* Define to 1 if you have the <libxml/xmlversion.h> header file. */
+#define HAVE_LIBXML_XMLVERSION_H 1
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define to 1 if you have the `lseek64' function. */
+#define HAVE_LSEEK64 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <netdb.h> header file. */
+#ifdef UNX
+#define HAVE_NETDB_H 1
+#endif
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#ifdef UNX
+#define HAVE_NETINET_IN_H 1
+#endif
+
+/* Define to 1 if you have the <netinet/tcp.h> header file. */
+#ifdef UNX
+#define HAVE_NETINET_TCP_H 1
+#endif
+
+/* Define if OpenSSL support is enabled */
+#define HAVE_OPENSSL 1
+
+/* Define to 1 if you have the <openssl/opensslv.h> header file. */
+#define HAVE_OPENSSL_OPENSSLV_H 1
+
+/* Define to 1 if you have the <openssl/ssl.h> header file. */
+#define HAVE_OPENSSL_SSL_H 1
+
+/* Define to 1 if you have the `pipe' function. */
+#define HAVE_PIPE 1
+
+/* Define to 1 if you have the `poll' function. */
+#define HAVE_POLL 1
+
+/* Define to 1 if you have the `pthread_mutex_init' function. */
+/* #undef HAVE_PTHREAD_MUTEX_INIT */
+
+/* Define to 1 if you have the `pthread_mutex_lock' function. */
+/* #undef HAVE_PTHREAD_MUTEX_LOCK */
+
+/* Define to 1 if you have the `setlocale' function. */
+#define HAVE_SETLOCALE 1
+
+/* Define to 1 if you have the `setsockopt' function. */
+#if defined (LINUX) || defined (WIN32)
+#define HAVE_SETSOCKOPT 1
+#endif
+
+/* Define to 1 if you have the `setvbuf' function. */
+#define HAVE_SETVBUF 1
+
+/* Define to 1 if you have the `shutdown' function. */
+#ifdef LINUX
+#define HAVE_SHUTDOWN 1
+#endif
+
+/* Define to 1 if you have the `signal' function. */
+#define HAVE_SIGNAL 1
+
+/* Define to 1 if you have the <signal.h> header file. */
+#define HAVE_SIGNAL_H 1
+
+/* Define to 1 if you have the `snprintf' function. */
+#ifdef UNX
+#define HAVE_SNPRINTF 1
+#endif
+
+#ifdef WIN32
+#define snprintf _snprintf
+#endif
+
+/* Define to 1 if you have the <socks.h> header file. */
+/* #undef HAVE_SOCKS_H */
+
+/* Define to 1 if you have the <stdarg.h> header file. */
+#define HAVE_STDARG_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the `stpcpy' function. */
+#ifdef LINUX
+#define HAVE_STPCPY 1
+#endif
+
+/* Define to 1 if you have the `strcasecmp' function. */
+#ifdef UNX
+#define HAVE_STRCASECMP 1
+#endif
+
+#ifdef WIN32
+#define strcasecmp strcmpi
+#endif
+
+/* Define to 1 if you have the `strerror_r' function. */
+#ifdef LINUX
+#define HAVE_STRERROR_R 1
+#endif
+
+/* Define to 1 if you have the <strings.h> header file. */
+#ifdef UNX
+#define HAVE_STRINGS_H 1
+#endif
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strtoll' function. */
+#define HAVE_STRTOLL 1
+
+/* Define to 1 if you have the `strtoq' function. */
+/* #undef HAVE_STRTOQ */
+
+/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
+#ifdef LINUX
+#define HAVE_STRUCT_TM_TM_GMTOFF 1
+#endif
+
+/* Define to 1 if `__tm_gmtoff' is member of `struct tm'. */
+/* #undef HAVE_STRUCT_TM___TM_GMTOFF */
+
+/* Define to 1 if you have the <sys/limits.h> header file. */
+/* #undef HAVE_SYS_LIMITS_H */
+
+/* Define to 1 if you have the <sys/poll.h> header file. */
+#ifdef UNX
+#define HAVE_SYS_POLL_H 1
+#endif
+
+/* Define to 1 if you have the <sys/select.h> header file. */
+#ifdef UNX
+#define HAVE_SYS_SELECT_H 1
+#endif
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#ifdef UNX
+#define HAVE_SYS_SOCKET_H 1
+#endif
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#ifdef UNX
+#define HAVE_SYS_TIME_H 1
+#endif
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define if the timezone global is available */
+#ifndef MACOSX
+#define HAVE_TIMEZONE 1
+#endif
+
+/* Use trio printf replacement library */
+/* #undef HAVE_TRIO */
+
+/* Define to 1 if you have the <trio.h> header file. */
+/* #undef HAVE_TRIO_H */
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#ifdef UNX
+#define HAVE_UNISTD_H 1
+#endif
+
+/* Define to 1 if you have the `usleep' function. */
+#ifdef UNX
+#define HAVE_USLEEP 1
+#endif
+
+/* Define to 1 if you have the `vsnprintf' function. */
+#if defined( UNX ) || (defined(_MSC_VER) && (_MSC_VER > 1400))
+#define HAVE_VSNPRINTF 1
+#endif
+
+#ifdef WIN32
+#if (defined(_MSC_VER) && (_MSC_VER < 1500)) || defined(__MINGW32__)
+#define vsnprintf _vsnprintf
+#endif
+#endif
+
+/* Define to be location of localedir */
+/* #undef LOCALEDIR */
+
+/* Defined when neon is built as a library */
+#define NEON_IS_LIBRARY 1
+
+/* Define to be the neon version string */
+#define NEON_VERSION "0.29.5"
+
+/* Define to enable debugging */
+/* #undef NE_DEBUGGING */
+
+/* Define to be printf format string for off64_t */
+#define NE_FMT_OFF64_T "lld"
+
+/* Define to be printf format string for off_t */
+#define NE_FMT_OFF_T "ld"
+
+/* Define to be printf format string for size_t */
+#define NE_FMT_SIZE_T "u"
+
+/* Define to be printf format string for ssize_t */
+#define NE_FMT_SSIZE_T "d"
+
+/* Define to be printf format string for time_t */
+#define NE_FMT_TIME_T "ld"
+
+/* Defined if DAV is supported */
+#define NE_HAVE_DAV 1
+
+/* Defined if I18N is supported */
+/* #undef NE_HAVE_I18N 1 */
+
+/* Defined if IPV6 is supported */
+#define NE_HAVE_IPV6 1
+
+/* Defined if LFS is supported */
+#define NE_HAVE_LFS 1
+
+/* Defined if SOCKS is supported */
+/* #undef NE_HAVE_SOCKS */
+
+/* Defined if SSL is supported */
+#define NE_HAVE_SSL
+
+/* Defined if TS_SSL is supported */
+/* #undef NE_HAVE_TS_SSL */
+
+/* Defined if ZLIB is supported */
+#define NE_HAVE_ZLIB 1
+
+/* Define to be filename of an SSL CA root bundle */
+/* #undef NE_SSL_CA_BUNDLE */
+
+/* Define if poll() should be used */
+#ifdef UNX
+#define NE_USE_POLL 1
+#endif
+
+/* Define to be neon library major version */
+#define NE_VERSION_MAJOR (0)
+
+/* Define to be neon library minor version */
+#define NE_VERSION_MINOR (29)
+
+/* Define to be neon library patch version */
+#define NE_VERSION_PATCH (5)
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "neon at webdav.org"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "neon"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "neon 0.29.5"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "neon"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "0.29.5"
+
+/* The size of a `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of a `long', as computed by sizeof. */
+#define SIZEOF_LONG 4
+
+/* The size of a `long long', as computed by sizeof. */
+#define SIZEOF_LONG_LONG 8
+
+/* The size of a `off64_t', as computed by sizeof. */
+#define SIZEOF_OFF64_T 8
+
+/* The size of a `off_t', as computed by sizeof. */
+#define SIZEOF_OFF_T 4
+
+/* The size of a `size_t', as computed by sizeof. */
+#define SIZEOF_SIZE_T 4
+
+/* The size of a `ssize_t', as computed by sizeof. */
+#define SIZEOF_SSIZE_T 4
+
+/* The size of a `time_t', as computed by sizeof. */
+#define SIZEOF_TIME_T 4
+
+/* Define to 1 if you have the ANSI C header files. */
+#ifdef SOLARIS
+#define STDC_HEADERS 1
+#endif
+
+/* Define to 1 if strerror_r returns char *. */
+#ifdef LINUX
+#define STRERROR_R_CHAR_P 1
+#endif
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define if getaddrinfo supports AI_ADDRCONFIG */
+/* #undef USE_GAI_ADDRCONFIG */
+
+/* Define if getaddrinfo() should be used */
+#define USE_GETADDRINFO 1
+
+/* Define to 1 if your processor stores words with the most significant byte
+   first (like Motorola and SPARC, unlike Intel and VAX). */
+#if defined (SOLARIS) && defined (SPARC)
+#define WORDS_BIGENDIAN 1
+#endif
+
+/* Always defined to enable GNU extensions */
+#define _GNU_SOURCE 1
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define if in_addr_t is not available */
+/* #undef in_addr_t */
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+   calls it, or to nothing if 'inline' is not supported under any name.  */
+#ifndef __cplusplus
+#if defined (SOLARIS) && defined (__SUNPRO_C)
+#define inline
+#endif
+#endif
+
+/* Define to `long' if <sys/types.h> does not define. */
+/* #undef off_t */
+
+/* Define to `int' if <sys/types.h> does not define. */
+/* #undef pid_t */
+
+/* Define to `unsigned' if <sys/types.h> does not define. */
+/* #undef size_t */
+
+/* MS IIS does not send Lock-Token response header after creation of a */
+/* new lock. This violates RFC, but... if we want to talk with this   */
+/* beast we need a workaround */
+#define IIS_LOCK_BUG_WORKAROUND 1
+
+/* Enable leak-tracking versions of ne_*alloc when NEON_MEMLEAK is enabled */
+#ifdef NEON_MEMLEAK
+# include "memleak.h"
+#endif
+
+#if defined(HAVE_STPCPY) && defined(HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY && !defined(stpcpy)
+char *stpcpy(char *, const char *);
+#endif
+
+#ifdef WIN32
+
+#include <io.h>
+
+#define HAVE_MEMCPY 1
+
+#define strncasecmp strnicmp
+#define inline      __inline
+#define WIN32_LEAN_AND_MEAN
+#define NOUSER
+#define NOGDI
+#define NONLS
+#define NOCRYPT
+
+#endif
+
+#ifdef WIN32
+#define HAVE_SSPI 1
+#else
+#define HAVE_NTLM 1
+#endif
diff --git a/neon/makefile.mk b/neon/makefile.mk
deleted file mode 100644
index bf5b302..0000000
--- a/neon/makefile.mk
+++ /dev/null
@@ -1,91 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org.  If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=.
-
-PRJNAME=so_neon
-TARGET=so_neon
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE :	settings.mk
-
-# --- Files --------------------------------------------------------
-
-.IF "$(SYSTEM_NEON)" == "YES"
- at all:
-    @echo "Using system neon...."
-.ENDIF
-
-.IF "$(DISABLE_NEON)" == "TRUE"
- at all:
-    @echo "neon disabled...."
-.ENDIF
-
-NEON_NAME=neon-0.29.5
-
-TARFILE_NAME=$(NEON_NAME)
-TARFILE_MD5=ff369e69ef0f0143beb5626164e87ae2
-PATCH_FILES=neon.patch neon_ne_set_request_flag.patch
-
-.IF "$(GUI)"=="WNT"
-    PATCH_FILES+=neon_exports_win.patch
-.ELSE
-    PATCH_FILES+=neon_exports_unix.patch
-.ENDIF
-
-ADDITIONAL_FILES=src$/makefile.mk src$/config.h
-
-BUILD_DIR=src
-BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
-
-OUT2INC= \
-    $(BUILD_DIR)$/ne_207.h \
-    $(BUILD_DIR)$/ne_alloc.h \
-    $(BUILD_DIR)$/ne_auth.h \
-    $(BUILD_DIR)$/ne_basic.h \
-    $(BUILD_DIR)$/ne_compress.h \
-    $(BUILD_DIR)$/ne_defs.h \
-    $(BUILD_DIR)$/ne_locks.h \
-    $(BUILD_DIR)$/ne_props.h \
-    $(BUILD_DIR)$/ne_redirect.h \
-    $(BUILD_DIR)$/ne_request.h \
-    $(BUILD_DIR)$/ne_session.h \
-    $(BUILD_DIR)$/ne_socket.h \
-    $(BUILD_DIR)$/ne_ssl.h \
-    $(BUILD_DIR)$/ne_string.h \
-    $(BUILD_DIR)$/ne_uri.h \
-    $(BUILD_DIR)$/ne_utils.h \
-    $(BUILD_DIR)$/ne_xml.h \
-    $(BUILD_DIR)$/ne_xmlreq.h
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : set_ext.mk
-.INCLUDE : target.mk
-.INCLUDE : tg_ext.mk
-
diff --git a/neon/neon.patch b/neon/neon.patch
index b7a3f85..21e66d9 100644
--- a/neon/neon.patch
+++ b/neon/neon.patch
@@ -1,597 +1,5 @@
---- misc/neon-0.29.5/src/config.h	2011-02-03 10:32:38.000000000 +0100
-+++ misc/build/neon-0.29.5/src/config.h	2011-02-03 10:26:19.000000000 +0100
-@@ -1 +1,488 @@
--dummy
-+
-+/* Define to specific EGD socket path */
-+/* #undef EGD_PATH */
-+
-+/* Define if EGD should be supported */
-+/* #undef ENABLE_EGD */
-+
-+/* Define if GSS_C_NT_HOSTBASED_SERVICE is not defined otherwise */
-+/* #undef GSS_C_NT_HOSTBASED_SERVICE */
-+
-+/* Define to 1 if you have the <arpa/inet.h> header file. */
-+#ifdef UNX
-+#define HAVE_ARPA_INET_H 1
-+#endif
-+
-+/* Define to 1 if you have the `bind_textdomain_codeset' function. */
-+/* #undef HAVE_BIND_TEXTDOMAIN_CODESET 1 */
-+
-+/* Define to 1 if you have the declaration of `h_errno', and to 0 if you
-+   don't. */
-+#ifdef WIN32
-+#define HAVE_DECL_H_ERRNO 1
-+#endif
-+
-+/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
-+   */
-+#ifdef LINUX
-+#define HAVE_DECL_STPCPY 1
-+#endif
-+
-+/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
-+   don't. */
-+#ifdef LINUX
-+#define HAVE_DECL_STRERROR_R 1
-+#endif
-+
-+/* Define to 1 if you have the <dlfcn.h> header file. */
-+#ifdef UNX
-+#define HAVE_DLFCN_H 1
-+#endif
-+
-+/* Define to 1 if you have the <errno.h> header file. */
-+#define HAVE_ERRNO_H 1
-+
-+/* Define if you have expat */
-+/* #undef HAVE_EXPAT */
-+
-+/* Define to 1 if you have the `fstat64' function. */
-+#define HAVE_FSTAT64
-+
-+/* Define to 1 if you have the `gai_strerror' function. */
-+#define HAVE_GAI_STRERROR 1
-+
-+/* Define if GnuTLS support is enabled */
-+/* #undef HAVE_GNUTLS */
-+
-+/* Define to 1 if you have the `gnutls_session_get_data2' function. */
-+/* #undef HAVE_GNUTLS_SESSION_GET_DATA2 */
-+
-+/* Define if GSSAPI support is enabled */
-+/* #undef HAVE_GSSAPI */
-+
-+/* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
-+/* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */
-+
-+/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
-+/* #undef HAVE_GSSAPI_GSSAPI_H */
-+
-+/* Define to 1 if you have the <gssapi.h> header file. */
-+/* #undef HAVE_GSSAPI_H */
-+
-+/* Define to 1 if you have the `gss_init_sec_context' function. */
-+/* #undef HAVE_GSS_INIT_SEC_CONTEXT */
-+
-+/* Define to 1 if you have the `hstrerror' function. */
-+/* #undef HAVE_HSTRERROR */
-+
-+/* Define to 1 if you have the `inet_ntop' function. */
-+#ifdef UNX
-+#define HAVE_INET_NTOP 1
-+#endif
-+
-+/* Define to 1 if you have the <inttypes.h> header file. */
-+#ifdef UNX
-+#define HAVE_INTTYPES_H 1
-+#endif
-+
-+/* Define to 1 if you have the `isatty' function. */
-+#define HAVE_ISATTY 1
-+
-+/* Define to 1 if you have the <libintl.h> header file. */
-+/* #undef HAVE_LIBINTL_H */
-+
-+/* Define if you have libxml */
-+#define HAVE_LIBXML 1
-+
-+/* Define to 1 if you have the <libxml/parser.h> header file. */
-+#define HAVE_LIBXML_PARSER_H 1
-+
-+/* Define to 1 if you have the <libxml/xmlversion.h> header file. */
-+#define HAVE_LIBXML_XMLVERSION_H 1
-+
-+/* Define to 1 if you have the <limits.h> header file. */
-+#define HAVE_LIMITS_H 1
-+
-+/* Define to 1 if you have the <locale.h> header file. */
-+#define HAVE_LOCALE_H 1
-+
-+/* Define to 1 if you have the `lseek64' function. */
-+#define HAVE_LSEEK64 1
-+
-+/* Define to 1 if you have the <memory.h> header file. */
-+#define HAVE_MEMORY_H 1
-+
-+/* Define to 1 if you have the <netdb.h> header file. */
-+#ifdef UNX
-+#define HAVE_NETDB_H 1
-+#endif
-+
-+/* Define to 1 if you have the <netinet/in.h> header file. */
-+#ifdef UNX
-+#define HAVE_NETINET_IN_H 1
-+#endif
-+
-+/* Define to 1 if you have the <netinet/tcp.h> header file. */
-+#ifdef UNX
-+#define HAVE_NETINET_TCP_H 1
-+#endif
-+
-+/* Define if OpenSSL support is enabled */
-+#define HAVE_OPENSSL 1
-+
-+/* Define to 1 if you have the <openssl/opensslv.h> header file. */
-+#define HAVE_OPENSSL_OPENSSLV_H 1
-+
-+/* Define to 1 if you have the <openssl/ssl.h> header file. */
-+#define HAVE_OPENSSL_SSL_H 1
-+
-+/* Define to 1 if you have the `pipe' function. */
-+#define HAVE_PIPE 1
-+
-+/* Define to 1 if you have the `poll' function. */
-+#define HAVE_POLL 1
-+
-+/* Define to 1 if you have the `pthread_mutex_init' function. */
-+/* #undef HAVE_PTHREAD_MUTEX_INIT */
-+
-+/* Define to 1 if you have the `pthread_mutex_lock' function. */
-+/* #undef HAVE_PTHREAD_MUTEX_LOCK */
-+
-+/* Define to 1 if you have the `setlocale' function. */
-+#define HAVE_SETLOCALE 1
-+
-+/* Define to 1 if you have the `setsockopt' function. */
-+#if defined (LINUX) || defined (WIN32)
-+#define HAVE_SETSOCKOPT 1
-+#endif
-+
-+/* Define to 1 if you have the `setvbuf' function. */
-+#define HAVE_SETVBUF 1
-+
-+/* Define to 1 if you have the `shutdown' function. */
-+#ifdef LINUX
-+#define HAVE_SHUTDOWN 1
-+#endif
-+
-+/* Define to 1 if you have the `signal' function. */
-+#define HAVE_SIGNAL 1
-+
-+/* Define to 1 if you have the <signal.h> header file. */
-+#define HAVE_SIGNAL_H 1
-+
-+/* Define to 1 if you have the `snprintf' function. */
-+#ifdef UNX
-+#define HAVE_SNPRINTF 1
-+#endif
-+
-+#ifdef WIN32
-+#define snprintf _snprintf
-+#endif
-+
-+/* Define to 1 if you have the <socks.h> header file. */
-+/* #undef HAVE_SOCKS_H */
-+
-+/* Define to 1 if you have the <stdarg.h> header file. */
-+#define HAVE_STDARG_H 1
-+
-+/* Define to 1 if you have the <stdint.h> header file. */
-+#define HAVE_STDINT_H 1
-+
-+/* Define to 1 if you have the <stdlib.h> header file. */
-+#define HAVE_STDLIB_H 1
-+
-+/* Define to 1 if you have the `stpcpy' function. */
-+#ifdef LINUX
-+#define HAVE_STPCPY 1
-+#endif
-+
-+/* Define to 1 if you have the `strcasecmp' function. */
-+#ifdef UNX
-+#define HAVE_STRCASECMP 1
-+#endif
-+
-+#ifdef WIN32
-+#define strcasecmp strcmpi
-+#endif
-+
-+/* Define to 1 if you have the `strerror_r' function. */
-+#ifdef LINUX
-+#define HAVE_STRERROR_R 1
-+#endif
-+
-+/* Define to 1 if you have the <strings.h> header file. */
-+#ifdef UNX
-+#define HAVE_STRINGS_H 1
-+#endif
-+
-+/* Define to 1 if you have the <string.h> header file. */
-+#define HAVE_STRING_H 1
-+
-+/* Define to 1 if you have the `strtoll' function. */
-+#define HAVE_STRTOLL 1
-+
-+/* Define to 1 if you have the `strtoq' function. */
-+/* #undef HAVE_STRTOQ */
-+
-+/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
-+#ifdef LINUX
-+#define HAVE_STRUCT_TM_TM_GMTOFF 1
-+#endif
-+
-+/* Define to 1 if `__tm_gmtoff' is member of `struct tm'. */
-+/* #undef HAVE_STRUCT_TM___TM_GMTOFF */
-+
-+/* Define to 1 if you have the <sys/limits.h> header file. */
-+/* #undef HAVE_SYS_LIMITS_H */
-+
-+/* Define to 1 if you have the <sys/poll.h> header file. */
-+#ifdef UNX
-+#define HAVE_SYS_POLL_H 1
-+#endif
-+
-+/* Define to 1 if you have the <sys/select.h> header file. */
-+#ifdef UNX
-+#define HAVE_SYS_SELECT_H 1
-+#endif
-+
-+/* Define to 1 if you have the <sys/socket.h> header file. */
-+#ifdef UNX
-+#define HAVE_SYS_SOCKET_H 1
-+#endif
-+
-+/* Define to 1 if you have the <sys/stat.h> header file. */
-+#define HAVE_SYS_STAT_H 1
-+
-+/* Define to 1 if you have the <sys/time.h> header file. */
-+#ifdef UNX
-+#define HAVE_SYS_TIME_H 1
-+#endif
-+
-+/* Define to 1 if you have the <sys/types.h> header file. */
-+#define HAVE_SYS_TYPES_H 1
-+
-+/* Define if the timezone global is available */
-+#ifndef MACOSX
-+#define HAVE_TIMEZONE 1
-+#endif
-+
-+/* Use trio printf replacement library */
-+/* #undef HAVE_TRIO */
-+
-+/* Define to 1 if you have the <trio.h> header file. */
-+/* #undef HAVE_TRIO_H */
-+
-+/* Define to 1 if you have the <unistd.h> header file. */
-+#ifdef UNX
-+#define HAVE_UNISTD_H 1
-+#endif
-+
-+/* Define to 1 if you have the `usleep' function. */
-+#ifdef UNX
-+#define HAVE_USLEEP 1
-+#endif
-+
-+/* Define to 1 if you have the `vsnprintf' function. */
-+#if defined( UNX ) || (defined(_MSC_VER) && (_MSC_VER > 1400))
-+#define HAVE_VSNPRINTF 1
-+#endif
-+
-+#ifdef WIN32
-+#if (defined(_MSC_VER) && (_MSC_VER < 1500)) || defined(__MINGW32__)
-+#define vsnprintf _vsnprintf
-+#endif
-+#endif
-+
-+/* Define to be location of localedir */
-+/* #undef LOCALEDIR */
-+
-+/* Defined when neon is built as a library */
-+#define NEON_IS_LIBRARY 1
-+
-+/* Define to be the neon version string */
-+#define NEON_VERSION "0.29.5"
-+
-+/* Define to enable debugging */
-+/* #undef NE_DEBUGGING */
-+
-+/* Define to be printf format string for off64_t */
-+#define NE_FMT_OFF64_T "lld"
-+
-+/* Define to be printf format string for off_t */
-+#define NE_FMT_OFF_T "ld"
-+
-+/* Define to be printf format string for size_t */
-+#define NE_FMT_SIZE_T "u"
-+
-+/* Define to be printf format string for ssize_t */
-+#define NE_FMT_SSIZE_T "d"
-+
-+/* Define to be printf format string for time_t */
-+#define NE_FMT_TIME_T "ld"
-+
-+/* Defined if DAV is supported */
-+#define NE_HAVE_DAV 1
-+
-+/* Defined if I18N is supported */
-+/* #undef NE_HAVE_I18N 1 */
-+
-+/* Defined if IPV6 is supported */
-+#define NE_HAVE_IPV6 1
-+
-+/* Defined if LFS is supported */
-+#define NE_HAVE_LFS 1
-+
-+/* Defined if SOCKS is supported */
-+/* #undef NE_HAVE_SOCKS */
-+
-+/* Defined if SSL is supported */
-+#define NE_HAVE_SSL
-+
-+/* Defined if TS_SSL is supported */
-+/* #undef NE_HAVE_TS_SSL */
-+
-+/* Defined if ZLIB is supported */
-+#define NE_HAVE_ZLIB 1
-+
-+/* Define to be filename of an SSL CA root bundle */
-+/* #undef NE_SSL_CA_BUNDLE */
-+
-+/* Define if poll() should be used */
-+#ifdef UNX
-+#define NE_USE_POLL 1
-+#endif
-+
-+/* Define to be neon library major version */
-+#define NE_VERSION_MAJOR (0)
-+
-+/* Define to be neon library minor version */
-+#define NE_VERSION_MINOR (29)
-+
-+/* Define to be neon library patch version */
-+#define NE_VERSION_PATCH (5)
-+
-+/* Define to the address where bug reports for this package should be sent. */
-+#define PACKAGE_BUGREPORT "neon at webdav.org"
-+
-+/* Define to the full name of this package. */
-+#define PACKAGE_NAME "neon"
-+
-+/* Define to the full name and version of this package. */
-+#define PACKAGE_STRING "neon 0.29.5"
-+
-+/* Define to the one symbol short name of this package. */
-+#define PACKAGE_TARNAME "neon"
-+
-+/* Define to the version of this package. */
-+#define PACKAGE_VERSION "0.29.5"
-+
-+/* The size of a `int', as computed by sizeof. */
-+#define SIZEOF_INT 4
-+
-+/* The size of a `long', as computed by sizeof. */
-+#define SIZEOF_LONG 4
-+
-+/* The size of a `long long', as computed by sizeof. */
-+#define SIZEOF_LONG_LONG 8
-+
-+/* The size of a `off64_t', as computed by sizeof. */
-+#define SIZEOF_OFF64_T 8
-+
-+/* The size of a `off_t', as computed by sizeof. */
-+#define SIZEOF_OFF_T 4
-+
-+/* The size of a `size_t', as computed by sizeof. */
-+#define SIZEOF_SIZE_T 4
-+
-+/* The size of a `ssize_t', as computed by sizeof. */
-+#define SIZEOF_SSIZE_T 4
-+
-+/* The size of a `time_t', as computed by sizeof. */
-+#define SIZEOF_TIME_T 4
-+
-+/* Define to 1 if you have the ANSI C header files. */
-+#ifdef SOLARIS
-+#define STDC_HEADERS 1
-+#endif
-+
-+/* Define to 1 if strerror_r returns char *. */
-+#ifdef LINUX
-+#define STRERROR_R_CHAR_P 1
-+#endif
-+
-+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-+#define TIME_WITH_SYS_TIME 1
-+
-+/* Define if getaddrinfo supports AI_ADDRCONFIG */
-+/* #undef USE_GAI_ADDRCONFIG */
-+
-+/* Define if getaddrinfo() should be used */
-+#define USE_GETADDRINFO 1
-+
-+/* Define to 1 if your processor stores words with the most significant byte
-+   first (like Motorola and SPARC, unlike Intel and VAX). */
-+#if defined (SOLARIS) && defined (SPARC)
-+#define WORDS_BIGENDIAN 1
-+#endif
-+
-+/* Always defined to enable GNU extensions */
-+#define _GNU_SOURCE 1
-+
-+/* Define to empty if `const' does not conform to ANSI C. */
-+/* #undef const */
-+
-+/* Define if in_addr_t is not available */
-+/* #undef in_addr_t */
-+
-+/* Define to `__inline__' or `__inline' if that's what the C compiler
-+   calls it, or to nothing if 'inline' is not supported under any name.  */
-+#ifndef __cplusplus
-+#if defined (SOLARIS) && defined (__SUNPRO_C)
-+#define inline
-+#endif
-+#endif
-+
-+/* Define to `long' if <sys/types.h> does not define. */
-+/* #undef off_t */
-+
-+/* Define to `int' if <sys/types.h> does not define. */
-+/* #undef pid_t */
-+
-+/* Define to `unsigned' if <sys/types.h> does not define. */
-+/* #undef size_t */
-+
-+/* MS IIS does not send Lock-Token response header after creation of a */
-+/* new lock. This violates RFC, but... if we want to talk with this   */
-+/* beast we need a workaround */
-+#define IIS_LOCK_BUG_WORKAROUND 1
-+
-+/* Enable leak-tracking versions of ne_*alloc when NEON_MEMLEAK is enabled */
-+#ifdef NEON_MEMLEAK
-+# include "memleak.h"
-+#endif
-+
-+#if defined(HAVE_STPCPY) && defined(HAVE_DECL_STPCPY) && !HAVE_DECL_STPCPY && !defined(stpcpy)
-+char *stpcpy(char *, const char *);
-+#endif
-+
-+#ifdef WIN32
-+
-+#include <io.h>
-+
-+#define HAVE_MEMCPY 1
-+
-+#define strncasecmp strnicmp
-+#define inline      __inline
-+#define WIN32_LEAN_AND_MEAN
-+#define NOUSER
-+#define NOGDI
-+#define NONLS
-+#define NOCRYPT
-+
-+#endif
-+
-+#ifdef WIN32
-+#define HAVE_SSPI 1
-+#else
-+#define HAVE_NTLM 1
-+#endif
---- misc/neon-0.29.5/src/makefile.mk	2011-02-03 10:32:38.000000000 +0100
-+++ misc/build/neon-0.29.5/src/makefile.mk	2011-02-03 10:26:19.000000000 +0100
-@@ -1,1 +1,96 @@
--dummy
-+PRJ=..$/..$/..$/..$/..
-+
-+PRJNAME=neon
-+TARGET=neon
-+LIBTARGET=NO
-+USE_DEFFILE=TRUE
-+NO_DEFAULT_STL=TRUE
-+EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
-+UWINAPILIB=
-+
-+# --- Settings -----------------------------------------------------
-+
-+.INCLUDE :  settings.mk
-+
-+# --- Files --------------------------------------------------------
-+
-+CDEFS+=-DHAVE_CONFIG_H
-+
-+.IF "$(SYSTEM_LIBXML)" == "YES"
-+CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
-+.ELSE
-+LIBXMLINCDIR=external$/libxml
-+CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXMLINCDIR)
-+.ENDIF
-+
-+.IF "$(SYSTEM_OPENSSL)" == "YES"
-+CFLAGS+= $(OPENSSL_CFLAGS)
-+.ENDIF
-+
-+.IF "$(SYSTEM_ZLIB)" == "YES"
-+CFLAGS+=-DSYSTEM_ZLIB
-+.ELSE
-+ZLIBINCDIR=external$/zlib
-+CFLAGS+=-I$(SOLARINCDIR)$/$(ZLIBINCDIR)
-+.ENDIF
-+
-+SLOFILES= \
-+        $(SLO)$/ne_207.obj \
-+        $(SLO)$/ne_acl3744.obj \
-+        $(SLO)$/ne_alloc.obj \
-+        $(SLO)$/ne_auth.obj \
-+        $(SLO)$/ne_basic.obj \
-+        $(SLO)$/ne_compress.obj \
-+        $(SLO)$/ne_dates.obj \
-+        $(SLO)$/ne_i18n.obj \
-+        $(SLO)$/ne_locks.obj \
-+        $(SLO)$/ne_md5.obj \
-+        $(SLO)$/ne_props.obj \
-+        $(SLO)$/ne_redirect.obj \
-+        $(SLO)$/ne_request.obj \
-+        $(SLO)$/ne_session.obj \
-+        $(SLO)$/ne_socket.obj \
-+        $(SLO)$/ne_socks.obj \
-+        $(SLO)$/ne_string.obj \
-+        $(SLO)$/ne_uri.obj \
-+        $(SLO)$/ne_utils.obj \
-+        $(SLO)$/ne_xml.obj \
-+        $(SLO)$/ne_xmlreq.obj \
-+        $(SLO)$/ne_openssl.obj
-+
-+.IF "$(OS)"=="WNT"
-+SLOFILES+=$(SLO)$/ne_sspi.obj
-+.ELSE
-+SLOFILES+=$(SLO)$/ne_ntlm.obj
-+.ENDIF
-+
-+#       $(SLO)$/ne_gnutls.obj \
-+#       $(SLO)$/ne_stubssl.obj
-+
-+SHL1OBJS=$(SLOFILES)
-+SHL1TARGET=$(TARGET)
-+SHL1VERSIONMAP=exports.map
-+SHL1IMPLIB=i$(TARGET)
-+
-+SHL1STDLIBS+= $(LIBXML2LIB) \
-+              $(ZLIB3RDLIB)
-+
-+.IF "$(GUI)"=="WNT"
-+	SHL1STDLIBS+= $(WS2_32LIB)
-+	SHL1STDLIBS+= $(OPENSSLLIB)
-+.ELSE # WNT
-+	.IF "$(OS)"=="SOLARIS"
-+		SHL1STDLIBS+= -lnsl -lsocket -ldl
-+	.ENDIF # SOLARIS
-+	.IF "$(SYSTEM_OPENSSL)"=="YES"
-+		SHL1STDLIBS+= $(OPENSSLLIB)
-+	.ELSE
-+		SHL1STDLIBS+= $(OPENSSLLIBST)
-+	.ENDIF
-+.ENDIF # WNT
-+
-+SHL1DEF=$(MISC)$/$(SHL1TARGET).def
-+
-+# --- Targets ------------------------------------------------------
-+DEF1NAME=$(SHL1TARGET)
-+.INCLUDE :  target.mk
---- misc/neon-0.29.5/src/ne_auth.c	2010-10-14 17:00:53.000000000 +0200
-+++ misc/build/neon-0.29.5/src/ne_auth.c	2011-02-03 10:31:22.000000000 +0100
+--- src/ne_auth.c	2010-10-14 17:00:53.000000000 +0200
++++ src/ne_auth.c	2011-02-03 10:31:22.000000000 +0100
 @@ -367,7 +367,7 @@
  static int get_credentials(auth_session *sess, ne_buffer **errmsg, int attempt,
                             struct auth_challenge *chall, char *pwbuf) 
@@ -674,8 +82,8 @@
  }
  
  #endif
---- misc/neon-0.29.5/src/ne_auth.h	2009-09-01 22:13:12.000000000 +0200
-+++ misc/build/neon-0.29.5/src/ne_auth.h	2011-02-03 10:26:20.000000000 +0100
+--- src/ne_auth.h	2009-09-01 22:13:12.000000000 +0200
++++ src/ne_auth.h	2011-02-03 10:26:20.000000000 +0100
 @@ -47,8 +47,8 @@
   * Hint: if you just wish to attempt authentication just once (even if
   * the user gets the username/password wrong), have the callback
@@ -687,8 +95,8 @@
  
  /* Set callbacks to provide credentials for server and proxy
   * authentication, using the default set of authentication protocols.
---- misc/neon-0.29.5/src/ne_defs.h	2010-01-11 23:57:34.000000000 +0100
-+++ misc/build/neon-0.29.5/src/ne_defs.h	2011-02-03 10:26:20.000000000 +0100
+--- src/ne_defs.h	2010-01-11 23:57:34.000000000 +0100
++++ src/ne_defs.h	2011-02-03 10:26:20.000000000 +0100
 @@ -41,7 +41,7 @@
  #endif
  
@@ -698,8 +106,8 @@
  #define ssize_t int
  #endif
  
---- misc/neon-0.29.5/src/ne_locks.c	2007-02-05 11:09:27.000000000 +0100
-+++ misc/build/neon-0.29.5/src/ne_locks.c	2011-02-03 10:26:21.000000000 +0100
+--- src/ne_locks.c	2007-02-05 11:09:27.000000000 +0100
++++ src/ne_locks.c	2011-02-03 10:26:21.000000000 +0100
 @@ -579,6 +579,23 @@
          const char *token = ne_get_response_header(ctx->req, "Lock-Token");
          /* at the root element; retrieve the Lock-Token header,
@@ -766,8 +174,8 @@
  	    ctx->found = 1;
  	}
      }
---- misc/neon-0.29.5/src/ne_locks.h	2006-01-02 12:43:19.000000000 +0100
-+++ misc/build/neon-0.29.5/src/ne_locks.h	2011-02-03 10:26:21.000000000 +0100
+--- src/ne_locks.h	2006-01-02 12:43:19.000000000 +0100
++++ src/ne_locks.h	2011-02-03 10:26:21.000000000 +0100
 @@ -22,6 +22,10 @@
  #ifndef NE_LOCKS_H
  #define NE_LOCKS_H
@@ -779,8 +187,8 @@
  #include "ne_request.h" /* for ne_session + ne_request */
  #include "ne_uri.h" /* for ne_uri */
  
---- misc/neon-0.29.5/src/ne_sspi.c	2007-08-10 17:26:08.000000000 +0200
-+++ misc/build/neon-0.29.5/src/ne_sspi.c	2011-02-03 10:26:21.000000000 +0100
+--- src/ne_sspi.c	2007-08-10 17:26:08.000000000 +0200
++++ src/ne_sspi.c	2011-02-03 10:26:21.000000000 +0100
 @@ -206,6 +206,45 @@
  }
  
@@ -866,8 +274,8 @@
  
          securityStatus =
              initializeSecurityContext(&sspiContext->credentials, NULL,
---- misc/neon-0.29.5/src/ne_sspi.h	2006-02-12 13:05:14.000000000 +0100
-+++ misc/build/neon-0.29.5/src/ne_sspi.h	2011-02-03 10:26:21.000000000 +0100
+--- src/ne_sspi.h	2006-02-12 13:05:14.000000000 +0100
++++ src/ne_sspi.h	2011-02-03 10:26:21.000000000 +0100
 @@ -41,7 +41,7 @@
  int ne_sspi_clear_context(void *context);
  
@@ -877,8 +285,8 @@
  
  #endif /* HAVE_SSPI */
  
---- misc/neon-0.29.5/src/ne_uri.c	2007-12-05 12:04:47.000000000 +0100
-+++ misc/build/neon-0.29.5/src/ne_uri.c	2011-02-03 10:26:21.000000000 +0100
+--- src/ne_uri.c	2007-12-05 12:04:47.000000000 +0100
++++ src/ne_uri.c	2011-02-03 10:26:21.000000000 +0100
 @@ -42,7 +42,7 @@
  #include "ne_alloc.h"
  #include "ne_uri.h"
@@ -924,8 +332,8 @@
  /*   3x */ DG, DG, DG, DG, DG, DG, DG, DG, DG, DG, CL, SD, OT, SD, OT, QU,
  /*   4x */ AT, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
  /*   5x */ AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, GD, OT, GD, OT, US,
---- misc/neon-0.29.5/src/ne_utils.c	2006-03-07 10:36:43.000000000 +0100
-+++ misc/build/neon-0.29.5/src/ne_utils.c	2011-02-03 10:26:21.000000000 +0100
+--- src/ne_utils.c	2006-03-07 10:36:43.000000000 +0100
++++ src/ne_utils.c	2011-02-03 10:26:21.000000000 +0100
 @@ -118,6 +118,9 @@
  #ifdef HAVE_GNUTLS
      ", GNU TLS " LIBGNUTLS_VERSION
@@ -955,8 +363,8 @@
          return 1;
  #endif /* NE_HAVE_* */
      default:
---- misc/neon-0.29.5/src/ne_utils.h	2007-07-16 08:54:57.000000000 +0200
-+++ misc/build/neon-0.29.5/src/ne_utils.h	2011-02-03 10:26:21.000000000 +0100
+--- src/ne_utils.h	2007-07-16 08:54:57.000000000 +0200
++++ src/ne_utils.h	2011-02-03 10:26:21.000000000 +0100
 @@ -54,6 +54,7 @@
  #define NE_FEATURE_SOCKS (5) /* SOCKSv5 support */
  #define NE_FEATURE_TS_SSL (6) /* Thread-safe SSL/TLS support */
diff --git a/neon/neon_exports_unix.patch b/neon/neon_exports_unix.patch
deleted file mode 100644
index d162a14..0000000
--- a/neon/neon_exports_unix.patch
+++ /dev/null
@@ -1,291 +0,0 @@
---- misc/neon-0.29.5/src/exports.map	2009-09-29 10:28:13.531250000 +0200
-+++ misc/build/neon-0.29.5/src/exports.map	2009-09-21 12:16:53.453125000 +0200
-@@ -0,0 +1,288 @@
-+UDK_3_0_0 {
-+	global:
-+		ne__negotiate_ssl;
-+		ne__ssl_exit;
-+		ne__ssl_init;
-+		ne_ssl_cert_cmp;
-+		ne_ssl_cert_digest;
-+		ne_ssl_cert_export;
-+		ne_ssl_cert_free;
-+		ne_ssl_cert_identity;
-+		ne_ssl_cert_import;
-+		ne_ssl_cert_issuer;
-+		ne_ssl_cert_read;
-+		ne_ssl_cert_signedby;
-+		ne_ssl_cert_subject;
-+		ne_ssl_cert_validity_time;
-+		ne_ssl_cert_write;
-+		ne_ssl_clicert_decrypt;
-+		ne_ssl_clicert_encrypted;
-+		ne_ssl_clicert_free;
-+		ne_ssl_clicert_name;
-+		ne_ssl_clicert_owner;
-+		ne_ssl_clicert_read;
-+		ne_ssl_context_create;
-+		ne_ssl_context_destroy;
-+		ne_ssl_context_keypair;
-+		ne_ssl_context_set_flag;
-+		ne_ssl_context_set_verify;
-+		ne_ssl_context_trustcert;
-+		ne_ssl_dname_cmp;
-+		ne_ssl_readable_dname;
-+		ne_ssl_set_clicert;
-+		ne_ssl_trust_default_ca;
-+		ne_xml_dispatch_request;
-+		ne_xml_parse_response;
-+		ne_xml_create;
-+		ne_xml_currentline;
-+		ne_xml_destroy;
-+		ne_xml_doc_encoding;
-+		ne_xml_failed;
-+		ne_xml_get_attr;
-+		ne_xml_get_error;
-+		ne_xml_mapid;
-+		ne_xml_parse;
-+		ne_xml_parse_v;
-+		ne_xml_push_handler;
-+		ne_xml_resolve_nspace;
-+		ne_xml_set_error;
-+		ne_debug;
-+		ne_debug_init;
-+		ne_debug_mask;
-+		ne_debug_stream;
-+		ne_has_support;
-+		ne_parse_statusline;
-+		ne_version_match;
-+		ne_version_string;
-+		ne_path_childof;
-+		ne_path_compare;
-+		ne_path_escape;
-+		ne_path_has_trailing_slash;
-+		ne_path_parent;
-+		ne_path_unescape;
-+		ne_uri_cmp;
-+		ne_uri_copy;
-+		ne_uri_defaultport;
-+		ne_uri_free;
-+		ne_uri_parse;
-+		ne_uri_resolve;
-+		ne_uri_unparse;
-+		ne_base64;
-+		ne_buffer_altered;
-+		ne_buffer_append;
-+		ne_buffer_clear;
-+		ne_buffer_concat;
-+		ne_buffer_create;
-+		ne_buffer_destroy;
-+		ne_buffer_finish;
-+		ne_buffer_grow;
-+		ne_buffer_ncreate;
-+		ne_buffer_snprintf;
-+		ne_buffer_zappend;
-+		ne_concat;
-+		ne_qtoken;
-+		ne_shave;
-+		ne_snprintf;
-+		ne_strcasecmp;
-+		ne_strclean;
-+		ne_strerror;
-+		ne_strncasecmp;
-+		ne_token;
-+		ne_tolower_array;
-+		ne_unbase64;
-+		ne_vsnprintf;
-+		ne__sock_sslsock;
-+		ne_addr_destroy;
-+		ne_addr_error;
-+		ne_addr_first;
-+		ne_addr_next;
-+		ne_addr_resolve;
-+		ne_addr_result;
-+		ne_iaddr_cmp;
-+		ne_iaddr_free;
-+		ne_iaddr_make;
-+		ne_iaddr_print;
-+		ne_iaddr_reverse;
-+		ne_iaddr_typeof;
-+		ne_sock_accept;
-+		ne_sock_accept_ssl;
-+		ne_sock_block;
-+		ne_sock_cipher;
-+		ne_sock_close;
-+		ne_sock_connect;
-+		ne_sock_connect_ssl;
-+		ne_sock_connect_timeout;
-+		ne_sock_create;
-+		ne_sock_error;
-+		ne_sock_exit;
-+		ne_sock_fd;
-+		ne_sock_fullread;
-+		ne_sock_fullwrite;
-+		ne_sock_init;
-+		ne_sock_peek;
-+		ne_sock_peer;
-+		ne_sock_prebind;
-+		ne_sock_proxy;
-+		ne_sock_read;
-+		ne_sock_read_timeout;
-+		ne_sock_readline;
-+		ne_sock_sessid;
-+		ne__ssl_set_verify_err;
-+		ne_close_connection;
-+		ne_fill_proxy_uri;
-+		ne_fill_server_uri;
-+		ne_get_error;
-+		ne_get_scheme;
-+		ne_get_server_hostport;
-+		ne_get_session_flag;
-+		ne_hook_close_conn;
-+		ne_hook_create_request;
-+		ne_hook_destroy_request;
-+		ne_hook_destroy_session;
-+		ne_hook_post_headers;
-+		ne_hook_post_send;
-+		ne_hook_pre_send;
-+		ne_session_create;
-+		ne_session_destroy;
-+		ne_session_proxy;
-+		ne_set_addrlist;
-+		ne_set_connect_timeout;
-+		ne_set_error;
-+		ne_set_localaddr;
-+		ne_set_notifier;
-+		ne_set_progress;
-+		ne_set_read_timeout;
-+		ne_set_session_flag;
-+		ne_set_session_private;
-+		ne_set_useragent;
-+		ne_ssl_cert_validity;
-+		ne_ssl_provide_clicert;
-+		ne_ssl_set_verify;
-+		ne_ssl_trust_cert;
-+		ne_unhook_close_conn;
-+		ne_unhook_create_request;
-+		ne_unhook_destroy_request;
-+		ne_unhook_destroy_session;
-+		ne_unhook_post_headers;
-+		ne_unhook_post_send;
-+		ne_unhook_pre_send;
-+		ne_version_pre_http11;
-+		ne_accept_2xx;
-+		ne_accept_always;
-+		ne_add_request_header;
-+		ne_add_response_body_reader;
-+		ne_begin_request;
-+		ne_discard_response;
-+		ne_end_request;
-+		ne_get_request_flag;
-+		ne_get_request_private;
-+		ne_get_response_header;
-+		ne_get_session;
-+		ne_get_session_private;
-+		ne_get_status;
-+		ne_print_request_header;
-+		ne_read_response_block;
-+		ne_read_response_to_fd;
-+		ne_request_create;
-+		ne_request_destroy;
-+		ne_request_dispatch;
-+		ne_response_header_iterate;
-+		ne_set_request_body_buffer;
-+		ne_set_request_body_fd;
-+		ne_set_request_body_provider;
-+		ne_set_request_flag;
-+		ne_set_request_private;
-+		ne_redirect_location;
-+		ne_redirect_register;
-+		ne_propfind_allprop;
-+		ne_propfind_create;
-+		ne_propfind_current_private;
-+		ne_propfind_destroy;
-+		ne_propfind_get_parser;
-+		ne_propfind_get_request;
-+		ne_propfind_named;
-+		ne_propfind_set_private;
-+		ne_propnames;
-+		ne_proppatch;
-+		ne_propset_iterate;
-+		ne_propset_lang;
-+		ne_propset_private;
-+		ne_propset_status;
-+		ne_propset_value;
-+		ne_simple_propfind;
-+		ne_ascii_to_md5;
-+		ne_md5_create_ctx;
-+		ne_md5_destroy_ctx;
-+		ne_md5_dup_ctx;
-+		ne_md5_finish_ascii;
-+		ne_md5_finish_ctx;
-+		ne_md5_process_block;
-+		ne_md5_process_bytes;
-+		ne_md5_read_ctx;
-+		ne_md5_reset_ctx;
-+		ne_md5_stream;
-+		ne_md5_to_ascii;
-+		ne_lock;
-+		ne_lock_copy;
-+		ne_lock_create;
-+		ne_lock_destroy;
-+		ne_lock_discover;
-+		ne_lock_free;
-+		ne_lock_refresh;
-+		ne_lock_using_parent;
-+		ne_lock_using_resource;
-+		ne_lockstore_add;
-+		ne_lockstore_create;
-+		ne_lockstore_destroy;
-+		ne_lockstore_findbyuri;
-+		ne_lockstore_first;
-+		ne_lockstore_next;
-+		ne_lockstore_register;
-+		ne_lockstore_remove;
-+		ne_unlock;
-+		ne_i18n_init;
-+		ne_asctime_parse;
-+		ne_httpdate_parse;
-+		ne_iso8601_parse;
-+		ne_rfc1036_parse;
-+		ne_rfc1123_date;
-+		ne_rfc1123_parse;
-+		ne_decompress_destroy;
-+		ne_decompress_reader;
-+		ne_add_depth_header;
-+		ne_copy;
-+		ne_delete;
-+		ne_get;
-+		ne_get_content_type;
-+		ne_get_range;
-+		ne_getmodtime;
-+		ne_mkcol;
-+		ne_move;
-+		ne_options;
-+		ne_options2;
-+		ne_post;
-+		ne_put;
-+		ne_add_proxy_auth;
-+		ne_add_server_auth;
-+		ne_forget_auth;
-+		ne_set_proxy_auth;
-+		ne_set_server_auth;
-+		ne_calloc;
-+		ne_malloc;
-+		ne_oom_callback;
-+		ne_realloc;
-+		ne_strdup;
-+		ne_strndup;
-+		ne_acl3744_set;
-+		ne_207_create;
-+		ne_207_destroy;
-+		ne_207_get_current_propstat;
-+		ne_207_get_current_response;
-+		ne_207_set_propstat_handlers;
-+		ne_207_set_response_handlers;
-+		ne_accept_207;
-+		ne_simple_request;
-+		GetVersionInfo;
-+	local:
-+		*;
-+};
diff --git a/neon/neon_exports_win.patch b/neon/neon_exports_win.patch
deleted file mode 100644
index 40f130e..0000000
--- a/neon/neon_exports_win.patch
+++ /dev/null
@@ -1,297 +0,0 @@
---- misc/neon-0.29.5/src/exports.map	2009-09-29 10:28:13.531250000 +0200
-+++ misc/build/neon-0.29.5/src/exports.map	2009-09-21 12:16:53.453125000 +0200
-@@ -0,0 +1,294 @@
-+UDK_3_0_0 {
-+	global:
-+		ne_sspi_authenticate;
-+		ne_sspi_clear_context;
-+		ne_sspi_create_context;
-+		ne_sspi_deinit;
-+		ne_sspi_destroy_context;
-+		ne_sspi_init;
-+		ne__negotiate_ssl;
-+		ne__ssl_exit;
-+		ne__ssl_init;
-+		ne_ssl_cert_cmp;
-+		ne_ssl_cert_digest;
-+		ne_ssl_cert_export;
-+		ne_ssl_cert_free;
-+		ne_ssl_cert_identity;
-+		ne_ssl_cert_import;
-+		ne_ssl_cert_issuer;
-+		ne_ssl_cert_read;
-+		ne_ssl_cert_signedby;
-+		ne_ssl_cert_subject;
-+		ne_ssl_cert_validity_time;
-+		ne_ssl_cert_write;
-+		ne_ssl_clicert_decrypt;
-+		ne_ssl_clicert_encrypted;
-+		ne_ssl_clicert_free;
-+		ne_ssl_clicert_name;
-+		ne_ssl_clicert_owner;
-+		ne_ssl_clicert_read;
-+		ne_ssl_context_create;
-+		ne_ssl_context_destroy;
-+		ne_ssl_context_keypair;
-+		ne_ssl_context_set_flag;
-+		ne_ssl_context_set_verify;
-+		ne_ssl_context_trustcert;
-+		ne_ssl_dname_cmp;
-+		ne_ssl_readable_dname;
-+		ne_ssl_set_clicert;
-+		ne_ssl_trust_default_ca;
-+		ne_xml_dispatch_request;
-+		ne_xml_parse_response;
-+		ne_xml_create;
-+		ne_xml_currentline;
-+		ne_xml_destroy;
-+		ne_xml_doc_encoding;
-+		ne_xml_failed;
-+		ne_xml_get_attr;
-+		ne_xml_get_error;
-+		ne_xml_mapid;
-+		ne_xml_parse;
-+		ne_xml_parse_v;
-+		ne_xml_push_handler;
-+		ne_xml_resolve_nspace;
-+		ne_xml_set_error;
-+		ne_debug;
-+		ne_debug_init;
-+		ne_debug_mask;
-+		ne_debug_stream;
-+		ne_has_support;
-+		ne_parse_statusline;
-+		ne_version_match;
-+		ne_version_string;
-+		ne_path_childof;
-+		ne_path_compare;
-+		ne_path_escape;
-+		ne_path_has_trailing_slash;
-+		ne_path_parent;
-+		ne_path_unescape;
-+		ne_uri_cmp;
-+		ne_uri_copy;
-+		ne_uri_defaultport;
-+		ne_uri_free;
-+		ne_uri_parse;
-+		ne_uri_resolve;
-+		ne_uri_unparse;
-+		ne_base64;
-+		ne_buffer_altered;
-+		ne_buffer_append;
-+		ne_buffer_clear;
-+		ne_buffer_concat;
-+		ne_buffer_create;
-+		ne_buffer_destroy;
-+		ne_buffer_finish;
-+		ne_buffer_grow;
-+		ne_buffer_ncreate;
-+		ne_buffer_snprintf;
-+		ne_buffer_zappend;
-+		ne_concat;
-+		ne_qtoken;
-+		ne_shave;
-+		ne_snprintf;
-+		ne_strcasecmp;
-+		ne_strclean;
-+		ne_strerror;
-+		ne_strncasecmp;
-+		ne_token;
-+		ne_tolower_array;
-+		ne_unbase64;
-+		ne_vsnprintf;
-+		ne__sock_sslsock;
-+		ne_addr_destroy;
-+		ne_addr_error;
-+		ne_addr_first;
-+		ne_addr_next;
-+		ne_addr_resolve;
-+		ne_addr_result;
-+		ne_iaddr_cmp;
-+		ne_iaddr_free;
-+		ne_iaddr_make;
-+		ne_iaddr_print;
-+		ne_iaddr_reverse;
-+		ne_iaddr_typeof;
-+		ne_sock_accept;
-+		ne_sock_accept_ssl;
-+		ne_sock_block;
-+		ne_sock_cipher;
-+		ne_sock_close;
-+		ne_sock_connect;
-+		ne_sock_connect_ssl;
-+		ne_sock_connect_timeout;
-+		ne_sock_create;
-+		ne_sock_error;
-+		ne_sock_exit;
-+		ne_sock_fd;
-+		ne_sock_fullread;
-+		ne_sock_fullwrite;
-+		ne_sock_init;
-+		ne_sock_peek;
-+		ne_sock_peer;
-+		ne_sock_prebind;
-+		ne_sock_proxy;
-+		ne_sock_read;
-+		ne_sock_read_timeout;
-+		ne_sock_readline;
-+		ne_sock_sessid;
-+		ne__ssl_set_verify_err;
-+		ne_close_connection;
-+		ne_fill_proxy_uri;
-+		ne_fill_server_uri;
-+		ne_get_error;
-+		ne_get_scheme;
-+		ne_get_server_hostport;
-+		ne_get_session_flag;
-+		ne_hook_close_conn;
-+		ne_hook_create_request;
-+		ne_hook_destroy_request;
-+		ne_hook_destroy_session;
-+		ne_hook_post_headers;
-+		ne_hook_post_send;
-+		ne_hook_pre_send;
-+		ne_session_create;
-+		ne_session_destroy;
-+		ne_session_proxy;
-+		ne_set_addrlist;
-+		ne_set_connect_timeout;
-+		ne_set_error;
-+		ne_set_localaddr;
-+		ne_set_notifier;
-+		ne_set_progress;
-+		ne_set_read_timeout;
-+		ne_set_session_flag;
-+		ne_set_session_private;
-+		ne_set_useragent;
-+		ne_ssl_cert_validity;
-+		ne_ssl_provide_clicert;
-+		ne_ssl_set_verify;
-+		ne_ssl_trust_cert;
-+		ne_unhook_close_conn;
-+		ne_unhook_create_request;
-+		ne_unhook_destroy_request;
-+		ne_unhook_destroy_session;
-+		ne_unhook_post_headers;
-+		ne_unhook_post_send;
-+		ne_unhook_pre_send;
-+		ne_version_pre_http11;
-+		ne_accept_2xx;
-+		ne_accept_always;
-+		ne_add_request_header;
-+		ne_add_response_body_reader;
-+		ne_begin_request;
-+		ne_discard_response;
-+		ne_end_request;
-+		ne_get_request_flag;
-+		ne_get_request_private;
-+		ne_get_response_header;
-+		ne_get_session;
-+		ne_get_session_private;
-+		ne_get_status;
-+		ne_print_request_header;
-+		ne_read_response_block;
-+		ne_read_response_to_fd;
-+		ne_request_create;
-+		ne_request_destroy;
-+		ne_request_dispatch;
-+		ne_response_header_iterate;
-+		ne_set_request_body_buffer;
-+		ne_set_request_body_fd;
-+		ne_set_request_body_provider;
-+		ne_set_request_flag;
-+		ne_set_request_private;
-+		ne_redirect_location;
-+		ne_redirect_register;
-+		ne_propfind_allprop;
-+		ne_propfind_create;
-+		ne_propfind_current_private;
-+		ne_propfind_destroy;
-+		ne_propfind_get_parser;
-+		ne_propfind_get_request;
-+		ne_propfind_named;
-+		ne_propfind_set_private;
-+		ne_propnames;
-+		ne_proppatch;
-+		ne_propset_iterate;
-+		ne_propset_lang;
-+		ne_propset_private;
-+		ne_propset_status;
-+		ne_propset_value;
-+		ne_simple_propfind;
-+		ne_ascii_to_md5;
-+		ne_md5_create_ctx;
-+		ne_md5_destroy_ctx;
-+		ne_md5_dup_ctx;
-+		ne_md5_finish_ascii;
-+		ne_md5_finish_ctx;
-+		ne_md5_process_block;
-+		ne_md5_process_bytes;
-+		ne_md5_read_ctx;
-+		ne_md5_reset_ctx;
-+		ne_md5_stream;
-+		ne_md5_to_ascii;
-+		ne_lock;
-+		ne_lock_copy;
-+		ne_lock_create;
-+		ne_lock_destroy;
-+		ne_lock_discover;
-+		ne_lock_free;
-+		ne_lock_refresh;
-+		ne_lock_using_parent;
-+		ne_lock_using_resource;
-+		ne_lockstore_add;
-+		ne_lockstore_create;
-+		ne_lockstore_destroy;
-+		ne_lockstore_findbyuri;
-+		ne_lockstore_first;
-+		ne_lockstore_next;
-+		ne_lockstore_register;
-+		ne_lockstore_remove;
-+		ne_unlock;
-+		ne_i18n_init;
-+		ne_asctime_parse;
-+		ne_httpdate_parse;
-+		ne_iso8601_parse;
-+		ne_rfc1036_parse;
-+		ne_rfc1123_date;
-+		ne_rfc1123_parse;
-+		ne_decompress_destroy;
-+		ne_decompress_reader;
-+		ne_add_depth_header;
-+		ne_copy;
-+		ne_delete;
-+		ne_get;
-+		ne_get_content_type;
-+		ne_get_range;
-+		ne_getmodtime;
-+		ne_mkcol;
-+		ne_move;
-+		ne_options;
-+		ne_options2;
-+		ne_post;
-+		ne_put;
-+		ne_add_proxy_auth;
-+		ne_add_server_auth;
-+		ne_forget_auth;
-+		ne_set_proxy_auth;
-+		ne_set_server_auth;
-+		ne_calloc;
-+		ne_malloc;
-+		ne_oom_callback;
-+		ne_realloc;
-+		ne_strdup;
-+		ne_strndup;
-+		ne_free;
-+		ne_acl3744_set;
-+		ne_207_create;
-+		ne_207_destroy;
-+		ne_207_get_current_propstat;
-+		ne_207_get_current_response;
-+		ne_207_set_propstat_handlers;
-+		ne_207_set_response_handlers;
-+		ne_accept_207;
-+		ne_simple_request;
-+	local:
-+		*;
-+};
diff --git a/neon/neon_ne_set_request_flag.patch b/neon/neon_ne_set_request_flag.patch
index 162c3bd..3bcafd6 100644
--- a/neon/neon_ne_set_request_flag.patch
+++ b/neon/neon_ne_set_request_flag.patch
@@ -1,5 +1,5 @@
---- misc/neon-0.29.5/src/ne_request.c	2010-09-28 13:57:26.000000000 +0200
-+++ misc/build/neon-0.29.5/src/ne_request.c	2011-05-18 12:39:05.134445529 +0200
+--- src/ne_request.c	2010-09-28 13:57:26.000000000 +0200
++++ src/ne_request.c	2011-05-18 12:39:05.134445529 +0200
 @@ -529,7 +529,7 @@
  
  void ne_set_request_flag(ne_request *req, ne_request_flag flag, int value)
diff --git a/neon/prj/d.lst b/neon/prj/d.lst
index 437c56e..e69de29 100644
--- a/neon/prj/d.lst
+++ b/neon/prj/d.lst
@@ -1,9 +0,0 @@
-mkdir: %_DEST%\inc\external
-mkdir: %_DEST%\inc\external\neon
-..\version.mk %_DEST%\inc\external\neon\version.mk
-..\%__SRC%\inc\ne_*.h %_DEST%\inc\external\neon\ne_*.h
-..\%__SRC%\lib\ineon.lib %_DEST%\lib\ineon.lib
-..\%__SRC%\bin\neon*.dll %_DEST%\bin\neon*.dll
-..\%__SRC%\lib\libneon*.so %_DEST%\lib\libneon*.so
-..\%__SRC%\lib\libneon*.dylib %_DEST%\lib\libneon*.dylib
-..\%__SRC%\lib\libneon*.a %_DEST%\lib\libneon*.a
diff --git a/neon/prj/dmake b/neon/prj/dmake
deleted file mode 100644
index e69de29..0000000
diff --git a/neon/version.mk b/neon/version.mk
deleted file mode 100644
index 0bac1cd..0000000
--- a/neon/version.mk
+++ /dev/null
@@ -1,37 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org.  If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-# the major
-NEON_MAJOR=0
-# the minor
-NEON_MINOR=29
-# the micro
-NEON_MICRO=5
-
-# concat
-NEON_VERSION=$(NEON_MAJOR)$(NEON_MINOR)$(NEON_MICRO)
-
diff --git a/ooo.lst.in b/ooo.lst.in
index af48708..a7693f0 100644
--- a/ooo.lst.in
+++ b/ooo.lst.in
@@ -64,7 +64,7 @@ db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
 eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip
 f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip
 ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
-ff369e69ef0f0143beb5626164e87ae2-neon-0.29.5.tar.gz
+ at NEON_TARBALL@
 3dd55b952826d2b32f51308f2f91aa89-gettext-0.18.1.1.tar.gz
 9f6e85e1e38490c3956f4415bcd33e6e-glib-2.28.1.tar.gz
 a7d6c5f2fe2d481149ed3ba807b5c043-gdk-pixbuf-2.23.0.tar.gz
diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk
index 3f386ef..0f25a6b 100644
--- a/solenv/inc/libs.mk
+++ b/solenv/inc/libs.mk
@@ -198,15 +198,6 @@ JPEG3RDLIB=-ljpeg
 .ELSE
 JPEG3RDLIB=-ljpeglib
 .ENDIF
-.IF "$(SYSTEM_NEON)" == "YES"
-NEON3RDLIB=-lneon
-.ELIF "$(GUI)$(COM)"=="WNTGCC"
-NEON3RDLIB=-lneon
-.ELIF "$(OS)" == "MACOSX"
-NEON3RDLIB=$(SOLARLIBDIR)/libneon.dylib
-.ELSE
-NEON3RDLIB=-lneon
-.ENDIF
 .IF "$(SYSTEM_DB)" == "YES"
 BERKELEYLIB=-l$(DB_LIB)
 .ELIF "$(GUI)$(COM)"=="WNTGCC"
@@ -455,7 +446,6 @@ EXPAT3RDLIB=expat_xmltok.lib expat_xmlparse.lib
 EXPATASCII3RDLIB=expat_xmltok.lib ascii_expat_xmlparse.lib
 ZLIB3RDLIB=zlib.lib
 JPEG3RDLIB=jpeglib.lib
-NEON3RDLIB=ineon.lib
 BERKELEYLIB=libdb47.lib
 CURLLIB=libcurl.lib
 CHAOSLIB=ichaos.lib
diff --git a/tail_build/prj/build.lst b/tail_build/prj/build.lst
index 8ecafe4..603b6bf 100644
--- a/tail_build/prj/build.lst
+++ b/tail_build/prj/build.lst
@@ -1,2 +1,2 @@
-tb      tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CLUCENE:clucene CPPUNIT:cppunit DESKTOP:codemaker CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GLIB:glib GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz MYTHES:mythes NEON:neon NSS:nss OPENLDAP:openldap OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf ZLIB:zlib bridges cli_ure comphelper cppu cppuhelper external jurt jvmaccess jvmfwk offapi officecfg DESKTOP:rdbmaker readlicense_oo RHINO:rhino ridljar sal salhelper solenv soltools stoc ucbhelper ucpp udkapi xmlreader xsltml NULL
+tb      tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo CLUCENE:clucene CPPUNIT:cppunit DESKTOP:codemaker CURL:curl EXPAT:expat FONTCONFIG:fontconfig FREETYPE:freetype GLIB:glib GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JFREEREPORT:jfreereport JPEG:jpeg LCMS2:lcms2 LIBEXTTEXTCAT:libexttextcat LIBLANGTAG:liblangtag LIBXML2:libxml2 libxmlsec LIBXSLT:libxslt LPSOLVE:lpsolve MOZ:moz MYTHES:mythes NSS:nss OPENLDAP:openldap OPENSSL:openssl POSTGRESQL:postgresql PYTHON:python REDLAND:redland SAXON:saxon TRANSLATIONS:translations XPDF:xpdf ZLIB:zlib bridges cli_ure comphelper cppu cppuhelper external jurt jvmaccess jvmfwk offapi officecfg DESKTOP:rdbmaker readlicense_oo RHINO:rhino ridljar sal salhelper solenv soltools stoc ucbhelper ucpp udkapi xmlreader xsltml NULL
 tb tail_build\prj nmake - all tb_prj   NULL
commit 17924c4aa5eb66465986cce97e975a13546d4eb6
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Thu Sep 20 14:43:40 2012 +0200

    allow Library to disable hidden visibility
    
    Change-Id: I1f676b7536183f68795595f216ae23610cadb1eb

diff --git a/solenv/gbuild/Library.mk b/solenv/gbuild/Library.mk
index 4dc30b0..ff478b4 100644
--- a/solenv/gbuild/Library.mk
+++ b/solenv/gbuild/Library.mk
@@ -217,6 +217,7 @@ $(eval $(foreach method,\
 	add_sdi_headers \
 	export_objects_list \
 	add_nativeres \
+	set_visibility_default \
 	set_warnings_not_errors \
 	set_generated_cxx_suffix \
 ,\
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 96178bc..3c670e8 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -493,6 +493,7 @@ $(call gb_LinkTarget_get_headers_target,$(1)) \
 $(call gb_LinkTarget_get_target,$(1)) : PDBFILE :=
 $(call gb_LinkTarget_get_target,$(1)) : EXTRAOBJECTLISTS :=
 $(call gb_LinkTarget_get_target,$(1)) : NATIVERES :=
+$(call gb_LinkTarget_get_target,$(1)) : VISIBILITY :=
 $(call gb_LinkTarget_get_target,$(1)) : WARNINGS_NOT_ERRORS :=
 
 ifeq ($(gb_FULLDEPS),$(true))
@@ -516,6 +517,7 @@ $(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE_STL := $$(gb_LinkTarget_INCL
 $(call gb_LinkTarget_get_dep_target,$(1)) : TARGETTYPE :=
 $(call gb_LinkTarget_get_dep_target,$(1)) : LIBRARY_X64 :=
 $(call gb_LinkTarget_get_dep_target,$(1)) : EXTRAOBJECTLISTS :=
+$(call gb_LinkTarget_get_dep_target,$(1)) : VISIBILITY :=
 $(call gb_LinkTarget_get_dep_target,$(1)) : WARNINGS_NOT_ERRORS :=
 endif
 
@@ -1102,6 +1104,14 @@ endef
 gb_LinkTarget_use_externals = \
  $(foreach external,$(2),$(call gb_LinkTarget_use_external,$(1),$(external)))
 
+define gb_LinkTarget_set_visibility_default
+$(call gb_LinkTarget_get_target,$(1)) : VISIBILITY := default
+ifeq ($(gb_FULLDEPS),$(true))
+$(call gb_LinkTarget_get_dep_target,$(1)) : VISIBILITY := default
+endif
+
+endef
+
 define gb_LinkTarget_set_warnings_not_errors
 $(call gb_LinkTarget_get_target,$(1)) : WARNINGS_NOT_ERRORS := $(true)
 ifeq ($(gb_FULLDEPS),$(true))
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk
index 18a389e..630eed7 100644
--- a/solenv/gbuild/platform/com_GCC_class.mk
+++ b/solenv/gbuild/platform/com_GCC_class.mk
@@ -58,6 +58,7 @@ $(call gb_Helper_abbreviate_dirs,\
 	$(gb_CC) \
 		$(DEFS) \
 		$(if $(filter Library,$(TARGETTYPE)),$(gb_Library_LTOFLAGS)) \
+		$(if $(VISIBILITY),,$(gb_VISIBILITY_FLAGS)) \
 		$(if $(WARNINGS_NOT_ERRORS),,$(gb_CFLAGS_WERROR)) \
 		$(T_CFLAGS) \
 		-c $(3) \
@@ -79,6 +80,7 @@ $(call gb_Helper_abbreviate_dirs,\
 	$(gb_CXX) \
 		$(DEFS) \
 		$(if $(filter Library,$(TARGETTYPE)),$(gb_Library_LTOFLAGS)) \
+		$(if $(VISIBILITY),,$(gb_VISIBILITY_FLAGS)) \
 		$(if $(WARNINGS_NOT_ERRORS),,$(gb_CXXFLAGS_WERROR)) \
 		$(T_CXXFLAGS) \
 		-c $(3) \
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index c851b74..1b606a0 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -79,6 +79,13 @@ gb_CXXFLAGS_COMMON := \
 	-fno-common \
 	-pipe \
 
+ifeq ($(HAVE_GCC_VISIBILITY_FEATURE),TRUE)
+gb_VISIBILITY_FLAGS := -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden
+ifneq ($(HAVE_GCC_VISIBILITY_BROKEN),TRUE)
+gb_CXXFLAGS_COMMON += -fvisibility-inlines-hidden
+endif
+endif
+
 ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE)
 gb_CFLAGS_WERROR := -Werror -DLIBO_WERROR
 gb_CXXFLAGS_WERROR := -Werror -DLIBO_WERROR
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 93cc450..4d5594b 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -69,24 +69,6 @@ gb_CXXFLAGS := \
 	#-fsigned-char \ might be removed?
 	#-malign-natural \ might be removed?
 
-ifeq ($(HAVE_GCC_VISIBILITY_FEATURE),TRUE)
-gb_COMPILERDEFS += \
-	-DHAVE_GCC_VISIBILITY_FEATURE \
-
-gb_CFLAGS += \
-    -fvisibility=hidden
-
-gb_CXXFLAGS += \
-	-fvisibility=hidden \
-
-ifneq ($(HAVE_GCC_VISIBILITY_BROKEN),TRUE)
-gb_CXXFLAGS += \
-    -fvisibility-inlines-hidden \
-
-endif
-
-endif
-
 ifeq ($(HAVE_SFINAE_ANONYMOUS_BROKEN),TRUE)
 gb_COMPILERDEFS += \
         -DHAVE_SFINAE_ANONYMOUS_BROKEN \
@@ -124,6 +106,7 @@ $(call gb_Helper_abbreviate_dirs,\
 	mkdir -p $(dir $(1)) $(dir $(4)) && \
 	$(gb_CXX) \
 		$(DEFS) \
+		$(if $(VISIBILITY),,$(gb_VISIBILITY_FLAGS)) \
 		$(if $(WARNINGS_NOT_ERRORS),,$(gb_CXXFLAGS_WERROR)) \
 		$(T_OBJCXXFLAGS) \
 		-c $(3) \
@@ -142,6 +125,7 @@ $(call gb_Helper_abbreviate_dirs,\
 	mkdir -p $(dir $(1)) $(dir $(4)) && \
 	$(gb_CC) \
 		$(DEFS) \
+		$(if $(VISIBILITY),,$(gb_VISIBILITY_FLAGS)) \
 		$(if $(WARNINGS_NOT_ERRORS),,$(gb_CFLAGS_WERROR)) \
 		$(T_OBJCFLAGS) \
 		-c $(3) \
diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk
index 7dcf498..adb1a61 100644
--- a/solenv/gbuild/platform/solaris.mk
+++ b/solenv/gbuild/platform/solaris.mk
@@ -79,24 +79,6 @@ gb_CXXFLAGS := \
 	-Woverloaded-virtual \
 	-Wno-non-virtual-dtor \
 
-ifeq ($(HAVE_GCC_VISIBILITY_FEATURE),TRUE)
-gb_COMPILERDEFS += \
-        -DHAVE_GCC_VISIBILITY_FEATURE \
-
-gb_CFLAGS += \
-        -fvisibility=hidden
-
-gb_CXXFLAGS += \
-	-fvisibility=hidden \
-
-ifneq ($(HAVE_GCC_VISIBILITY_BROKEN),TRUE)
-gb_CXXFLAGS += \
-        -fvisibility-inlines-hidden \
-
-endif
-
-endif
-
 # enable debug STL
 ifeq ($(gb_PRODUCT),$(false))
 gb_COMPILERDEFS += \
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 392de3e..3879802 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -78,24 +78,6 @@ else
 gb_CXXFLAGS += -Wnon-virtual-dtor
 endif
 
-ifeq ($(HAVE_GCC_VISIBILITY_FEATURE),TRUE)
-gb_COMPILERDEFS += \
-        -DHAVE_GCC_VISIBILITY_FEATURE \
-
-gb_CFLAGS += \
-        -fvisibility=hidden
-
-gb_CXXFLAGS += \
-	-fvisibility=hidden \
-
-ifneq ($(HAVE_GCC_VISIBILITY_BROKEN),TRUE)
-gb_CXXFLAGS += \
-        -fvisibility-inlines-hidden \
-
-endif
-
-endif
-
 ifeq ($(HAVE_SFINAE_ANONYMOUS_BROKEN),TRUE)
 gb_COMPILERDEFS += \
         -DHAVE_SFINAE_ANONYMOUS_BROKEN \


More information about the Libreoffice-commits mailing list