Summary: | graphics/cuneiform: Fix build with libc++ 3.8.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | samm | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(samm) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 208158 | ||||||
Attachments: |
|
Description
Dimitry Andric
2016-04-16 20:38:26 UTC
Thank you for the patch, approved A commit references this bug: Author: dim Date: Mon Apr 18 19:02:56 UTC 2016 New revision: 413606 URL: https://svnweb.freebsd.org/changeset/ports/413606 Log: MFH: r413510 During the exp-run in bug 208158, it was found that graphics/cuneiform gives errors with libc++ 3.8.0: cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp:597:32: error: call to 'abs' is ambiguous wNewHeight = (mbMarginsFlag ? abs(mrMargins.rmBottomMarg - mrMargins.rmTopMarg) : mpSourceDIB->GetLinesNumber()); ^~~ This is because abs() is being called an unsigned argument. Fix this by casting the argument to the appropriate signed type. Approved by: portmgr (junovitch) PR: 208843 Changes: _U branches/2016Q2/ branches/2016Q2/graphics/cuneiform/files/ |