Merge pull request #38855 from pbogdan/eq10q-glibc-2.27

eq10q: fix build with glibc 2.27

authored by Jörg Thalheim and committed by GitHub 5a2365bf 606c9fcd

+10 -1
+10 -1
pkgs/applications/audio/eq10q/default.nix
··· 1 - { stdenv, fetchurl, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig, xorg }: 1 + { stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig 2 + , xorg }: 2 3 stdenv.mkDerivation rec { 3 4 name = "eq10q-${version}"; 4 5 version = "2.2"; ··· 9 10 10 11 nativeBuildInputs = [ pkgconfig ]; 11 12 buildInputs = [ cmake fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ]; 13 + 14 + patches = [ 15 + (fetchpatch { 16 + # glibc 2.27 compatibility 17 + url = https://sources.debian.org/data/main/e/eq10q/2.2~repack0-2.1/debian/patches/05-pow10.patch; 18 + sha256 = "07b0wf6k4xqgigv4h095bzfaw8r218wa36r9w1817jcys13r6c5r"; 19 + }) 20 + ]; 12 21 13 22 installFlags = '' 14 23 DESTDIR=$(out)