Hi,
this just adds --std=gnu++17 to fix the build against newer poppler
versions.
To be committed together with the poppler update.
Ciao,
Kili
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/pdf2djvu/Makefile,v
retrieving revision 1.46
diff -u -p -r1.46 Makefile
--- Makefile 5 Dec 2022 09:10:12 -0000 1.46
+++ Makefile 16 Jul 2023 21:55:41 -0000
@@ -2,6 +2,7 @@ COMMENT = creates DjVu files from PDF f
V = 0.9.19
DISTNAME = pdf2djvu-${V}
+REVISION = 0
CATEGORIES = graphics
@@ -43,6 +44,7 @@ CONFIGURE_ARGS += --disable-openmp \
--disable-rpath \
--without-pstreams
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
- CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+ CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ CXXFLAGS="-std=gnu++17"
.include <bsd.port.mk>