Created attachment 197769 [details] Fix for dspdfviewer build failure. The change in clang version has caused -Wredundant-parens to be considered as error causing the builds to fail. I have changed the ${OSVERSION} variable to apply -Wno-error=redundant-parens to the list of CFLAGS from 1102000 and onwards. A patch has been attached along with this to fix this issue. It would be nice if the patch can be applied to the ports tree of FreeBSD. Thank you Santhosh
A commit references this bug: Author: swills Date: Sun Oct 7 04:48:09 UTC 2018 New revision: 481419 URL: https://svnweb.freebsd.org/changeset/ports/481419 Log: graphics/dspdfviewer: Fix build on 11.2 PR: 231934 Submitted by: Santhosh Raju <santhosh.raju@gmail.com> (maintainer) Changes: head/graphics/dspdfviewer/Makefile
Committed, thanks!
Since the fix was committed to HEAD after the quarterly branch was cut, the builds in the quarterly branch still continues to fail. Would it be possible to merge this change into the quarterly branch? I have put up the appropriate flag in the Re-Opened ticket. Thank you Santhosh
A commit references this bug: Author: swills Date: Tue Nov 27 01:35:45 UTC 2018 New revision: 485974 URL: https://svnweb.freebsd.org/changeset/ports/485974 Log: MFH: r481419 graphics/dspdfviewer: Fix build on 11.2 PR: 231934 Submitted by: Santhosh Raju <santhosh.raju@gmail.com> (maintainer) Approved by: ports-secteam (implicit) Changes: _U branches/2018Q4/ branches/2018Q4/graphics/dspdfviewer/Makefile