- Project has new homepage [1] - Port needs USE_XORG+=xft to compile now - Use INSTALL_DATA and COPYTREE_SHARE macros instead of CP for proper file permissions - Add desktop entry file PR: ports/165911 [1] Submitted by: Pedro Giffuni <giffunip@tutopia.com> [1] Approved by: maintainer [1] Feature safe: yes
20 lines
608 B
C
20 lines
608 B
C
--- unix/fpu087.c.orig 2012-03-24 17:16:18.000000000 +0100
|
|
+++ unix/fpu087.c 2012-03-24 17:17:15.000000000 +0100
|
|
@@ -31,7 +31,7 @@
|
|
if (isnan(*x) || isnan(*y) || isinf(*x) || isinf(*y))
|
|
*atan = 1.0;
|
|
else
|
|
- *atan = (double)atan2l(*y,*x);
|
|
+ *atan = (double)atan2f((float)*y,(float)*x);
|
|
}
|
|
|
|
void FPUcplxmul(_CMPLX *x, _CMPLX *y, _CMPLX *z)
|
|
@@ -112,7 +112,7 @@
|
|
if (isnan(xx) || isnan(xy) || isinf(xx) || isinf(xy))
|
|
z->y = 1.0;
|
|
else
|
|
- z->y = (double)atan2l(xy,xx);
|
|
+ z->y = (double)atan2f((float)xy,(float)xx);
|
|
}
|
|
|
|
void FPUcplxexp387(_CMPLX *x, _CMPLX *z)
|