[Bug 209675] graphics/inkscape: Fix build with libc++ 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 20 22:22:34 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209675
Bug ID: 209675
Summary: graphics/inkscape: Fix build with libc++ 3.8.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: gnome at FreeBSD.org
Reporter: dim at FreeBSD.org
Flags: maintainer-feedback?(gnome at FreeBSD.org)
Assignee: gnome at FreeBSD.org
Created attachment 170521
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170521&action=edit
Fix type for abs() calls in graphics/inkscape
During the exp-run in bug 208158, it was found that graphics/inkscape gives
errors with libc++ 3.8.0 [1]:
libavoid/connector.cpp:888:29: error: call to 'abs' is ambiguous
COLA_ASSERT(abs(i->pathNext->id.objID - i->id.objID) != 2);
^~~
This is because abs() is called with unsigned arguments. Fix it by casting the
arguments to the appropriate signed types.
[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_10h29m48s/logs/errors/inkscape-0.91_6.log
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list