From 9246733a3a5aefc9aab8aece35910429a320c702 Mon Sep 17 00:00:00 2001 From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> Date: Sun, 14 Jan 2024 07:29:39 +0000 Subject: [PATCH] guitarix: gcc13 fixes with upstream patch --- pkgs/applications/audio/guitarix/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix index 3a650646a8ae..84308d59d44c 100644 --- a/pkgs/applications/audio/guitarix/default.nix +++ b/pkgs/applications/audio/guitarix/default.nix @@ -51,6 +51,15 @@ stdenv.mkDerivation rec { sha256 = "d+g9dU9RrDjFQj847rVd5bPiYSjmC1EbAtLe/PNubBg="; }; + patches = [ + (fetchpatch { + name = "gcc13-fixes.patch"; + url = "https://github.com/brummer10/guitarix/commit/b52736180b6966f24398f8a5ad179a58173473ec.patch"; + hash = "sha256-+jilgLujy/B6ijUb8NHzt3+4IKCt17X8LmuMLdmsvGw="; + relative = "trunk"; + }) + ]; + # doesnt apply cleanly, so doing with substituteInPlace # https://github.com/brummer10/guitarix/commit/39d7c21c4173eb0f121b1bbff439d9cf43331a00.patch postPatch = ''