git: 93e30a778838 - main - graphics/openfx-arena: Fix build against poppler 24.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Feb 2025 16:08:07 UTC
The branch main has been updated by lbartoletti:
URL: https://cgit.FreeBSD.org/ports/commit/?id=93e30a77883835bd1938534b7877dea88ca025f7
commit 93e30a77883835bd1938534b7877dea88ca025f7
Author: Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2025-01-25 15:22:07 +0000
Commit: Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2025-02-12 16:07:59 +0000
graphics/openfx-arena: Fix build against poppler 24.12
---
graphics/openfx-arena/Makefile | 2 +-
graphics/openfx-arena/files/patch-Makefile.master | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/graphics/openfx-arena/Makefile b/graphics/openfx-arena/Makefile
index 3c090de9a295..fabce47c7c16 100644
--- a/graphics/openfx-arena/Makefile
+++ b/graphics/openfx-arena/Makefile
@@ -35,7 +35,7 @@ LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \
libpoppler.so:graphics/poppler \
libraqm.so:print/libraqm
-USES= gl gmake gnome iconv magick:6 ssl xorg
+USES= compiler:c++20-lang gl gmake gnome iconv magick:6 ssl xorg
USE_GITHUB= yes
GH_ACCOUNT= NatronGitHub
GH_TUPLE= NatronGitHub:openfx-supportext:79d8c22:openfx_supportext/SupportExt \
diff --git a/graphics/openfx-arena/files/patch-Makefile.master b/graphics/openfx-arena/files/patch-Makefile.master
new file mode 100644
index 000000000000..ce10bc6956cf
--- /dev/null
+++ b/graphics/openfx-arena/files/patch-Makefile.master
@@ -0,0 +1,20 @@
+--- Makefile.master.orig 2025-01-25 14:35:14 UTC
++++ Makefile.master
+@@ -2,7 +2,7 @@ include $(PATHTOROOT)/Plugins/Makefile.master
+
+ include $(PATHTOROOT)/Plugins/Makefile.master
+
+-CXXFLAGS += -DOFX_EXTENSIONS_VEGAS -DOFX_EXTENSIONS_NUKE -DOFX_EXTENSIONS_TUTTLE -DOFX_EXTENSIONS_NATRON -DOFX_SUPPORTS_OPENGLRENDER -I$(SRCDIR)/SupportExt -std=c++11
++CXXFLAGS += -DOFX_EXTENSIONS_VEGAS -DOFX_EXTENSIONS_NUKE -DOFX_EXTENSIONS_TUTTLE -DOFX_EXTENSIONS_NATRON -DOFX_SUPPORTS_OPENGLRENDER -I$(SRCDIR)/SupportExt -std=c++20
+ VPATH += $(SRCDIR)/SupportExt
+
+ # ImageMagick
+@@ -87,7 +87,7 @@ ifeq ($(FREEBSD),1)
+
+ # FreeBSD
+ ifeq ($(FREEBSD),1)
+- CXXFLAGS += -I/usr/local/include -std=c++11
++ CXXFLAGS += -I/usr/local/include
+ LDFLAGS += -L/usr/local/lib
+ endif
+