diff options
author | Orivej Desh <orivej@gmx.fr> | 2021-05-08 14:05:46 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2021-05-08 14:05:46 +0000 |
commit | 16c04a5da405c145d838a1a2d883256138837b9c (patch) | |
tree | ed747a40c9a993e3dcbeb72512e887804a37e393 /pkgs/applications/audio/guitarix | |
parent | 677834a8f700540c1f1ae524c6cef642fdb95ef9 (diff) | |
download | nixpkgs-16c04a5da405c145d838a1a2d883256138837b9c.tar nixpkgs-16c04a5da405c145d838a1a2d883256138837b9c.tar.gz nixpkgs-16c04a5da405c145d838a1a2d883256138837b9c.tar.bz2 nixpkgs-16c04a5da405c145d838a1a2d883256138837b9c.tar.lz nixpkgs-16c04a5da405c145d838a1a2d883256138837b9c.tar.xz nixpkgs-16c04a5da405c145d838a1a2d883256138837b9c.tar.zst nixpkgs-16c04a5da405c145d838a1a2d883256138837b9c.zip |
guitarix: fix build with gcc11
Diffstat (limited to 'pkgs/applications/audio/guitarix')
-rw-r--r-- | pkgs/applications/audio/guitarix/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix index 3bc643d33d5..f90cae115b4 100644 --- a/pkgs/applications/audio/guitarix/default.nix +++ b/pkgs/applications/audio/guitarix/default.nix @@ -1,5 +1,6 @@ { lib, stdenv , fetchurl +, fetchpatch , avahi , bluez , boost @@ -45,9 +46,18 @@ stdenv.mkDerivation rec { src = fetchurl { url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz"; - sha256 = "sha256-eX5G4HFI+6ieRvrE7+c6WzqY8HC8qF2z0UPeeBsULIA="; + sha256 = "101c2hdpipj3s6rmva5wf3q9hfjv7bkyzi7s8sgaiys8f7h4czkr"; }; + patches = [ + (fetchpatch { + name = "guitarix-gcc11.patch"; + url = "https://github.com/brummer10/guitarix/commit/d8f003484c57d808682025dfb07a7a1fb848afdc.patch"; + stripLen = 1; + sha256 = "1qhlbf18cn6m9jdz3741nrdfqvznjna3daqmn9l10k5nd3asy4il"; + }) + ]; + nativeBuildInputs = [ gettext hicolor-icon-theme |