diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-11-21 20:30:11 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-12-13 20:07:09 +0100 |
commit | 52b52f59bc2c93af653299f9cd4ea5f0478db3cb (patch) | |
tree | ca3177c7a1d80d33cca5a5283b1a3951af741ca0 /media-libs/libomxil-bellagio/files | |
parent | app-text/crm114: Fix building with GCC 5 (diff) | |
download | gentoo-52b52f59bc2c93af653299f9cd4ea5f0478db3cb.tar.gz gentoo-52b52f59bc2c93af653299f9cd4ea5f0478db3cb.tar.bz2 gentoo-52b52f59bc2c93af653299f9cd4ea5f0478db3cb.zip |
media-libs/libomxil-bellagio: Fix build with GCC-5
Gentoo-bug: 597706
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2885
Diffstat (limited to 'media-libs/libomxil-bellagio/files')
-rw-r--r-- | media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-gcc5.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-gcc5.patch b/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-gcc5.patch new file mode 100644 index 000000000000..65ba90859980 --- /dev/null +++ b/media-libs/libomxil-bellagio/files/libomxil-bellagio-0.9.3-gcc5.patch @@ -0,0 +1,19 @@ +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; |