svn commit: r493485 - head/sysutils/powerdxx

Mark Linimon linimon at FreeBSD.org
Thu Feb 21 04:14:16 UTC 2019


Author: linimon
Date: Thu Feb 21 04:14:14 2019
New Revision: 493485
URL: https://svnweb.freebsd.org/changeset/ports/493485

Log:
  Add -Wno-error=sign-compare to CXXFLAGS to ignore the following error
  when compiling with GCC:
  
    /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp: In lambda function:
    /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp:294:21: error: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Werror=sign-compare]
  
  PR:		235689
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/sysutils/powerdxx/Makefile

Modified: head/sysutils/powerdxx/Makefile
==============================================================================
--- head/sysutils/powerdxx/Makefile	Thu Feb 21 00:36:50 2019	(r493484)
+++ head/sysutils/powerdxx/Makefile	Thu Feb 21 04:14:14 2019	(r493485)
@@ -19,6 +19,8 @@ MAKE_ARGS=	DOCSDIR="${DOCSDIR}"
 
 OPTIONS_DEFINE=	DOCS
 
+CXXFLAGS+=	-Wno-error=sign-compare
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/gh-pages/refman.pdf ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-head mailing list