mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
octave: fix on darwin
This change is required on darwin, but did not make it into the 4.2.1 release of Octave. It is a very small change, and a comment on the patch includes a link for more information and a note that it should be removed from subsequent releases.
This commit is contained in:
parent
8869816ed2
commit
506a5df014
@ -41,6 +41,12 @@ stdenv.mkDerivation rec {
|
||||
++ (stdenv.lib.optionals (!stdenv.isDarwin) [ mesa libX11 ])
|
||||
;
|
||||
|
||||
# REMOVE ON VERSION BUMP
|
||||
# Needed for Octave-4.2.1 on darwin. See https://savannah.gnu.org/bugs/?50234
|
||||
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed 's/inline file_stat::~file_stat () { }/file_stat::~file_stat () { }/' -i ./liboctave/system/file-stat.cc
|
||||
'';
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user