Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2024 19:41:34 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9c7ca66e0b5d - main - graphics/appleseed: routinely, try to unbreak this port's build (+)
Message-ID:  <202412241941.4BOJfYl6045664@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



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