mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
a21c69ba28
src/mp4.cpp:679:20: error: cannot initialize return object of type 'mp4v2_ismacrypParams *' (aka 'mp4v2_ismacryp_session_params *') with an rvalue of type 'MP4TrackId' (aka 'unsigned int') return MP4_INVALID_TRACK_ID; ^~~~~~~~~~~~~~~~~~~~ ./include/mp4v2/general.h:45:33: note: expanded from macro 'MP4_INVALID_TRACK_ID' #define MP4_INVALID_TRACK_ID ((MP4TrackId)0) /**< Constant: invalid MP4TrackId. */ ^~~~~~~~~~~~~~~ src/rtphint.cpp:348:32: error: comparison between pointer and integer ('const char *' and 'int') if (pSlash != '\0') { ~~~~~~ ^ ~~~~ util/mp4chaps.cpp:712:14: error: case value evaluates to 4026531855, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case LC_CHP_REMOVE: ^ util/mp4file.cpp:206:14: error: case value evaluates to 4026531848, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case LC_DUMP: ^ util/mp4art.cpp:413:14: error: case value evaluates to 4026531852, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case LC_EXTRACT: ^ libutil/Utility.cpp:544:18: error: case value evaluates to 4026531842, which cannot be narrowed to type 'int' [-Wc++11-narrowing] case LC_VERBOSE: ^ Reported by: antoine (via bug 224669)
33 lines
782 B
Makefile
33 lines
782 B
Makefile
# Created by: Michael Johnson <ahze@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mp4v2
|
|
PORTVERSION= 1.9.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= LOCAL/riggs/mp4v2
|
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
|
COMMENT= Library and tools to read, create, and modify mp4 files
|
|
|
|
LICENSE= MPL11
|
|
|
|
CONFLICTS= mpeg4ip-libmp4v2-[0-9.]*
|
|
USES= compiler:features gmake libtool tar:bzip2
|
|
MAKEFILE= GNUmakefile
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ENV= "FOUND_HELP2MAN=no"
|
|
CXXFLAGS+= ${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/}
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html
|
|
.if ${COMPILER_TYPE} == gcc
|
|
CONFIGURE_ARGS= --disable-gch
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|