void-packages/srcpkgs/giac/patches/fgamma.patch

12 lines
587 B
Diff

--- a/src/first.h 2017-09-22 20:44:12.000000000 +0200
+++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100
@@ -503,7 +503,7 @@
#if defined(__MINGW_H) || defined(VISUALC) // FIXME gamma, not used
inline float fgamma(float f1){ return f1; }
#else
-inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten
+inline float fgamma(float f1){ return tgammaf(f1); } // or tgammaf(f1) on some versions of emscripten
#endif
#endif
inline float atan2f(float f1,float f2,int rad){ if (rad) return atan2f(f1,f2); else return atan2f(f1,f2)*180/M_PI;}