summaryrefslogtreecommitdiffstats
path: root/external/libcmis
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2021-09-02 14:54:22 +0200
committerJan Holesovsky <kendy@collabora.com>2021-09-06 18:41:46 +0200
commitc6564fb00a59224b223f4bbd8e58612ab3e40b0f (patch)
treea83ed68850fca6d434107b2e4a150f3d1ae0e6f1 /external/libcmis
parentremove unnecessary settings.xml from autotext (diff)
downloadcore-c6564fb00a59224b223f4bbd8e58612ab3e40b0f.tar.gz
core-c6564fb00a59224b223f4bbd8e58612ab3e40b0f.zip
Fix build with system boost
Change-Id: I86ffabd30535b594a40d786f7c4602abbbb5a54a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121513 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'external/libcmis')
-rw-r--r--external/libcmis/UnpackedTarball_libcmis.mk1
-rw-r--r--external/libcmis/libcmis-boost-string.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/external/libcmis/UnpackedTarball_libcmis.mk b/external/libcmis/UnpackedTarball_libcmis.mk
index 8398853e4511..f48201d319d0 100644
--- a/external/libcmis/UnpackedTarball_libcmis.mk
+++ b/external/libcmis/UnpackedTarball_libcmis.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libcmis, \
external/libcmis/libcmis_onedrive.patch \
external/libcmis/libcmis_oauth_pw_as_refreshtoken.patch.1 \
external/libcmis/libcmis_gdrive.patch.1 \
+ external/libcmis/libcmis-boost-string.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/external/libcmis/libcmis-boost-string.patch b/external/libcmis/libcmis-boost-string.patch
new file mode 100644
index 000000000000..247d38a19759
--- /dev/null
+++ b/external/libcmis/libcmis-boost-string.patch
@@ -0,0 +1,11 @@
+--- a/src/libcmis/oauth2-handler.cxx
++++ b/src/libcmis/oauth2-handler.cxx
+@@ -26,6 +26,8 @@
+ * instead of those above.
+ */
+
++#include <boost/algorithm/string.hpp>
++
+ #include "oauth2-handler.hxx"
+
+ #include <libcmis/session-factory.hxx>