Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2016 15:23:17 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428354 - head/graphics/osg-devel
Message-ID:  <201612111523.uBBFNH66098649@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec 11 15:23:17 2016
New Revision: 428354
URL: https://svnweb.freebsd.org/changeset/ports/428354

Log:
  graphics/osg-devel: declare as BROKEN
  
  src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:230:20: error: no member named 'get_buffer' in 'AVCodecContext'; did you mean 'get_buffer2'?
          m_context->get_buffer = avcodec_default_get_buffer;
                     ^~~~~~~~~~
                     get_buffer2
  /usr/local/include/libavcodec/avcodec.h:2593:11: note: 'get_buffer2' declared here
      int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags);
            ^
  src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:230:33: error: use of undeclared identifier 'avcodec_default_get_buffer'; did you mean 'avcodec_default_get_buffer2'?
          m_context->get_buffer = avcodec_default_get_buffer;
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                  avcodec_default_get_buffer2
  /usr/local/include/libavcodec/avcodec.h:4651:5: note: 'avcodec_default_get_buffer2' declared here
  int avcodec_default_get_buffer2(AVCodecContext *s, AVFrame *frame, int flags);
      ^
  src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:231:20: error: no member named 'release_buffer' in 'AVCodecContext'
          m_context->release_buffer = avcodec_default_release_buffer;
          ~~~~~~~~~  ^
  src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:231:37: error: use of undeclared identifier 'avcodec_default_release_buffer'; did you mean 'avcodec_default_get_buffer2'?
          m_context->release_buffer = avcodec_default_release_buffer;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      avcodec_default_get_buffer2
  /usr/local/include/libavcodec/avcodec.h:4651:5: note: 'avcodec_default_get_buffer2' declared here
  int avcodec_default_get_buffer2(AVCodecContext *s, AVFrame *frame, int flags);
      ^
  
  PR:		209057
  Reported by:	antoine (via exp-run)

Modified:
  head/graphics/osg-devel/Makefile   (contents, props changed)

Modified: head/graphics/osg-devel/Makefile
==============================================================================
--- head/graphics/osg-devel/Makefile	Sun Dec 11 15:23:08 2016	(r428353)
+++ head/graphics/osg-devel/Makefile	Sun Dec 11 15:23:17 2016	(r428354)
@@ -64,6 +64,7 @@ GTA_LIB_DEPENDS=	libgta.so:devel/libgta
 VNC_LIB_DEPENDS=	libvncserver.so:net/libvncserver
 OPENEXR_LIB_DEPENDS=	libIlmImf.so:graphics/OpenEXR
 FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
+FFMPEG_BROKEN=		does not build with ffmpeg 3.x
 SVG_LIB_DEPENDS=	librsvg-2.so:graphics/librsvg2
 PDF_LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib
 SDL_USE=		SDL=sdl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612111523.uBBFNH66098649>