Index: head/multimedia/bino/Makefile =================================================================== --- head/multimedia/bino/Makefile (revision 469014) +++ head/multimedia/bino/Makefile (revision 469015) @@ -1,42 +1,40 @@ # Created by: Mykola Dzham # $FreeBSD$ PORTNAME= bino PORTVERSION= 1.6.5 PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://download.savannah.nongnu.org/releases/bino/ MAINTAINER= i@levsha.me COMMENT= 3D video player with multi-display support LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= fails to build with ffmpeg 4.0 - LIB_DEPENDS= libass.so:multimedia/libass \ libavformat.so:multimedia/ffmpeg \ libopenal.so:audio/openal-soft USES= autoreconf desktop-file-utils gmake iconv pkgconfig tar:xz USE_GL= gl glu glew GNU_CONFIGURE= yes INSTALLS_ICONS= yes USE_QT5= buildtools_build core gui opengl widgets USE_CXXSTD= c++11 # no port fow equalizer now, lirc detecting not working CONFIGURE_ARGS= --without-equalizer --without-lirc --docdir=${DOCSDIR} EXTRA_PATCHES= ${FILESDIR}/glew-fix-7098cd6a.patch INFO= bino OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE=nls .include Index: head/multimedia/bino/files/patch-src_media__object.cpp =================================================================== --- head/multimedia/bino/files/patch-src_media__object.cpp (nonexistent) +++ head/multimedia/bino/files/patch-src_media__object.cpp (revision 469015) @@ -0,0 +1,20 @@ +media_object.cpp:908:60: error: use of undeclared identifier 'CODEC_CAP_DR1' + if (lowres || (codec && (codec->capabilities & CODEC_CAP_DR1))) + ^ +media_object.cpp:909:37: error: use of undeclared identifier 'CODEC_FLAG_EMU_EDGE' + codec_ctx->flags |= CODEC_FLAG_EMU_EDGE; + ^ + +--- src/media_object.cpp.orig 2016-11-30 19:18:54 UTC ++++ src/media_object.cpp +@@ -905,8 +905,10 @@ void media_object::open(const std::string &url, const + #ifdef FF_API_LOWRES + lowres = codec_ctx->lowres; + #endif ++#ifdef FF_API_EMU_EDGE + if (lowres || (codec && (codec->capabilities & CODEC_CAP_DR1))) + codec_ctx->flags |= CODEC_FLAG_EMU_EDGE; ++#endif + } + // Find and open the codec. AV_CODEC_ID_TEXT is a special case: it has no decoder since it is unencoded raw data. + if (codec_ctx->codec_id != AV_CODEC_ID_TEXT && (!codec || (e = avcodec_open2(codec_ctx, codec, NULL)) < 0)) Property changes on: head/multimedia/bino/files/patch-src_media__object.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property