diff options
author | philip <philip@FreeBSD.org> | 2019-03-07 12:15:18 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2019-03-07 12:15:18 +0800 |
commit | ec60b5119ba350cf964de0f3c00b1d62c0a225b0 (patch) | |
tree | b36dbd6e9dabcb63025e9df61068a2b98af601eb /graphics | |
parent | 8c2236f922490ac83fbfc323d56b4a2dea6d09ad (diff) | |
download | freebsd-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/Makefile | 7 |
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> |