From 108016f9e7f2659e195abd11083ba733a5b505da Mon Sep 17 00:00:00 2001 From: "Belal, Awais" Date: Thu, 17 Mar 2016 13:48:01 +0500 Subject: mplayer2: fix building with gcc 5.x This patch works around a potential problem in the theora glue code where it assumes that the compiler will somehow find a function which is not exported explicitly through the libtheora library. Due to this problem the build fails with gcc-5.x compiler. The included patch essentially backports a commit which updates the glue code to use the Theora 1.0 API to eliminate this problem and PNBLACKLIST is cleared for mplayer2. Signed-off-by: Awais Belal Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb') diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb index 2f0369a19..9df4e745a 100644 --- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb +++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb @@ -21,6 +21,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "git://repo.or.cz/mplayer.git \ file://0001-configure-don-t-disable-ASS-support-when-explicitly-.patch \ + file://0001-demux_ogg-partially-port-libtheora-glue-code-to-Theo.patch \ " SRCREV = "2c378c71a4d9b1df382db9aa787b646628b4e3f9" @@ -153,6 +154,3 @@ do_install() { install ${S}/etc/codecs.conf ${D}/usr/etc/mplayer/ [ -e ${D}/usr/lib ] && rmdir ${D}/usr/lib } - -# | libmpdemux/demux_ogg.o:demux_ogg.c:function demux_ogg_read_packet: error: undefined reference to '_ilog' -PNBLACKLIST[mplayer2] ?= "BROKEN, fails to build with gcc-5" -- cgit v1.2.3-54-g00ecf