Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2016 22:22:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 209675] graphics/inkscape: Fix build with libc++ 3.8.0
Message-ID:  <bug-209675-6497@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Created attachment 170521
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170521&action=
=3Dedit
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) !=3D 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

--=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-209675-6497>