Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2019 11:00:02 +0000 (UTC)
From:      Santhosh Raju <fox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516872 - head/graphics/dspdfviewer
Message-ID:  <201911061100.xA6B02Wp018247@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fox
Date: Wed Nov  6 11:00:02 2019
New Revision: 516872
URL: https://svnweb.freebsd.org/changeset/ports/516872

Log:
  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:
  head/graphics/dspdfviewer/Makefile

Modified: head/graphics/dspdfviewer/Makefile
==============================================================================
--- head/graphics/dspdfviewer/Makefile	Wed Nov  6 10:46:07 2019	(r516871)
+++ head/graphics/dspdfviewer/Makefile	Wed Nov  6 11:00:02 2019	(r516872)
@@ -3,7 +3,7 @@
 PORTNAME=	dspdfviewer
 PORTVERSION=	1.15.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	22
+PORTREVISION=	23
 CATEGORIES=	graphics
 
 MAINTAINER=	fox@FreeBSD.org
@@ -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?201911061100.xA6B02Wp018247>