diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2015-10-22 22:09:39 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-26 21:37:37 +0100 |
commit | 9dbf3c5b024bbdef1aa3ecbe41f646703ed372dc (patch) | |
tree | 798ffb684976d9470b6d20e4b1d0078408bd35c1 /meta-multimedia/recipes-multimedia/vlc/vlc | |
parent | ba8b86175ee3d11fec13d521f77da137c91be150 (diff) | |
download | meta-openembedded-contrib-9dbf3c5b024bbdef1aa3ecbe41f646703ed372dc.tar.gz |
vlc: fix freerdp module build
Since we are building "freerdp" again, build can now fail
due to reliance on removed APIs. For instance :
http://errors.yoctoproject.org/Errors/Details/20603/
Fix this by conditionally building the module, and if we
build it, patching the code until the fix gets merged
upstream.
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/vlc/vlc')
-rw-r--r-- | meta-multimedia/recipes-multimedia/vlc/vlc/0009-fix-rdp-module.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/0009-fix-rdp-module.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/0009-fix-rdp-module.patch new file mode 100644 index 0000000000..8e554a9805 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/vlc/vlc/0009-fix-rdp-module.patch @@ -0,0 +1,19 @@ +--- a/modules/access/rdp.c 2015-10-22 19:42:24.447445250 +0000 ++++ b/modules/access/rdp.c 2015-10-22 19:42:46.570445248 +0000 +@@ -428,8 +428,6 @@ + if ( p_sys->f_fps <= 0 ) p_sys->f_fps = 1.0; + p_sys->i_frame_interval = 1000000 / p_sys->f_fps; + +- freerdp_channels_global_init(); +- + p_sys->p_instance = freerdp_new(); + if ( !p_sys->p_instance ) + { +@@ -504,7 +502,6 @@ + + freerdp_disconnect( p_sys->p_instance ); + freerdp_free( p_sys->p_instance ); +- freerdp_channels_global_uninit(); + + if ( p_sys->p_block ) + block_Release( p_sys->p_block ); |