Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2019 04:15:18 +0000 (UTC)
From:      Philip Paeps <philip@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494877 - head/graphics/dspdfviewer
Message-ID:  <201903070415.x274FIAh024426@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: philip
Date: Thu Mar  7 04:15:18 2019
New Revision: 494877
URL: https://svnweb.freebsd.org/changeset/ports/494877

Log:
  graphics/dspdfviewer: buildfix fox clang 8.0.0
  
  PR:		236217
  Submitted by:	Santhosh Raju <santhosh.raju@gmail.com> (maintainer)

Modified:
  head/graphics/dspdfviewer/Makefile

Modified: head/graphics/dspdfviewer/Makefile
==============================================================================
--- head/graphics/dspdfviewer/Makefile	Thu Mar  7 04:08:12 2019	(r494876)
+++ head/graphics/dspdfviewer/Makefile	Thu Mar  7 04:15:18 2019	(r494877)
@@ -3,7 +3,7 @@
 PORTNAME=	dspdfviewer
 PORTVERSION=	1.15.1
 DISTVERSIONPREFIX=v
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	graphics
 
 MAINTAINER=	santhosh.raju@gmail.com
@@ -39,6 +39,11 @@ CFLAGS+=	-Wno-error=undefined-func-template
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200039
 CFLAGS+=	-Wno-error=zero-as-null-pointer-constant
+.endif
+
+# Fixes build failure for Clang 8.0.0
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300014
+CFLAGS+=       -Wno-error=extra-semi-stmt
 .endif
 
 CFLAGS+=	-Wno-error=redundant-parens



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