Alexander Best <[email protected]> writes:

> hi there,
>
> does anybody if there's an alternative for libm in the ports dir? i need it,
> because the newest snapshots of mplayer require log2() and log2f(), which the
> base libm doesn't support.

for mplayer I'd suggest using code from x264 because both projects use GPLv2+

  #if !HAVE_LOG2F
  #define log2f(x) (logf(x)/0.693147180559945f)
  #define log2(x) (log(x)/0.693147180559945)
  #endif
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to