Date: Sat, 02 Apr 2016 17:14:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208468] multimedia/vdr: Fix build with libc++ 3.8.0 Message-ID: <bug-208468-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208468 Bug ID: 208468 Summary: multimedia/vdr: 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: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org Created attachment 168902 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168902&action= =3Dedit Fix type for abs() calls in multimedia/vdr During the exp-run in bug 208158, it was found that multimedia/vdr gives er= rors with libc++ 3.8.0 [1]: dvbdevice.c:769:18: error: call to 'abs' is ambiguous frequency =3D abs(frequency); // Allow for C-band, where the frequency= is less than the LOF ^~~ This is because 'frequency' is unsigned, and it is therefore ambiguous to w= hich type it should be casted before calling abs(). Two similar ambiguities exi= st in remux.c. Fix these by explicity casting the arguments to int. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_= 18h30m05s/logs/errors/vdr-1.7.29_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-208468-13>