git.iko.soy/typeable/nixpkgs
on master help sign in
eq10q: fix build with glibc 2.27
commitf66be0a6c7baa79f6c4144a30591678be4ef2e20 authorPiotr Bogdan <ppbogdan@gmail.com> dateThu 12 Apr 2018, 16:30 (9 years ago) parentb1fa009
1 file changed+10−1
pkgs/applications/audio/eq10q/default.nix+10−1
pkgs/applications/audio/eq10q/default.nix+10−1
@@ -1,4 +1,5 @@
1−{ stdenv, fetchurl, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig, xorg }:
1+{ stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig
2+, xorg }:
23stdenv.mkDerivation rec {
34 name = "eq10q-${version}";
45 version = "2.2";
@@ -10,6 +11,14 @@ stdenv.mkDerivation rec {
1011 nativeBuildInputs = [ pkgconfig ];
1112 buildInputs = [ cmake fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ];
1213
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+ ];
21+
1322 installFlags = ''
1423 DESTDIR=$(out)
1524 '';