Merge pull request #273600 from wegank/diopser-gcc-13

diopser: fix build with gcc 11+

authored by Weijia Wang and committed by GitHub 9c5db275 9a67c36f

+10 -2
+9 -1
pkgs/applications/audio/diopser/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config 2 2 , libjack2, alsa-lib, freetype, libX11, libXrandr, libXinerama, libXext, libXcursor 3 3 }: 4 4 ··· 37 37 rev = "d5fdc92f1caf5a828e071dac99e106e58f06d84d"; 38 38 sha256 = "06y1h895yxh44gp4vxzrna59lf7nlfw7aacd3kk4l1g56jhy9pdx"; 39 39 }; 40 + 41 + patches = [ 42 + (fetchpatch { 43 + name = "fix-gcc-11-build.patch"; 44 + url = "https://github.com/robbert-vdh/diopser/commit/a7284439bd4e23455132e7806a214f9db12efae9.patch"; 45 + hash = "sha256-r3yxhnhPUQ47srhfAKeurpe2xyEBdSvqIbgqs9/6gD4="; 46 + }) 47 + ]; 40 48 41 49 postUnpack = '' 42 50 (
+1 -1
pkgs/top-level/all-packages.nix
··· 3764 3764 3765 3765 dfmt = callPackage ../tools/text/dfmt { }; 3766 3766 3767 - diopser = callPackage ../applications/audio/diopser { stdenv = gcc10StdenvCompat; }; 3767 + diopser = callPackage ../applications/audio/diopser { }; 3768 3768 3769 3769 diskonaut = callPackage ../tools/misc/diskonaut { }; 3770 3770