[Bug 208725] [PATCH] dns/powerdns: Fix build with libc++ 3.8.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 26 18:18:41 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208725

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: dim
Date: Tue Apr 26 18:18:15 UTC 2016
New revision: 414065
URL: https://svnweb.freebsd.org/changeset/ports/414065

Log:
  During the exp-run in bug 208158, it was found that dns/powerdns gives
  errors with libc++ 3.8.0:

  dnspacket.cc:645:6: error: call to 'abs' is ambiguous
    if(abs(trc->d_time - now) > trc->d_fudge) {
       ^~~

  This is because abs() is being called with unsigned arguments.  Import
  upstream commit f2d05dd to fix it.

  Approved by:  tremere at cainites.net
  PR:           208725
  MFH:          2016Q2

Changes:
  head/dns/powerdns/files/patch-pdns_dnspacket.cc

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list