Summary: | [MAINTAINER][PATCH] dns/powerdns: Fix compilation on FreeBSD 9.3 i386 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Ralf van der Enden <tremere> | ||||||||||
Component: | Individual Port(s) | Assignee: | Thomas Zander <riggs> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | riggs | ||||||||||
Priority: | --- | Keywords: | easy, needs-qa, patch | ||||||||||
Version: | Latest | Flags: | riggs:
merge-quarterly+
|
||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Created attachment 169956 [details]
9.3 i386 buildlog
Created attachment 169957 [details]
10.3 i386 buildlog
Created attachment 169958 [details]
10.3 amd64 buildlog
Since I'm not running on 11-CURRENT I cannot reliably test if this makes compilation on 11-CURRENT break. Poudriere tells me I should create jails with versions above my own system, which is running 10.3-RELEASE-p1 No worries, I'll double-check 11-CURRENT. A commit references this bug: Author: riggs Date: Wed May 4 21:04:18 UTC 2016 New revision: 414613 URL: https://svnweb.freebsd.org/changeset/ports/414613 Log: Fix build on 9.3 i386 PR: 209260 Submitted by: tremere@cainites.net (maintainer) MFH: 2016Q2 (build fix blanket) Changes: head/dns/powerdns/Makefile head/dns/powerdns/files/patch-pdns_dnspacket.cc A commit references this bug: Author: riggs Date: Wed May 4 21:12:42 UTC 2016 New revision: 414614 URL: https://svnweb.freebsd.org/changeset/ports/414614 Log: MFH: r414613 Fix build on 9.3 i386 PR: 209260 Submitted by: tremere@cainites.net (maintainer) Approved by: ports-secteam (build fix blanket) Changes: _U branches/2016Q2/ branches/2016Q2/dns/powerdns/Makefile branches/2016Q2/dns/powerdns/files/patch-pdns_dnspacket.cc |
Created attachment 169955 [details] Change std::abs to std::labs For some reason 9.3 i386 gets confused overloading std::abs to the correct function. Probably because both cmath and cstdlib are included (which both have std::abs). Changing it to std::labs takes away the confusion. The only thing I can't wrap my head around is the fact that 10.3 i386 doesn't run into the same issue.