summaryrefslogtreecommitdiffstats
path: root/external/libcmis/libcmis-libxml2_compatibility.patch
blob: 240b85b4d38ed7af5d304849a24b8e9d106cf71b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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