graphics/synfig: fixes build and removes BROKEN

PR:		286104
Reported by:	portmaster@bsdforge.com (maintainer)
This commit is contained in:
Chris Hutchinson 2025-04-16 17:07:24 +02:00 committed by Fernando Apesteguía
parent 690865317c
commit 3e20402605
2 changed files with 14 additions and 5 deletions

View file

@ -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

View file

@ -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