Bug 196629 - Fix multimedia/mjpegtools with libc++ r224926
Summary: Fix multimedia/mjpegtools with libc++ r224926
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 196535
  Show dependency treegraph
 
Reported: 2015-01-12 18:08 UTC by Dimitry Andric
Modified: 2015-01-12 19:53 UTC (History)
0 users

See Also:


Attachments
Fix multimedia/mjpegtools with libc++ r224926 (2.03 KB, patch)
2015-01-12 19:20 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2015-01-12 18:08:49 UTC
Bug 196535 shows that multimedia/mjpegtools fails to compile when libc++
r224926 is imported:

http://package18.nyi.freebsd.org/data/headamd64PR196535-default/2015-01-07_20h10m47s/logs/errors/mjpegtools-2.1.0_7.log

This is because one of the submodules tries to redefine 'errno' as a local
variable, and the new version of libc++ pulls in <errno.h> now, leading to a
conflict.

The fix is to rename the local variable to 'error'.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2015-01-12 18:48:50 UTC
Hi,

Due to an issue with the backend FreeBSD Bugzilla database, your original PR and any updates to it since have been lost.  I've recreated the original PR as best as I can, however any attachments and updates you submitted to the PR have been lost.  Please could you resubmit them?

Thanks, and apologies.
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2015-01-12 19:20:23 UTC
Created attachment 151473 [details]
Fix multimedia/mjpegtools with libc++ r224926
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2015-01-12 19:53:32 UTC
fixed