Need roundf() patch for 0.9.28

Kevin Day thekevinday at gmail.com
Thu Aug 20 21:51:34 UTC 2009


On Thu, Aug 20, 2009 at 4:09 PM, Philip A.
Prindeville<philipp_subx at redfish-solutions.com> wrote:
> Yes, I know 0.9.28 is horribly old, and we'll upgrade eventually...  For
> now, I need to patch it to include roundf() so I can support Asterisk 1.6.
>
> Anyone have a patch for this or directions for doing so?
>
> Thanks,
>
> -Philip
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>

I made a patch (or a hack of a patch) a long time ago.
Here it is. (assuming it doesn't get stripped by the list)
The patch adds support for: round, lround, llround, roundf, lroundf,
llroundf, trunc, truncf
The code is ripped directly from a long forgotten version of glibc and
was then cleaned up until it compiled under uClibc.
-- 
Kevin Day
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-0.9.28.3-add_round-2.patch
Type: application/octet-stream
Size: 22644 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090820/61d89fdf/attachment-0001.obj>


More information about the uClibc mailing list