summaryrefslogtreecommitdiff
path: root/external/libcmis/libcmis-libxml2_compatibility.patch
blob: aeb492b2575340e67c4741a42059a39daa4ccab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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( HttpSession* session, const string& authUrl,
                                       const string& username, const string& password )
 {