git: 45d70e18b3e4 - main - cad/horizon-eda: Update 2.3.1 -> 2.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 16 Oct 2022 19:37:38 UTC
The branch main has been updated by yuri:

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

commit 45d70e18b3e441d975a8abceb192ef5da3ec90c8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-16 18:11:46 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-16 19:37:32 +0000

    cad/horizon-eda: Update 2.3.1 -> 2.4.0
    
    Reported by:    portscout
---
 cad/horizon-eda/Makefile                          |  3 +--
 cad/horizon-eda/distinfo                          |  6 +++---
 cad/horizon-eda/files/patch-src_util_fs__util.cpp | 20 --------------------
 3 files changed, 4 insertions(+), 25 deletions(-)

diff --git a/cad/horizon-eda/Makefile b/cad/horizon-eda/Makefile
index 1d1e50ba1895..4364e2b0c168 100644
--- a/cad/horizon-eda/Makefile
+++ b/cad/horizon-eda/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	horizon-eda
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.1
-PORTREVISION=	2
+DISTVERSION=	2.4.0
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/cad/horizon-eda/distinfo b/cad/horizon-eda/distinfo
index dc875d73e482..8d1ae441e32f 100644
--- a/cad/horizon-eda/distinfo
+++ b/cad/horizon-eda/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653934378
-SHA256 (horizon-eda-horizon-v2.3.1_GH0.tar.gz) = 478632ce6c758884f16ae1f25c1f94358988051697124c4473f8e7d914e7320c
-SIZE (horizon-eda-horizon-v2.3.1_GH0.tar.gz) = 3288208
+TIMESTAMP = 1665938350
+SHA256 (horizon-eda-horizon-v2.4.0_GH0.tar.gz) = e1165ec11dc222fd5c41a1da752b2aae44eca80f6f785dd4069dcdd225ae1d53
+SIZE (horizon-eda-horizon-v2.4.0_GH0.tar.gz) = 3938745
diff --git a/cad/horizon-eda/files/patch-src_util_fs__util.cpp b/cad/horizon-eda/files/patch-src_util_fs__util.cpp
deleted file mode 100644
index 6fa4f04f2d20..000000000000
--- a/cad/horizon-eda/files/patch-src_util_fs__util.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-- workaround for https://github.com/llvm/llvm-project/issues/55683
-
---- src/util/fs_util.cpp.orig	2022-05-29 18:00:44 UTC
-+++ src/util/fs_util.cpp
-@@ -8,10 +8,10 @@ std::optional<std::string> get_relative_filename(const
- {
-     const auto p = fs::u8path(path);
-     const auto b = fs::u8path(base);
--    const auto x = std::search(p.begin(), p.end(), b.begin(), b.end());
--    if (x == p.begin()) // path is in base path
--        return fs::relative(p, b).u8string();
--    else
--        return {};
-+    for (auto ip = p.begin(), ib = b.begin(); ib != b.end(); ip++, ib++) {
-+        if (ip == p.end() || *ip != *ib)
-+            return {};
-+    }
-+    return fs::relative(p, b).u8string();
- }
- } // namespace horizon