Bug 123409 - [Patch] ports:multimedia/ffmpeg fix WITH_OPTIMIZED_CFLAGS problem if build with gcc 4.2
Summary: [Patch] ports:multimedia/ffmpeg fix WITH_OPTIMIZED_CFLAGS problem if build wi...
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: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 00:50 UTC by Tatsuki Makino
Modified: 2008-09-05 16:20 UTC (History)
0 users

See Also:


Attachments
file.diff (428 bytes, patch)
2008-05-05 00:50 UTC, Tatsuki Makino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tatsuki Makino 2008-05-05 00:50:00 UTC
ffmpeg compiled with gcc 4.2 and -ffast-math optimization fails parsing options.

Fix: ffmpeg has code as `double d; if (isnan(d)) { }'
If enable -ffinite-math-only included -ffast-math, isnan() is always returned false.

References:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25975

Patch attached with submission follows:
How-To-Repeat: Please read this:
http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-September/011492.html
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-05-05 00:50:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-multimedia

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2008-09-05 16:20:14 UTC
State Changed
From-To: open->closed

Committed, thanks!