Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/prusaslicer/Makefile,v
diff -u -p -u -r1.31 Makefile
--- Makefile	6 Apr 2026 10:09:00 -0000	1.31
+++ Makefile	2 Jun 2026 21:41:42 -0000
@@ -3,7 +3,7 @@ ONLY_FOR_ARCHS = ${LP64_ARCHS}
 DPB_PROPERTIES = parallel
 
 V =		2.9.4
-REVISION =	2
+REVISION =	3
 PKGNAME =	prusaslicer-${V}
 
 GH_ACCOUNT =	prusa3d
Index: patches/patch-src_libslic3r_AABBTreeLines_hpp
===================================================================
RCS file: patches/patch-src_libslic3r_AABBTreeLines_hpp
diff -N patches/patch-src_libslic3r_AABBTreeLines_hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_libslic3r_AABBTreeLines_hpp	2 Jun 2026 21:41:42 -0000
@@ -0,0 +1,13 @@
+fix llvm22 fallout
+Index: src/libslic3r/AABBTreeLines.hpp
+--- src/libslic3r/AABBTreeLines.hpp.orig
++++ src/libslic3r/AABBTreeLines.hpp
+@@ -35,7 +35,7 @@ template<typename ALineType, typename ATreeType, typen
+     {
+         Vec<LineType::Dim, typename LineType::Scalar> nearest_point;
+         const LineType                               &line = lines[primitive_index];
+-        squared_distance = line_alg::distance_to_squared(line, origin.template cast<typename LineType::Scalar>(), &nearest_point);
++        squared_distance = line_alg::distance_to_squared(line, origin.template cast<typename LineType::Scalar>().eval(), &nearest_point);
+         return nearest_point.template cast<ScalarType>();
+     }
+ };
