* update libcmis to 0.6.2-3

This commit is contained in:
Alexander Baldeck 2025-02-04 13:04:26 +01:00
parent 4ac6a526a3
commit b72e88ec05
4 changed files with 48 additions and 1 deletions

29
libcmis/.SRCINFO Normal file
View File

@ -0,0 +1,29 @@
pkgbase = libcmis
pkgdesc = a C/C++ client library for the CMIS protocol
pkgver = 0.6.2
pkgrel = 3
url = https://github.com/tdf/libcmis
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = GPL2
license = LGPL2.1
license = MPL
makedepends = docbook2x
makedepends = cppunit
makedepends = boost
depends = boost-libs
depends = curl
depends = libxml2
depends = gcc-libs
depends = glibc
source = https://github.com/tdf/libcmis/releases/download/v0.6.2/libcmis-0.6.2.tar.xz
source = libxml2-2.12.patch
source = boost-1.86.0.patch
sha256sums = 1b5c2d7258ff93eb5f9958ff0e4dfd7332dc75a071bb717dde2217a26602a644
sha256sums = ac3f846139ce8548256711304d85fa56bb7531a45582883cfcfa560601461588
sha256sums = ab89f91f2f61cc3a3f63bb51296d3333182b5a41811368d734a26d9d73f7a45e
pkgname = libcmis

5
libcmis/.nvchecker.toml Normal file
View File

@ -0,0 +1,5 @@
[libcmis]
source = "github"
github = "tdf/libcmis"
use_max_tag = true
prefix = "v"

View File

@ -3,7 +3,7 @@
pkgname=libcmis
pkgver=0.6.2
pkgrel=2
pkgrel=3
pkgdesc="a C/C++ client library for the CMIS protocol"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://github.com/tdf/libcmis"

View File

@ -0,0 +1,13 @@
--- libcmis/src/libcmis/xml-utils.cxx 2024-08-22 12:06:16.595963754 +0200
+++ libcmis/src/libcmis/xml-utils.cxx 2024-08-22 12:06:29.987877405 +0200
@@ -536,7 +536,7 @@
sha1.process_bytes( str.c_str(), str.size() );
unsigned int digest[5];
- sha1.get_digest( digest );
+ sha1.get_digest( reinterpret_cast<boost::uuids::detail::sha1::digest_type&>(digest) );
stringstream out;
// Setup writing mode. Every number must produce eight