Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / libcmis
Commits: fa18b57f by Andreas Radke at 2024-08-30T15:34:57+02:00 upgpkg: 0.6.2-2; rebuild/add buildfix for boost 1.86.0 - - - - - 3 changed files: - .SRCINFO - PKGBUILD - + boost-1.86.0.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = libcmis pkgdesc = a C/C++ client library for the CMIS protocol pkgver = 0.6.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/tdf/libcmis arch = x86_64 license = GPL2 @@ -17,7 +17,9 @@ pkgbase = libcmis 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 ===================================== PKGBUILD ===================================== @@ -2,7 +2,7 @@ pkgname=libcmis pkgver=0.6.2 -pkgrel=1 +pkgrel=2 pkgdesc="a C/C++ client library for the CMIS protocol" arch=('x86_64') url="https://github.com/tdf/libcmis" @@ -10,14 +10,19 @@ license=('GPL2' 'LGPL2.1' 'MPL') depends=('boost-libs' 'curl' 'libxml2' 'gcc-libs' 'glibc') makedepends=('docbook2x' 'cppunit' 'boost') source=("https://github.com/tdf/libcmis/releases/download/v${pkgver}/$pkgname-$pkgver.tar.xz" - libxml2-2.12.patch) + libxml2-2.12.patch + boost-1.86.0.patch) sha256sums=('1b5c2d7258ff93eb5f9958ff0e4dfd7332dc75a071bb717dde2217a26602a644' - 'ac3f846139ce8548256711304d85fa56bb7531a45582883cfcfa560601461588') + 'ac3f846139ce8548256711304d85fa56bb7531a45582883cfcfa560601461588' + 'ab89f91f2f61cc3a3f63bb51296d3333182b5a41811368d734a26d9d73f7a45e') prepare() { cd "$pkgname-$pkgver" # fix build with libxml2 2.12 patch -Np1 -i ../libxml2-2.12.patch + # fix build with boost 1.86.0 + # https://github.com/LibreOffice/core/commit/14f00ee63fba32ccf1b91e71da6de38b57794a32 + patch -Np1 -i ../boost-1.86.0.patch } build() { ===================================== boost-1.86.0.patch ===================================== @@ -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 + View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libcmis/-/commit/fa18b57fd1678701f74baee7af1a35c2dc803f7c -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libcmis/-/commit/fa18b57fd1678701f74baee7af1a35c2dc803f7c You're receiving this email because of your account on gitlab.archlinux.org.