--- /dev/null
+Description: Fix FTBFS for GCC-5
+ With -Werror=logical-not-parentheses enabled, a line such as the
+ following causes the build to fail:
+ if(!omx_video_scheduler_component_Private->eState==OMX_TIME_ClockStateRunning)
+Author: Linn Crosetto <linn@hp.com>
+Bug-Debian: https://bugs.debian.org/777961
+Forwarded: no
+
+--- libomxil-bellagio-0.9.3.orig/src/components/videoscheduler/omx_video_scheduler_component.c
++++ libomxil-bellagio-0.9.3/src/components/videoscheduler/omx_video_scheduler_component.c
+@@ -313,7 +313,7 @@ OMX_BOOL omx_video_scheduler_component_C
+ }
+
+ /* do not send the data to sink and return back, if the clock is not running*/
+- if(!omx_video_scheduler_component_Private->eState==OMX_TIME_ClockStateRunning){
++ if(omx_video_scheduler_component_Private->eState!=OMX_TIME_ClockStateRunning){
+ pInputBuffer->nFilledLen=0;
+ SendFrame = OMX_FALSE;
+ return SendFrame;
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit xorg-2
-DESCRIPTION="An Open Source implementation of the OpenMAX Integration Layer"
+DESCRIPTION="Open Source implementation of the OpenMAX Integration Layer"
HOMEPAGE="http://omxil.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN:3:5}/${P}.tar.gz mirror://ubuntu/pool/universe/${PN:0:4}/${PN}/${PN}_${PV}-1ubuntu2.debian.tar.gz"
IUSE="+audioeffects +clocksrc debug doc +videoscheduler"
RDEPEND=""
-DEPEND="doc? ( app-doc/doxygen )
- ${RDEPEND}"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+"
src_prepare() {
PATCHES=(
"${FILESDIR}"/${P}-dynamicloader-linking.patch
"${FILESDIR}"/${P}-parallel-build.patch
"${FILESDIR}"/${P}-version.patch
+ "${FILESDIR}"/${P}-gcc5.patch
)
xorg-2_src_prepare
}