helm: compile with gcc9 (#95862)
To make using MESA libraries that are compiled with gcc9 work, refs #95806
This commit is contained in:
parent
90db9641cb
commit
28945790d0
|
@ -1,5 +1,16 @@
|
|||
{ stdenv, fetchFromGitHub , xorg, freetype, alsaLib, curl, libjack2
|
||||
, lv2, pkgconfig, libGLU, libGL }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, xorg
|
||||
, freetype
|
||||
, alsaLib
|
||||
, curl
|
||||
, libjack2
|
||||
, lv2
|
||||
, pkgconfig
|
||||
, libGLU
|
||||
, libGL
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "0.9.0";
|
||||
|
@ -20,7 +31,15 @@
|
|||
|
||||
CXXFLAGS = "-DHAVE_LROUND";
|
||||
|
||||
patchPhase = ''
|
||||
patches = [
|
||||
# gcc9 compatibility https://github.com/mtytel/helm/pull/233
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mtytel/helm/commit/cb611a80bd5a36d31bfc31212ebbf79aa86c6f08.patch";
|
||||
sha256 = "1i2289srcfz17c3zzab6f51aznzdj62kk53l4afr32bkjh9s4ixk";
|
||||
})
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
sed -i 's|usr/||g' Makefile
|
||||
'';
|
||||
|
||||
|
|
|
@ -26493,9 +26493,7 @@ in
|
|||
|
||||
hatari = callPackage ../misc/emulators/hatari { };
|
||||
|
||||
helm = callPackage ../applications/audio/helm {
|
||||
stdenv = gcc8Stdenv;
|
||||
};
|
||||
helm = callPackage ../applications/audio/helm { };
|
||||
|
||||
helmfile = callPackage ../applications/networking/cluster/helmfile { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue