mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Remove always false OSVERSION check
Approved by: portmgr blanket
This commit is contained in:
parent
d92d4f4284
commit
0ead577ccc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378359
@ -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>
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user