lomiri.trust-store: Fix build against newer boost

This commit is contained in:
OPNA2608
2024-12-25 21:23:41 +01:00
parent 04e40bca2a
commit c35c59eef7

View File

@@ -2,6 +2,7 @@
stdenv, stdenv,
lib, lib,
fetchFromGitLab, fetchFromGitLab,
fetchpatch,
gitUpdater, gitUpdater,
testers, testers,
boost, boost,
@@ -42,6 +43,15 @@ stdenv.mkDerivation (finalAttrs: {
"bin" "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 = postPatch =
'' ''
# pkg-config patching hook expects prefix variable # pkg-config patching hook expects prefix variable