Skip to content

Commit

Permalink
libcmis: fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvreeland committed Oct 9, 2024
1 parent 68f566a commit b50af1d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libcmis.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: libcmis
version: 0.6.2
epoch: 0
epoch: 1
description: C/C++ CMIS client library
copyright:
- license: GPL-2.0-or-later
Expand All @@ -28,6 +28,11 @@ pipeline:
expected-commit: bda92cc01837ef933d7b6d5f94dceba6f47ec7e1
tag: v${{package.version}}

- uses: patch
# https://gitlab.archlinux.org/archlinux/packaging/packages/libcmis/-/blob/main/boost-1.86.0.patch?ref_type=heads
with:
patches: 001-fix-boots-1.86-build

- runs: |
autoreconf -fiv
Expand Down
13 changes: 13 additions & 0 deletions libcmis/001-fix-boots-1.86-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/libcmis/xml-utils.cxx b/src/libcmis/xml-utils.cxx
index 3fa2df7..da77087 100644
--- a/src/libcmis/xml-utils.cxx
+++ b/src/libcmis/xml-utils.cxx
@@ -536,7 +536,7 @@ namespace libcmis
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

0 comments on commit b50af1d

Please sign in to comment.