freebsd-ports/math/freemat/files/patch-libs_libFN_FNFun.cpp
Thierry Thomas f4359488f1 Upgrade to 3.6.
Changelog at
<https://sourceforge.net/project/shownotes.php?release_id=584869>.

Note: LLVM support is disabled ATM.
2008-03-19 16:33:17 +00:00

18 lines
392 B
C++

--- ./libs/libFN/FNFun.cpp.orig 2008-03-14 16:43:05.000000000 +0100
+++ ./libs/libFN/FNFun.cpp 2008-03-18 22:05:39.000000000 +0100
@@ -23,6 +23,15 @@
#include "Malloc.hpp"
#include <math.h>
+#if defined(__FreeBSD__) && __FreeBSD_version < 800022
+float
+tgammaf(float x)
+{
+
+ return (tgamma(x));
+}
+#endif
+
//!
//@Module ERFC Complimentary Error Function
//@@Section MATHFUNCTIONS