diff --git a/math/curv/Makefile b/math/curv/Makefile index 451adec458df..339537b85328 100644 --- a/math/curv/Makefile +++ b/math/curv/Makefile @@ -1,49 +1,49 @@ PORTNAME= curv DISTVERSION= 0.5 PORTREVISION= 23 CATEGORIES= math lang graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Language for making art using mathematics -WWW= https://github.com/curv3d/curv/ +WWW= https://curv3d.org/ \ + https://codeberg.org/doug-moen/curv LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif -BROKEN= fails to build with boost-1.85+ BUILD_DEPENDS= glm>0:math/glm LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libdouble-conversion.so:devel/double-conversion \ libglfw.so:graphics/glfw \ libImath.so:math/Imath \ libtbb.so:devel/onetbb \ libopenvdb.so:misc/openvdb USES= cmake compiler:c++14-lang gl localbase:ldflags xorg USE_GL= gl USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= curv3d GH_TUPLE= ocornut:imgui:e0cab56:imgui/extern/imgui \ Tessil:ordered-map:4051af7:om/extern/ordered-map \ AmokHuginnsson:replxx:b901d5f:replxx/extern/replxx LDFLAGS+= -lopenvdb PLIST_FILES= bin/curv \ lib/curv/lib/blend.curv \ lib/curv/lib/builder.curv \ lib/curv/lib/noise.curv \ lib/curv/lib/web_colour.curv \ lib/curv/std.curv \ share/gtksourceview-3.0/language-specs/curv.lang post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/curv/lib/README .include diff --git a/math/curv/files/patch-libcurv_dir__record.cc b/math/curv/files/patch-libcurv_dir__record.cc new file mode 100644 index 000000000000..c7d10900630b --- /dev/null +++ b/math/curv/files/patch-libcurv_dir__record.cc @@ -0,0 +1,11 @@ +--- libcurv/dir_record.cc.orig 2025-01-11 10:02:34 UTC ++++ libcurv/dir_record.cc +@@ -39,7 +39,7 @@ Dir_Record::Dir_Record(Filesystem::path dir, const Con + fs::directory_iterator end; + for (; i != end; ++i) { + auto path = i->path(); +- auto name = path.leaf().string(); ++ auto name = path.filename().string(); + auto cname = name.c_str(); + if (cname[0] == '.') continue; +