adlplug: fix build with gcc9
This commit is contained in:
parent
00c0eb0026
commit
cf824d6096
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libjack2, alsaLib
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libjack2, alsaLib
|
||||||
, freetype, libX11, libXrandr, libXinerama, libXext, libXcursor
|
, freetype, libX11, libXrandr, libXinerama, libXext, libXcursor
|
||||||
|
, fetchpatch
|
||||||
, adlplugChip ? "-DADLplug_CHIP=OPL3"
|
, adlplugChip ? "-DADLplug_CHIP=OPL3"
|
||||||
, pname ? "ADLplug" }:
|
, pname ? "ADLplug" }:
|
||||||
|
|
||||||
@ -15,6 +16,15 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/jpcima/ADLplug/83636c55bec1b86cabf634b9a6d56d07f00ecc61/resources/patch/juce-gcc9.patch";
|
||||||
|
sha256 = "15hkdb76n9lgjsrpczj27ld9b4804bzrgw89g95cj4sc8wwkplyy";
|
||||||
|
extraPrefix = "thirdparty/JUCE/";
|
||||||
|
stripLen = 1;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [ adlplugChip ];
|
cmakeFlags = [ adlplugChip ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user