svn commit: r447460 - head/graphics/dspdfviewer

Philip Paeps philip at FreeBSD.org
Sun Aug 6 12:17:54 UTC 2017


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 at 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>


More information about the svn-ports-all mailing list