distrho: fix build w/glibc-2.30
This commit is contained in:
parent
894da51750
commit
1200d06f82
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchFromGitHub, alsaLib, fftwSinglePrec, freetype, libjack2
|
{ stdenv, fetchFromGitHub, alsaLib, fftwSinglePrec, freetype, libjack2
|
||||||
, pkgconfig, ladspa-sdk, premake3
|
, pkgconfig, ladspa-sdk, premake3
|
||||||
, libX11, libXcomposite, libXcursor, libXext, libXinerama, libXrender
|
, libX11, libXcomposite, libXcursor, libXext, libXinerama, libXrender
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -26,7 +27,14 @@ in stdenv.mkDerivation rec {
|
|||||||
runHook postConfigure
|
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
|
sed -e "s#@./scripts#sh scripts#" -i Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user