Unverified Commit d304fa41 authored by Lord-Valen's avatar Lord-Valen
Browse files
parent 21b26027
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -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 = ''