git: 2274f0bd5c59 - main - graphics/opencollada: Fix the build against Clang 15 (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Feb 2023 13:37:04 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2274f0bd5c59de24fcd52ab48f98ca63bc687f28 commit 2274f0bd5c59de24fcd52ab48f98ca63bc687f28 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2023-02-19 13:35:54 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2023-02-19 13:35:54 +0000 graphics/opencollada: Fix the build against Clang 15 (+) Approved by: portmgr blanket (fix build) Sponsored by: Serenity Cybersecurity, LLC --- graphics/opencollada/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/graphics/opencollada/Makefile b/graphics/opencollada/Makefile index ab566e5787a7..c40358eef8aa 100644 --- a/graphics/opencollada/Makefile +++ b/graphics/opencollada/Makefile @@ -25,4 +25,12 @@ CFLAGS+= -Wno-narrowing CMAKE_ON= USE_LIBXML USE_SHARED USE_STATIC USE_LDCONFIG= ${PREFIX}/lib/opencollada +# Fix the build against Clang 15 +post-patch: + @${REINPLACE_CMD} -e 's,move(other,std::&,' -e 's,move(result,std::&,' \ + ${WRKSRC}/DAEValidator/library/src/Dae.cpp \ + ${WRKSRC}/DAEValidator/library/src/XmlDoc.cpp \ + ${WRKSRC}/DAEValidator/library/src/XmlNode.cpp \ + ${WRKSRC}/DAEValidator/library/src/XmlNodeSet.cpp + .include <bsd.port.mk>