Commit f8fae285 authored by OPNA2608's avatar OPNA2608
Browse files

persistent-cache-cpp: Fix build with Boost 1.89

parent cc8c910e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  stdenv,
  lib,
  fetchFromGitLab,
  fetchpatch,
  gitUpdater,
  testers,
  boost,
@@ -32,6 +33,15 @@ stdenv.mkDerivation (finalAttrs: {
    "doc"
  ];

  patches = [
    # Remove when version > 1.0.9
    (fetchpatch {
      name = "0001-persistent-cache-cpp-Fix-compatibility-with-Boost-1.89.patch";
      url = "https://gitlab.com/ubports/development/core/lib-cpp/persistent-cache-cpp/-/commit/121397b58bdb2d6750a41bec0cf1676e4e9b8cf5.patch";
      hash = "sha256-QKPf5E49NNZ+rzCCknJNQjcd/bEgHuh23RBM892Xz1o=";
    })
  ];

  postPatch = ''
    # Wrong concatenation
    substituteInPlace data/libpersistent-cache-cpp.pc.in \