git.iko.soy/typeable/nixpkgs
on master help sign in
speech-tools: is __isnanf, use portable isnan (c99)
commit92bd681de18ef4f1998bd357183bc499749289c7 authorWill Dietz <w@wdtz.org> dateThu 15 Mar 2018, 01:23 (9 years ago) parentce86490
1 file changed+4
pkgs/development/libraries/speech-tools/default.nix+4
pkgs/development/libraries/speech-tools/default.nix+4
@@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
1414 preConfigure = ''
1515 sed -e s@/usr/bin/@@g -i $( grep -rl '/usr/bin/' . )
1616 sed -re 's@/bin/(rm|printf|uname)@\1@g' -i $( grep -rl '/bin/' . )
17+
18+ # c99 makes isnan valid for float and double
19+ substituteInPlace include/EST_math.h \
20+ --replace '__isnanf(X)' 'isnan(X)'
1721 '';
1822
1923 installPhase = ''