guitarix: fix build with boost 1.89

Fixes: https://github.com/NixOS/nixpkgs/issues/493717#issuecomment-3953833474
This commit is contained in:
Lord-Valen
2026-03-13 21:06:39 -04:00
parent 21b26027c9
commit d304fa4159
+16
View File
@@ -8,6 +8,7 @@
curl,
eigen,
faust,
fetchpatch2,
fftwSinglePrec,
gettext,
glib,
@@ -109,6 +110,21 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optional withZitaConvolver zita-convolver
++ lib.optional withZitaResampler zita-resampler;
patchFlags = [ "-p2" ];
patches = [
# Remove the mandatory check for `boost_system` which was removed in boost 1.89
(fetchpatch2 {
name = "make-boost-system-stub-optional.patch";
url = "https://github.com/brummer10/guitarix/compare/v0.47.0..187670358ffc47a0fa09e140586b2e88dfdcf043.patch?full_index=1";
hash = "sha256-9Z0sAM/oTm3ejv9chDbXEpkjNvlX/SN+k48XaJTqdy0=";
includes = [
"trunk/waf"
"*/wscript"
"trunk/waftools/*.py"
];
})
];
# There are many bad shebangs which can fail builds.
# See `https://github.com/brummer10/guitarix/issues/246`.
postPatch = ''