Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 19:03:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208843] graphics/cuneiform: Fix build with libc++ 3.8.0
Message-ID:  <bug-208843-13-TBQ7ae2d8D@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208843-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208843-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208843

--- Comment #2 from commit-hook@freebsd.org ---
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 =3D (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/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208843-13-TBQ7ae2d8D>