[staging-next] libcmis: apply patch for boost 1.86 (#363531)

This commit is contained in:
K900
2024-12-09 16:21:09 +03:00
committed by GitHub
+9 -1
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, boost, libxml2, pkg-config, docbook2x, curl, autoreconfHook, cppunit }:
stdenv.mkDerivation rec {
pname = "libcmis";
@@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-HXiyQKjOlQXWABY10XrOiYxPqfpmUJC3a6xD98LIHDw=";
};
patches = [
# Backport to fix build with boost 1.86
(fetchpatch {
url = "https://github.com/tdf/libcmis/commit/3659d32999ff7593662dcf5136bcb7ac15c13f61.patch";
hash = "sha256-EXmQcXCHaVnF/dwU3Z4WLtaiHjYHeeonlKdyK27UkiY=";
})
];
nativeBuildInputs = [ autoreconfHook pkg-config docbook2x ];
buildInputs = [ boost libxml2 curl cppunit ];