> src/cmeta.cpp:1386:16: error: converting to 'bool' from
> 'std::nullptr_t' requires direct-initialization [-fpermissive]
> return NULL;
Again, it breaks because it wants C++<11. Building libmp4v2
with C++03 for any compiler fixes the issue.
It has been successfully tested on macppc/ports-gcc-8.
Any comments?
Charlène.
Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/libmp4v2/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile 24 Oct 2018 14:28:08 -0000 1.18
+++ Makefile 20 Apr 2019 22:51:41 -0000
@@ -4,7 +4,7 @@ COMMENT = read and manipulate the MP4 c
DISTNAME = mp4v2-1.9.1
PKGNAME = lib${DISTNAME}
-REVISION = 5
+REVISION = 6
CATEGORIES = multimedia audio
SHARED_LIBS = mp4v2 4.0 #1.9
@@ -27,9 +27,6 @@ USE_GMAKE = Yes
MAKE_FILE = GNUmakefile
CONFIGURE_STYLE = gnu
-.include <bsd.port.arch.mk>
-.if ${PROPERTIES:Mclang}
CXXFLAGS += -std=c++03
-.endif
.include <bsd.port.mk>