Fix boost >=1.87

This commit is contained in:
Aleix Boné 2025-07-21 18:13:27 +02:00
parent 50409bb201
commit 6813741c4d
Signed by: abonerib
SSH Key Fingerprint: SHA256:Jmq7aNH8XDdGy7E9dqfqrc/LRaVqhnFgDgdxlFw/pl8

View File

@ -1,8 +1,9 @@
{
stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, boost186
, boost
, libxml2
, xml2
, wxGTK32
@ -16,7 +17,6 @@
let
wx = wxGTK32;
boost = boost186;
in
stdenv.mkDerivation rec {
pname = "wxparaver";
@ -29,7 +29,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-YsO5gsuEFQdki3lQudEqgo5WXOt/fPdvNw5OxZQ86Zo=";
};
patches = [ ./do-not-steal-focus-on-redraw.patch ];
patches = [
./do-not-steal-focus-on-redraw.patch
# Fix for boost >=1.87 (thanks to gamezelda)
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/wxparaver-tutorialsdownload-Fix-Boost-ASIO-1.87.0-removals.patch?h=wxparaver&id=b0dcd08c472536e0a1a3cc1dfbc4c77d9f5e0d47";
sha256 = "sha256-YgGLxqj+6SvFEpyKl0RlUHl2qBo7r65/kI3cy0OKFYE=";
})
];
hardeningDisable = [ "all" ];