After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309634 - build failure -- some platforms do not have lrint()
build failure -- some platforms do not have lrint()
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: general
2.10.x
Other All
: Normal normal
: 2.11.92
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-06 20:01 UTC by Jeremy C. Reed
Modified: 2005-08-08 21:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Jeremy C. Reed 2005-07-06 20:01:19 UTC
Please describe the problem:
NetBSD 2.0.2 and FreeBSD before 5.4 and other platforms may not have lrint().

gnome-media/gnome-cd/gst-cdparanoia-cdrom.c and gnome-media/gst-mixer/src/volume.c
both use lrint.

The workaround for older FreeBSD versions is to use rint(3) instead, as
seen in
http://www.FreeBSD.org/cgi/cvsweb.cgi/~checkout~/ports/audio/gnomemedia2/Makefile

Steps to reproduce:
1. build gnome-media-2 on system without lrint().
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ronald Bultje 2005-08-08 21:05:38 UTC
Thanks, fixed.