espresso: fix build (#524997)
This commit is contained in:
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-z5By57VbmIt4sgRgvECnLbZklnDDWUA6fyvWVyXUzsI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace utility/port.h \
|
||||
--replace-fail "VOID_HACK srandom();" "VOID_HACK srandom(unsigned int __seed);"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user