diff options
author | philip <philip@FreeBSD.org> | 2017-08-06 20:17:52 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2017-08-06 20:17:52 +0800 |
commit | c9c9eae0ad153c0493f75bbce3b4878dcfeb8abd (patch) | |
tree | b91efa99f69e93f5351fbdc66d4239fdcb08babf /graphics/dspdfviewer | |
parent | c4a39135961e1777dbe313f38a836bf6b081e8c3 (diff) | |
download | freebsd-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/Makefile | 4 |
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> |