Commit c35c59ee authored by OPNA2608's avatar OPNA2608
Browse files

lomiri.trust-store: Fix build against newer boost

parent 04e40bca
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,
@@ -42,6 +43,15 @@ stdenv.mkDerivation (finalAttrs: {
    "bin"
  ];

  patches = [
    # Remove when version > 2.0.2
    (fetchpatch {
      name = "0001-trust-store-Fix-boost-184-compat.patch";
      url = "https://gitlab.com/ubports/development/core/trust-store/-/commit/569f6b35d8bcdb2ae5ff84549cd92cfc0899675b.patch";
      hash = "sha256-3lrdVIzscXGiLKwftC5oECICVv3sBoS4UedfRHx7uOs=";
    })
  ];

  postPatch =
    ''
      # pkg-config patching hook expects prefix variable