svn commit: r516872 - head/graphics/dspdfviewer

Santhosh Raju fox at FreeBSD.org
Wed Nov 6 11:00:03 UTC 2019


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 at 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
 


More information about the svn-ports-head mailing list