Date: Mon, 09 May 2016 21:04:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209406] deskutils/plasma-applet-playwolf: Fix build with libc++ 3.8.0 Message-ID: <bug-209406-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209406 Bug ID: 209406 Summary: deskutils/plasma-applet-playwolf: 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: jhale@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: jhale@FreeBSD.org Flags: maintainer-feedback?(jhale@FreeBSD.org) Created attachment 170158 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170158&action= =3Dedit Use Qt's own qFabs() in deskutils/plasma-applet-playwolf During the exp-run in bug 208158, it was found that deskutils/plasma-applet-playwolf gives errors with libc++ 3.8.0 [1]: /wrkdirs/usr/ports/deskutils/plasma-applet-playwolf/work/playwolf/wolflabel= .cpp:198:47: error: call to 'abs' is ambiguous m_animation->setDuration((2 * abs(x) + SPACING) * 150); ^~~ This is because the floating point version of abs() should be used, but the file does not include <math.h>, nor <cmath>. Instead, make it use the Qt-specific function, qFabs(), from QtCore/qmath.h. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_= 10h29m48s/logs/errors/plasma-applet-playwolf-0.8.1_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-209406-13>