Skip to content

Commit

Permalink
[staging-next] libcmis: apply patch for boost 1.86 (#363531)
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 authored Dec 9, 2024
2 parents 8d3f05a + 6bc84bc commit 0de86d8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/by-name/li/libcmis/package.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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 ];

Expand Down

0 comments on commit 0de86d8

Please sign in to comment.