Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2019 12:08:42 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r516878 - branches/2019Q4/graphics/dspdfviewer
Message-ID:  <201911061208.xA6C8guv059632@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911061208.xA6C8guv059632>