Date: Fri, 20 May 2016 22:22:34 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 209675] graphics/inkscape: Fix build with libc++ 3.8.0 Message-ID: <bug-209675-6497-EIRPr5jpLr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209675-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-209675-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@FreeBSD.org> has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o= rg: Bug 209675: graphics/inkscape: Fix build with libc++ 3.8.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209675 --- Description --- 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_= 10h2 9m48s/logs/errors/inkscape-0.91_6.log
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209675-6497-EIRPr5jpLr>