external/libcmis/UnpackedTarball_libcmis.mk |    1 +
 external/libcmis/libcmis-boost-string.patch |   11 +++++++++++
 2 files changed, 12 insertions(+)

New commits:
commit c6564fb00a59224b223f4bbd8e58612ab3e40b0f
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Thu Sep 2 14:54:22 2021 +0200
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Mon Sep 6 18:41:46 2021 +0200

    Fix build with system boost
    
    Change-Id: I86ffabd30535b594a40d786f7c4602abbbb5a54a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121513
    Tested-by: Jenkins
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>

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>

Reply via email to