Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2025 10:36:07 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bb3f7179341f - main - math/curv: Unbreak
Message-ID:  <202501111036.50BAa7mY048920@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb3f7179341fdada1e46f2f58e1b6f27da96fe6b

commit bb3f7179341fdada1e46f2f58e1b6f27da96fe6b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-11 10:34:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-11 10:36:04 +0000

    math/curv: Unbreak
    
    The latest revision from codeberg fails to build,
    so keep the GitHub one for now.
---
 math/curv/Makefile                           |  4 ++--
 math/curv/files/patch-libcurv_dir__record.cc | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/math/curv/Makefile b/math/curv/Makefile
index 451adec458df..339537b85328 100644
--- a/math/curv/Makefile
+++ b/math/curv/Makefile
@@ -5,7 +5,8 @@ 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
@@ -14,7 +15,6 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 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 \
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;
+         



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