mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
rr: fix build after gcc-5.4 bump
Discussion: https://github.com/NixOS/nixpkgs/commit/772c92ba5c60a
This commit is contained in:
parent
ab450c0909
commit
e9c612cdfe
1 changed files with 2 additions and 1 deletions
|
@ -11,8 +11,9 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "03fl2wgbc1cilaw8hrhfqjsbpi05cid6k4cr3s2vmv5gx0dnrgy4";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace src/Command.cc --replace '_BSD_SOURCE' '_DEFAULT_SOURCE'
|
||||
sed '7i#include "math.h"' -i src/Scheduler.cc
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue