../hyperlinkarea.cpp:35:18: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] if ( pixmap == 0 ) ^ nullptr A patch is in the review. This build failer showed up while updating CMake to 3.11-rc3, which may have introduced other C++ flags by default.
Link to FreeBSD Phab review with the patch.
A commit references this bug: Author: adridg Date: Tue Mar 20 13:01:43 UTC 2018 New revision: 465086 URL: https://svnweb.freebsd.org/changeset/ports/465086 Log: Fix graphics/dspdfviewer build with modern Clang. The error message is in the (new) patch. PR: 226524 Approved by: tcberner (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D14652 Changes: head/graphics/dspdfviewer/files/patch-hyperlinkarea.cpp