git: 3e20402605ef - main - graphics/synfig: fixes build and removes BROKEN

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 18 Apr 2025 10:45:23 UTC
The branch main has been updated by fernape:

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

commit 3e20402605ef1fcf2fa03eb9239f35ebea231d03
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2025-04-16 15:07:24 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2025-04-18 10:45:11 +0000

    graphics/synfig: fixes build and removes BROKEN
    
    PR:             286104
    Reported by:    portmaster@bsdforge.com (maintainer)
---
 graphics/synfig/Makefile                                      |  8 +++-----
 .../patch-src_synfig_rendering_software_function__array.h     | 11 +++++++++++
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/graphics/synfig/Makefile b/graphics/synfig/Makefile
index b2c7d62d25d2..886340f63e21 100644
--- a/graphics/synfig/Makefile
+++ b/graphics/synfig/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	synfig
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.4.5
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics devel multimedia
 
 MAINTAINER=	portmaster@BSDforge.com
@@ -10,8 +10,6 @@ WWW=		https://www.synfig.org/
 
 LICENSE=	GPLv2+
 
-BROKEN=		fails to build with boost-1.86+
-
 BUILD_DEPENDS=	etl>=1.4.5:devel/etl \
 		gsed:textproc/gsed
 LIB_DEPENDS=	libImath.so:math/Imath \
@@ -28,9 +26,9 @@ LIB_DEPENDS=	libImath.so:math/Imath \
 		libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
 
-USES=		autoreconf compiler:c++11-lang gmake gnome iconv jpeg \
+USES=		autoreconf compiler:c++14-lang gmake gnome iconv jpeg \
 		libtool localbase magick:7 mlt:7 pathfix pkgconfig
-USE_CXXSTD=	c++11
+USE_CXXSTD=	c++14
 USE_GITHUB=	yes
 USE_GNOME=	cairo glibmm intltool libxml++26 pango
 USE_LDCONFIG=	yes
diff --git a/graphics/synfig/files/patch-src_synfig_rendering_software_function__array.h b/graphics/synfig/files/patch-src_synfig_rendering_software_function__array.h
new file mode 100644
index 000000000000..26279f8384dd
--- /dev/null
+++ b/graphics/synfig/files/patch-src_synfig_rendering_software_function__array.h
@@ -0,0 +1,11 @@
+--- src/synfig/rendering/software/function/array.h.orig	2025-04-14 18:37:34 UTC
++++ src/synfig/rendering/software/function/array.h
+@@ -426,7 +426,7 @@
+ 	};
+ 
+ 	void fill(const Type &x) const
+-		{ for(Iterator i(*this); i; ++i) i.get_array().template fill(x); }
++		{ for(Iterator i(*this); i; ++i) i.get_array().template fill<Type>(x); }
+ 
+ 	template<typename TT>
+ 	void assign(const Array<TT, Rank> &x) const