summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2014-02-28 09:04:21 -0500
committerCaolán McNamara <caolanm@redhat.com>2014-03-01 07:25:22 -0600
commit1c9453cdf25ce6079be8489b77dbb75036bde908 (patch)
tree6d2490e14560e95cf25979fc4479c153f3324224 /external
parent4e8ab2198819551d07f303f80d2bd5f5ae53bc6e (diff)
libcmis (bundled): add patch with missing definition for HTML_PARSE_RECOVER
Change-Id: I4c3760808b92c066181ce7e1294ee9e6dd9ea016 Reviewed-on: https://gerrit.libreoffice.org/8387 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'external')
-rw-r--r--external/libcmis/UnpackedTarball_cmis.mk3
-rw-r--r--external/libcmis/libcmis-libxml2_compatibility.patch14
2 files changed, 16 insertions, 1 deletions
diff --git a/external/libcmis/UnpackedTarball_cmis.mk b/external/libcmis/UnpackedTarball_cmis.mk
index bbac1ac08fd1..87449514f2f1 100644
--- a/external/libcmis/UnpackedTarball_cmis.mk
+++ b/external/libcmis/UnpackedTarball_cmis.mk
@@ -16,7 +16,8 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,cmis,0))
$(eval $(call gb_UnpackedTarball_add_patches,cmis, \
external/libcmis/libcmis-0.4.1.patch \
external/libcmis/libcmis-0.4.1-empty-path.patch \
- external/libcmis/libcmis-0.4.1-properties-fix.patch))
+ external/libcmis/libcmis-0.4.1-properties-fix.patch \
+ external/libcmis/libcmis-libxml2_compatibility.patch))
ifeq ($(OS)$(COM),WNTMSC)
$(eval $(call gb_UnpackedTarball_add_patches,cmis,external/libcmis/boost-win.patch))
diff --git a/external/libcmis/libcmis-libxml2_compatibility.patch b/external/libcmis/libcmis-libxml2_compatibility.patch
new file mode 100644
index 000000000000..85db97eab3ed
--- /dev/null
+++ b/external/libcmis/libcmis-libxml2_compatibility.patch
@@ -0,0 +1,14 @@
+# -*- Mode: Diff -*-
+--- src/libcmis/oauth2-providers.cxx
++++ src/libcmis/oauth2-providers.cxx
+@@ -34,6 +34,10 @@
+
+ using namespace std;
+
++#if LIBXML_VERSION < 20621
++#define HTML_PARSE_RECOVER 0
++#endif
++
+ string OAuth2Providers::OAuth2Gdrive( BaseSession* session, const string& authUrl,
+ const string& username, const string& password )
+ {