Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2016 15:24:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 209057] graphics/osg-devel: Update to 3.5.1 and fix build with ffmpeg 3.0.x
Message-ID:  <bug-209057-12827-mWShb8chp0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209057-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209057-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209057

--- Comment #9 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Sun Dec 11 15:23:17 UTC 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 nam=
ed
'get_buffer' in 'AVCodecContext'; did you mean 'get_buffer2'?
          m_context->get_buffer =3D avcodec_default_get_buffer;
                     ^~~~~~~~~~
                     get_buffer2
  /usr/local/include/libavcodec/avcodec.h:2593:11: note: 'get_buffer2' decl=
ared
here
      int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flag=
s);
            ^
  src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:230:33: error: use of undecl=
ared
identifier 'avcodec_default_get_buffer'; did you mean
'avcodec_default_get_buffer2'?
          m_context->get_buffer =3D 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 nam=
ed
'release_buffer' in 'AVCodecContext'
          m_context->release_buffer =3D avcodec_default_release_buffer;
          ~~~~~~~~~  ^
  src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:231:37: error: use of undecl=
ared
identifier 'avcodec_default_release_buffer'; did you mean
'avcodec_default_get_buffer2'?
          m_context->release_buffer =3D 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)

Changes:
  head/graphics/osg-devel/Makefile

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209057-12827-mWShb8chp0>