Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2018 09:48:48 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460682 - head/cad/stepcode
Message-ID:  <201802020948.w129mm3c057902@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Feb  2 09:48:48 2018
New Revision: 460682
URL: https://svnweb.freebsd.org/changeset/ports/460682

Log:
  Unbreak the build against recent Clang.
  
  PR:	225538

Modified:
  head/cad/stepcode/Makefile

Modified: head/cad/stepcode/Makefile
==============================================================================
--- head/cad/stepcode/Makefile	Fri Feb  2 09:46:41 2018	(r460681)
+++ head/cad/stepcode/Makefile	Fri Feb  2 09:48:48 2018	(r460682)
@@ -23,6 +23,10 @@ CMAKE_ARGS+=	-DSC_INSTALL_PREFIX=${PREFIX} \
 
 MANDIRS=	${PREFIX}/man
 
+post-patch:
+	@${REINPLACE_CMD} -e 's,( JudyValue ) 0,nullptr,' \
+		${WRKSRC}/src/base/judy/src/judy*Array.h
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/schema_scanner
 	@(cd ${STAGEDIR}${PREFIX} ; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802020948.w129mm3c057902>