summaryrefslogtreecommitdiff
path: root/external/libcmis/libcmis-libxml2_compatibility.patch
blob: 6c4525eeece9b066be7c7e9e72e14cba82c9d63f (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
+
 string OAuth2Providers::OAuth2Gdrive( HttpSession* session, const string& authUrl,
                                       const string& username, const string& password )
 {