diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-02-02 09:48:48 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-02-02 09:48:48 +0000 |
commit | 0f6954c83dd906aa988da97f0df7865e63a26c4d (patch) | |
tree | e150ae3ab10a8e4318448e1fbb128bebd8aaba4e /cad | |
parent | 41fa1a702bbc6e363733ad10bf9f8d4897a11992 (diff) |
Unbreak the build against recent Clang.
PR: 225538
Notes
Notes:
svn path=/head/; revision=460682
Diffstat (limited to 'cad')
-rw-r--r-- | cad/stepcode/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cad/stepcode/Makefile b/cad/stepcode/Makefile index 8fa2465d022f..df00351ba295 100644 --- a/cad/stepcode/Makefile +++ b/cad/stepcode/Makefile @@ -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} ; \ |