aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dspdfviewer
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2017-08-06 20:17:52 +0800
committerphilip <philip@FreeBSD.org>2017-08-06 20:17:52 +0800
commitc9c9eae0ad153c0493f75bbce3b4878dcfeb8abd (patch)
treeb91efa99f69e93f5351fbdc66d4239fdcb08babf /graphics/dspdfviewer
parentc4a39135961e1777dbe313f38a836bf6b081e8c3 (diff)
downloadfreebsd-ports-gnome-c9c9eae0ad153c0493f75bbce3b4878dcfeb8abd.tar.gz
freebsd-ports-gnome-c9c9eae0ad153c0493f75bbce3b4878dcfeb8abd.tar.zst
freebsd-ports-gnome-c9c9eae0ad153c0493f75bbce3b4878dcfeb8abd.zip
Fix build on HEAD >= 1200039.
Submitted by: Santhosh Raju <santhosh.raju@gmail.com> (maintainer)
Diffstat (limited to 'graphics/dspdfviewer')
-rw-r--r--graphics/dspdfviewer/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile
index 2aaa3336a4cb..311a64f5ffcf 100644
--- a/graphics/dspdfviewer/Makefile
+++ b/graphics/dspdfviewer/Makefile
@@ -39,4 +39,8 @@ PLIST_FILES= bin/dspdfviewer \
CFLAGS+= -Wno-error=undefined-func-template
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200039
+CFLAGS+= -Wno-error=zero-as-null-pointer-constant
+.endif
+
.include <bsd.port.post.mk>