git: aa7b878f6c1f - main - cad/horizon-eda: Replace USE_CXXSTD with the patch provided by upstream

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 11 Jul 2023 00:26:23 UTC
The branch main has been updated by yuri:

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

commit aa7b878f6c1f4312bc2034ddc5c20fabdc2406c2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-11 00:25:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-11 00:26:20 +0000

    cad/horizon-eda: Replace USE_CXXSTD with the patch provided by upstream
---
 cad/horizon-eda/Makefile | 4 +++-
 cad/horizon-eda/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/cad/horizon-eda/Makefile b/cad/horizon-eda/Makefile
index 88683f1a30d7..42eb5c7b8893 100644
--- a/cad/horizon-eda/Makefile
+++ b/cad/horizon-eda/Makefile
@@ -3,6 +3,9 @@ DISTVERSIONPREFIX=	v
 DISTVERSION=	2.5.0
 CATEGORIES=	cad
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	1efad3028a1953af2cf62b518a54ffeb309977bc.patch:-p1 # https://github.com/horizon-eda/horizon/issues/727
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	EDA package for printed circuit board design
 WWW=		https://horizon-eda.org/
@@ -26,7 +29,6 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 
 USES=		desktop-file-utils gmake gnome libarchive localbase pkgconfig python:build sqlite # compiler:c++17-lang
 USE_GNOME=	atkmm gdkpixbuf2 gtkmm30 librsvg2
-USE_CXXSTD=	c++14 # fix build failure on 14 due to the use of deprecated std::binary_function C++ feature, see https://github.com/horizon-eda/horizon/issues/727
 
 USE_GITHUB=	yes
 GH_PROJECT=	horizon
diff --git a/cad/horizon-eda/distinfo b/cad/horizon-eda/distinfo
index 7e058c248788..ed510e2d1814 100644
--- a/cad/horizon-eda/distinfo
+++ b/cad/horizon-eda/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1687149735
+TIMESTAMP = 1689033060
 SHA256 (horizon-eda-horizon-v2.5.0_GH0.tar.gz) = c5cbe54b5f58289e52e4a8d0ed0594cd88ed0cfcef89e1c5ecdd5b82449449b4
 SIZE (horizon-eda-horizon-v2.5.0_GH0.tar.gz) = 3971079
+SHA256 (1efad3028a1953af2cf62b518a54ffeb309977bc.patch) = 38f2dad9a730e03df02bb64972b398cd5a1c92dd85a338c432d36bb78510e97f
+SIZE (1efad3028a1953af2cf62b518a54ffeb309977bc.patch) = 792