summaryrefslogtreecommitdiffstats
path: root/external/libcmis/libcmis-libxml2_compatibility.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/libcmis/libcmis-libxml2_compatibility.patch')
-rw-r--r--external/libcmis/libcmis-libxml2_compatibility.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/external/libcmis/libcmis-libxml2_compatibility.patch b/external/libcmis/libcmis-libxml2_compatibility.patch
new file mode 100644
index 000000000..240b85b4d
--- /dev/null
+++ b/external/libcmis/libcmis-libxml2_compatibility.patch
@@ -0,0 +1,14 @@
+# -*- Mode: Diff -*-
+--- a/src/libcmis/oauth2-providers.cxx
++++ b/src/libcmis/oauth2-providers.cxx
+@@ -34,6 +34,10 @@
+
+ using namespace std;
+
++#if LIBXML_VERSION < 20621
++#define HTML_PARSE_RECOVER 0
++#endif
++
+ namespace {
+
+ // Encodes the given data according to the application/x-www-form-urlencoded format, see