distrho: fix build w/glibc-2.30

This commit is contained in:
Maximilian Bosch 2020-01-20 16:03:20 +01:00
parent 894da51750
commit 1200d06f82
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

@ -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
'';