libm has nearbyintf() now.

ok jakemsr@
This commit is contained in:
jasper 2011-04-29 06:38:34 +00:00
parent a8ed53e972
commit 39a4143af0
2 changed files with 2 additions and 14 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2010/11/18 12:03:28 jasper Exp $
# $OpenBSD: Makefile,v 1.5 2011/04/29 06:38:34 jasper Exp $
SHARED_ONLY = Yes
COMMENT = CALF LADSPA plugins
DISTNAME = calf-0.0.18.5
REVISION = 0
REVISION = 1
CATEGORIES = audio

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_calf_primitives_h,v 1.1.1.1 2010/10/23 21:52:00 jakemsr Exp $
--- src/calf/primitives.h.orig Mon Feb 1 22:04:52 2010
+++ src/calf/primitives.h Mon Feb 1 22:05:20 2010
@@ -462,7 +462,7 @@ inline int fastf2i_drm(float f)
__asm ( "flds %1; fistpl %0" : "=m"(v) : "m"(f));
return v;
#else
- return (int)nearbyintf(f);
+ return (int)rintf(f);
#endif
}