Created attachment 258257 [details] 0001-embree-update-to-4.3.3.patch Hi, This is an update to 4.3.3. I tested in poudriere. I need this update for a new package.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=38d561356b5e60389e8c673f7a0ef360d31588b6 commit 38d561356b5e60389e8c673f7a0ef360d31588b6 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2025-04-28 07:26:28 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2025-04-28 07:26:28 +0000 graphics/embree: update Intel Embree to version 4.2.0 Versions 4.x have default values for ZIP mode and ISPC support flipped, change them back in our port to avoid breaking POLA. Preserve version 3.13.5 as `graphics/embree3' port and reroute consumers to it due to incompatible API of the modern Embree. PR: 285134 graphics/Makefile | 1 + graphics/appleseed/Makefile | 2 +- graphics/blender/Makefile | 2 +- graphics/embree/Makefile | 15 +- graphics/embree/distinfo | 6 +- ...tch-tutorials_embree__info_CMakeLists.txt (new) | 13 + graphics/embree/pkg-plist | 201 +++++++++------ graphics/embree3/Makefile (new) | 78 ++++++ graphics/embree3/distinfo (new) | 5 + graphics/embree3/pkg-descr (new) | 12 + graphics/embree3/pkg-plist (new) | 283 +++++++++++++++++++++ graphics/openvkl/Makefile | 2 +- graphics/ospray/Makefile | 2 +- science/py-fresnel/Makefile | 2 +- science/ttk/Makefile | 2 +- 15 files changed, 532 insertions(+), 94 deletions(-)
(In reply to Martin Filla from comment #0) > I need this update for a new package. Unfortunately, versions 4.3.x do not compile with ISPC support enabled: [...]/work/embree-4.3.3/tutorials/forest/forest_device.ispc:131:3: Error: Unable to find any matching overload for call to function "rtcSetDeviceMemoryMonitorFunction". Passed types: (uniform struct RTCDeviceTy * uniform, unmasked uniform bool(void * uniform ptr, uniform int64 bytes, uniform bool post), void * uniform) rtcSetDeviceMemoryMonitorFunction(g_device, monitorMemoryFunction, NULL); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ To avoid further delay, I've updated the port to version 4.2.0 which does not exhibit this problem; hopefully it is recent enough for the package you're working on.