mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
- Add patch to enable build of cephes subpackage. This adds floating point
functions included in C99, but not yet part of FreeBSD. Examples include ccosh, and except for very recent versions of FreeBSD, log2. - Bump portrevision. Obtained from: http://trac.sagemath.org/sage_trac/ticket/9543
This commit is contained in:
parent
fb115d59d4
commit
32eea68a34
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296324
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= sage
|
||||
PORTVERSION= 4.8
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://modular.math.jmu.edu/src/ \
|
||||
http://boxen.math.washington.edu/sage/src/ \
|
||||
|
1490
math/sage/files/spkg-patch-cephes-2.8_-_big-patch
Normal file
1490
math/sage/files/spkg-patch-cephes-2.8_-_big-patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,41 +0,0 @@
|
||||
--- sage-4.8/sage/symbolic/pynac_cc.h.orig 2010-06-28 16:37:01.000000000 +0000
|
||||
+++ sage-4.8/sage/symbolic/pynac_cc.h 2012-01-21 22:48:22.000000000 +0000
|
||||
@@ -1,37 +1,21 @@
|
||||
-#include <math.h>
|
||||
+#include <cmath>
|
||||
|
||||
inline long double sage_logl(long double x)
|
||||
{
|
||||
-#if defined(__CYGWIN__)
|
||||
return log(x);
|
||||
-#else
|
||||
- return logl(x);
|
||||
-#endif
|
||||
}
|
||||
|
||||
inline long double sage_sqrtl(long double x)
|
||||
{
|
||||
-#if defined(__CYGWIN__)
|
||||
return sqrt(x);
|
||||
-#else
|
||||
- return sqrtl(x);
|
||||
-#endif
|
||||
}
|
||||
|
||||
inline long double sage_tgammal(long double x)
|
||||
{
|
||||
-#if defined(__CYGWIN__)
|
||||
return tgamma(x);
|
||||
-#else
|
||||
- return tgammal(x);
|
||||
-#endif
|
||||
}
|
||||
|
||||
inline long double sage_lgammal(long double x)
|
||||
{
|
||||
-#if defined(__CYGWIN__)
|
||||
return lgamma(x);
|
||||
-#else
|
||||
- return lgammal(x);
|
||||
-#endif
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user