git: 9c7ca66e0b5d - main - graphics/appleseed: routinely, try to unbreak this port's build (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Dec 2024 19:41:34 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9c7ca66e0b5d35bbc6e66f080979533d4a640a72
commit 9c7ca66e0b5d35bbc6e66f080979533d4a640a72
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-12-24 19:37:24 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-12-24 19:37:24 +0000
graphics/appleseed: routinely, try to unbreak this port's build (+)
Backport upstream libeigen's commit in the form of sed(1) expression
to fix compilation of product with inverse transpositions, e.g. mat *
Transpositions().inverse().
Upstream fix: https://gitlab.com/libeigen/eigen/-/commit/a1292395
Reported by: pkg-fallout
---
graphics/appleseed/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/graphics/appleseed/Makefile b/graphics/appleseed/Makefile
index 934c6619cdeb..8d7397d7ed34 100644
--- a/graphics/appleseed/Makefile
+++ b/graphics/appleseed/Makefile
@@ -85,6 +85,8 @@ post-patch:
${WRKSRC}/src/appleseed/foundation/math/matrix.h \
${WRKSRC}/src/appleseed/foundation/math/quaternion.h \
${WRKSRC}/src/appleseed/foundation/image/color.h
+ @${REINPLACE_CMD} -e '/return Product/s,trt\.derived(),trt,' \
+ ${WRKSRC}/src/thirdparty/bcd/ext/eigen/Eigen/src/Core/Transpositions.h
.include <bsd.port.mk>