diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-02-03 15:18:34 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-02-03 15:18:34 +0000 |
commit | 0ead577cccba0ec68617f4216171dd532201caa9 (patch) | |
tree | 39d4d7fc8ee7e14305105b87dec146ad85a66870 | |
parent | d92d4f4284e121a87646f9d32feb716fbf618c55 (diff) |
Notes
-rw-r--r-- | graphics/xfractint/Makefile | 8 | ||||
-rw-r--r-- | graphics/xfractint/files/extra-unix__fpu087.c | 20 |
2 files changed, 1 insertions, 27 deletions
diff --git a/graphics/xfractint/Makefile b/graphics/xfractint/Makefile index 6558f2981668..67dce32ddd2d 100644 --- a/graphics/xfractint/Makefile +++ b/graphics/xfractint/Makefile @@ -18,12 +18,6 @@ ALL_TARGET= ${PORTNAME} DESKTOP_ENTRIES+="Xfracint" "${COMMENT}" "" "${PORTNAME}" "" "false" -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 800000 -EXTRA_PATCHES+= ${FILESDIR}/extra-unix__fpu087.c -.endif - do-install: @${INSTALL_PROGRAM} ${WRKSRC}/xfractint ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${INSTALL_MAN} ${WRKSRC}/unix/xfractint.man ${STAGEDIR}${PREFIX}/man/man1/${MAN1} @@ -34,4 +28,4 @@ do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR} .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/xfractint/files/extra-unix__fpu087.c b/graphics/xfractint/files/extra-unix__fpu087.c deleted file mode 100644 index b9f49dff013f..000000000000 --- a/graphics/xfractint/files/extra-unix__fpu087.c +++ /dev/null @@ -1,20 +0,0 @@ ---- 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) |