From 1200d06f82beacf5bc664c8ba1df4afd5e4a8436 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 20 Jan 2020 16:03:20 +0100 Subject: [PATCH] distrho: fix build w/glibc-2.30 --- pkgs/applications/audio/distrho/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix index 0d2858713eb..646e2ccca15 100644 --- a/pkgs/applications/audio/distrho/default.nix +++ b/pkgs/applications/audio/distrho/default.nix @@ -1,6 +1,7 @@ { stdenv, fetchFromGitHub, alsaLib, fftwSinglePrec, freetype, libjack2 , pkgconfig, ladspa-sdk, premake3 , libX11, libXcomposite, libXcursor, libXext, libXinerama, libXrender +, fetchpatch }: let @@ -26,7 +27,14 @@ in stdenv.mkDerivation rec { runHook postConfigure ''; - patchPhase = '' + patches = [ + (fetchpatch { + url = "https://github.com/DISTRHO/DISTRHO-Ports/commit/00ad25fd574c1724bbc974308aa5e88306969009.patch"; + sha256 = "0hdnnvn35g76q7133azwalbm1dxs8dm2yg3zjjb1kzq0x6qrazx5"; + }) + ]; + + postPatch = '' sed -e "s#@./scripts#sh scripts#" -i Makefile '';