about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-04-12 22:00:28 +0100
committerGitHub <noreply@github.com>2018-04-12 22:00:28 +0100
commit5a2365bf9ec314eec4aed651188a3af02d95eff2 (patch)
tree46c71669ddd6d074bfe4cfac398e0671f4dd6516 /pkgs/applications/audio
parent606c9fcdf859f5d685999f2fdc2d0a143c473f3a (diff)
parentf66be0a6c7baa79f6c4144a30591678be4ef2e20 (diff)
downloadnixlib-5a2365bf9ec314eec4aed651188a3af02d95eff2.tar
nixlib-5a2365bf9ec314eec4aed651188a3af02d95eff2.tar.gz
nixlib-5a2365bf9ec314eec4aed651188a3af02d95eff2.tar.bz2
nixlib-5a2365bf9ec314eec4aed651188a3af02d95eff2.tar.lz
nixlib-5a2365bf9ec314eec4aed651188a3af02d95eff2.tar.xz
nixlib-5a2365bf9ec314eec4aed651188a3af02d95eff2.tar.zst
nixlib-5a2365bf9ec314eec4aed651188a3af02d95eff2.zip
Merge pull request #38855 from pbogdan/eq10q-glibc-2.27
eq10q: fix build with glibc 2.27
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/eq10q/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/audio/eq10q/default.nix b/pkgs/applications/audio/eq10q/default.nix
index 3faeeb12d4c6..651604c71a11 100644
--- a/pkgs/applications/audio/eq10q/default.nix
+++ b/pkgs/applications/audio/eq10q/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchurl, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig, xorg }:
+{ stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig
+, xorg }:
 stdenv.mkDerivation rec {
   name = "eq10q-${version}";
   version = "2.2";
@@ -10,6 +11,14 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ cmake fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ];
 
+  patches = [
+    (fetchpatch {
+      # glibc 2.27 compatibility
+      url = https://sources.debian.org/data/main/e/eq10q/2.2~repack0-2.1/debian/patches/05-pow10.patch;
+      sha256 = "07b0wf6k4xqgigv4h095bzfaw8r218wa36r9w1817jcys13r6c5r";
+    })
+  ];
+
   installFlags = ''
     DESTDIR=$(out)
   '';