aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2019-03-07 12:15:18 +0800
committerphilip <philip@FreeBSD.org>2019-03-07 12:15:18 +0800
commitec60b5119ba350cf964de0f3c00b1d62c0a225b0 (patch)
treeb36dbd6e9dabcb63025e9df61068a2b98af601eb /graphics
parent8c2236f922490ac83fbfc323d56b4a2dea6d09ad (diff)
downloadfreebsd-ports-gnome-ec60b5119ba350cf964de0f3c00b1d62c0a225b0.tar.gz
freebsd-ports-gnome-ec60b5119ba350cf964de0f3c00b1d62c0a225b0.tar.zst
freebsd-ports-gnome-ec60b5119ba350cf964de0f3c00b1d62c0a225b0.zip
graphics/dspdfviewer: buildfix fox clang 8.0.0
PR: 236217 Submitted by: Santhosh Raju <santhosh.raju@gmail.com> (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dspdfviewer/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile
index f95c8119f2e3..0011aa50e165 100644
--- a/graphics/dspdfviewer/Makefile
+++ b/graphics/dspdfviewer/Makefile
@@ -3,7 +3,7 @@
PORTNAME= dspdfviewer
PORTVERSION= 1.15.1
DISTVERSIONPREFIX=v
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= graphics
MAINTAINER= santhosh.raju@gmail.com
@@ -41,6 +41,11 @@ CFLAGS+= -Wno-error=undefined-func-template
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
.include <bsd.port.post.mk>