ff_audio_decoder.c:593:22: error: implicit declaration of function 'avcodec_alloc_frame' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
this->av_frame = avcodec_alloc_frame ();
^
ff_audio_decoder.c:1074:5: error: implicit declaration of function 'avcodec_free_frame' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
avcodec_free_frame (&this->av_frame);
^
PR: 208817
Reported by: antoine (via exp-run)
Submitted by: Ben Woods <woodsb02@gmail.com>
Obtained from: Arch Linux
MFH: 2016Q2 (just-in-case "fix it" blanket)
- USES=gmake libtool pathfix tar:bzip2.
- INSTALL_TARGET=install-strip.
- Use options.
- Staging.
- Simplify post-patch commands.
- This update changes the library version but this allows removing
libdvdcss related patches from dependent ports.
multimedia/libxine: [1]
- Add USES=libtool:keepla and remove libtool related patches and post-patch
commands.
- Move bsd.port.pre.mk include down and remove WANT_GNOME.
- Remove USE_XORG=sm. libxine doesn't link to it.
- Remove CONFIGURE_ENV. Not needed.
- Clean up CPPFLAGS and CFLAGS.
- Rename the GTK2 option PIXBUF and depend on gdkpixbuf2 instead of gtk20.
- Remove PATCH_DIST_ARGS. Leftover from when there were external patches.
- Remove -fno-force-addr clang hack. Modern gcc does not support the flag
either and it was only added in case the user has -fforce-addr in CFLAGS
in make.conf.
- Fix IMAGEMAGICK option.
- Merge pre-configure with post-patch and remove most commands because they
don't do anything.
multimedia/libdvdread:
- USES=libtool:oldver pathfix.
- INSTALL_TARGET=install-strip.
multimedia/handbrake:
- Add build dependency on devel/libtool because configure script expects
to find existing libtool program.
- Turn dependency on libdvdcss into library dependency such that headers
are available during build.
- Add USES=libtool to patch libtool scripts in contrib code.
- Remove run-autotools-aclocal target and replace USE_AUTOTOOLS=aclocal
with "autoconf:env automake:env" to indicate only build dependencies
are needed and the tools don't have to be run.
Approved by: nox [1]
multimedia/gstreamer-plugins-good, removing #ifdef __clang__.
- No PORTREVISION bump as there should be no functional change.
Submitted by: dim
Obtained from: multimedia/gstreamer-plugins-good/files/patch-gst_goom_mmx.h
- Fix register allocation problems with clang on i386:
* Remove the q modifier from inline asm such that clang no longer
uses a 64 bit register. Instead cast the operand to register_t
which is 32 bit on i386 and 64 bit on amd64.
* Add -fomit-frame-pointer to CFLAGS to free up an extra register.
- Fix the issue with WITH_DEBUG by adding --disable-real-codecs
which apparently never really worked anyway.
- Patch configure so it no longer adds -mtune=i386 to CFLAGS.
- Bump PORTREVISION.
PR: ports/181786
Submitted by: tijl
to fix DVB support. (which still is broken for tuners using
hardware pid filtering, like when running webcamd with
"-m dvb-usb-init.force_pid_filter_usage=1".)
- Add patches to fix build of ports depending on libxine to:
audio/amarok,
graphics/gimageview [1], graphics/pornview [1],
graphics/osg [2], graphics/osg-devel [2],
multimedia/emotion,
x11/kdelibs4 [3],
multimedia/kmplayer,
multimedia/konverter,
multimedia/qdvdauthor [4],
multimedia/vdr-plugin-xineliboutput,
multimedia/xfce4-media [5],
multimedia/xine_artsplugin,
multimedia/k9copy-kde4 [6]
- Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7]
- Mark multimedia/phonon-xine BROKEN which refuses to build with
libxine 1.2.x and is deprecated upstream. [3]
- Disable XINE knob for x11/eaglemode for which I don't have a fix. [2]
- Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix,
but it only shows a green window at least with mp4 or ts files.
(avi files and audio still work.) It seems the kaffeine developers
have found this too and are now switching away from libxine in
their git repo - so I guess we'll have a broken kaffeine at least
until they release a new version.
- Bump PORTREVISIONs for ports depending on libxine by default.
- Add optional libbluray support to multimedia/libxine and
multimedia/vdr-plugin-xineliboutput.
PR: ports/165057 [6]
Submitted by: nox (self) [6], rakuco [3]
Approved by: dinoex (maintainer, via irc) [1],
amdmi3 (maintainer, via private email) [2],
kde@ (rakuco, via irc) [3],
Phil Oleson <oz@nixil.net> (maintainer, via private email) [4],
xfce@ (rene, via irc) [5],
Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6],
lme (maintainer, via irc) [7]
Thanx to: Darren Salt (upstream libxine maintainer) for a few
hints on irc to help with patching ports depending
on deprecated libxine features
- Use DATADIR macro. [1]
- Make WITHOUT knobs actually disable features with configure. [1]
- Fix build error for the case when libtool15 is not installed. [2]
- Correct pkg-plist. [2]
- Modify files/patch-configure to disable libtheora support properly for WITHOUT_THEORA knob.
PR: ports/95639 [1], ports/96140 [2]
Submitted by: Alexander Botero-Lowry <alex@foxybanana.com> [1], oliver [2]