Date: Saturday, August 13, 2022 @ 10:33:43 Author: andyrtr Revision: 452653
upgpkg: libcmis 0.5.2-11: add a fix from LibreOffice internal cmis fixes to solve compiling against system libcmis Added: libcmis/trunk/getRefreshToken.diff Modified: libcmis/trunk/PKGBUILD ----------------------+ PKGBUILD | 11 ++++++++--- getRefreshToken.diff | 13 +++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-13 08:57:48 UTC (rev 452652) +++ PKGBUILD 2022-08-13 10:33:43 UTC (rev 452653) @@ -2,7 +2,7 @@ pkgname=libcmis pkgver=0.5.2 -pkgrel=10 +pkgrel=11 pkgdesc="a C/C++ client library for the CMIS protocol" arch=('x86_64') url="https://github.com/tdf/libcmis" @@ -10,9 +10,11 @@ depends=('boost-libs' 'curl' 'libxml2') makedepends=('docbook2x' 'cppunit' 'boost') source=("https://github.com/tdf/libcmis/releases/download/v${pkgver}/$pkgname-$pkgver.tar.gz" - 'libcmis-0.5.2-icu-64.2.patch') + libcmis-0.5.2-icu-64.2.patch + getRefreshToken.diff) sha256sums=('ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81' - '51b67a5b7245e5192739362c5034ed7d9a664799f38ff9ccd1832297f93cc03d') + '51b67a5b7245e5192739362c5034ed7d9a664799f38ff9ccd1832297f93cc03d' + '7ad0e742da2660c238b457ea7cd5752b90bb876da3da852f511a6bb1301c75b6') prepare() { cd "$pkgname-$pkgver" @@ -19,6 +21,9 @@ # https://github.com/tdf/libcmis/issues/35 patch -Np1 -i ../libcmis-0.5.2-icu-64.2.patch + # part of https://github.com/tdf/libcmis/commit/f7466a849949f987dd47f2e0bb3a3df0c8cac4e4 + # to solve a LibreOffice compile error + patch -Np1 -i ../getRefreshToken.diff } build() { Added: getRefreshToken.diff =================================================================== --- getRefreshToken.diff (rev 0) +++ getRefreshToken.diff 2022-08-13 10:33:43 UTC (rev 452653) @@ -0,0 +1,13 @@ +diff --git a/inc/libcmis/session.hxx b/inc/libcmis/session.hxx +index 0a768a8..ec95ab4 100644 +--- a/inc/libcmis/session.hxx ++++ b/inc/libcmis/session.hxx +@@ -95,6 +95,8 @@ namespace libcmis + certificate exception feature available on common web browser. + */ + virtual void setNoSSLCertificateCheck( bool noCheck ) = 0; ++ ++ virtual std::string getRefreshToken() { return ""; }; + }; + } +