Date: Sun, 6 Aug 2017 12:17:53 +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: r447460 - head/graphics/dspdfviewer Message-ID: <201708061217.v76CHrcB094813@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: philip Date: Sun Aug 6 12:17:52 2017 New Revision: 447460 URL: https://svnweb.freebsd.org/changeset/ports/447460 Log: Fix build on HEAD >= 1200039. Submitted by: Santhosh Raju <santhosh.raju@gmail.com> (maintainer) Modified: head/graphics/dspdfviewer/Makefile Modified: head/graphics/dspdfviewer/Makefile ============================================================================== --- head/graphics/dspdfviewer/Makefile Sun Aug 6 12:16:50 2017 (r447459) +++ head/graphics/dspdfviewer/Makefile Sun Aug 6 12:17:52 2017 (r447460) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708061217.v76CHrcB094813>