svn commit: r516878 - branches/2019Q4/graphics/dspdfviewer
Antoine Brodin
antoine at FreeBSD.org
Wed Nov 6 12:08:42 UTC 2019
Author: antoine
Date: Wed Nov 6 12:08:41 2019
New Revision: 516878
URL: https://svnweb.freebsd.org/changeset/ports/516878
Log:
MFH: r516872
graphics/dspdfviewer - Fixes broken build in 11.3-RELEASE.
Adds conditional to check for 11.3-RELEASE and 12.1-RELEASE since
both of them use Clang 8 now.
approved by: philip (mentor)
Modified:
branches/2019Q4/graphics/dspdfviewer/Makefile
Directory Properties:
branches/2019Q4/ (props changed)
Modified: branches/2019Q4/graphics/dspdfviewer/Makefile
==============================================================================
--- branches/2019Q4/graphics/dspdfviewer/Makefile Wed Nov 6 11:52:33 2019 (r516877)
+++ branches/2019Q4/graphics/dspdfviewer/Makefile Wed Nov 6 12:08:41 2019 (r516878)
@@ -44,7 +44,7 @@ CFLAGS+= -Wno-error=zero-as-null-pointer-constant
.endif
# Fixes build failure for Clang 8.0.0
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300014
+.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1300014 || (${OSVERSION} >= 1103000 && ${OSVERSION} < 1200000) || ${OSVERSION} >= 1201000)
CFLAGS+= -Wno-error=extra-semi-stmt
.endif
More information about the svn-ports-branches
mailing list