Bug 40342 - koffice-kde3 build nit, need cmath.h
Summary: koffice-kde3 build nit, need cmath.h
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alan Eldridge
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-08 15:00 UTC by Robert Watson
Modified: 2002-08-23 21:59 UTC (History)
0 users

See Also:


Attachments
file.diff (367 bytes, patch)
2002-07-08 15:00 UTC, Robert Watson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Watson freebsd_committer freebsd_triage 2002-07-08 15:00:04 UTC
std::floor() is defined in cmath.h on FreeBSD, not float.h or math.h.

Fix: This patch appears to correct the problem.
Comment 1 Alan Eldridge freebsd_committer freebsd_triage 2002-07-08 15:03:03 UTC
Responsible Changed
From-To: freebsd-ports->alane

I'll handle this one.
Comment 2 Alan Eldridge freebsd_committer freebsd_triage 2002-07-09 04:44:32 UTC
State Changed
From-To: open->suspended

Submitter's request - he will return to the issue next week.
Comment 3 Peter Avalos 2002-08-14 04:11:16 UTC
It looks like those patches got hosed, so I put it on the Web:

http://www.theshell.com/~pavalos/koffice.diff
Comment 4 Pete Fritchman freebsd_committer freebsd_triage 2002-08-23 21:59:34 UTC
State Changed
From-To: suspended->closed

Fix committed.