[Buildroot] [PATCH] zbar: add a patch to wrap logical not operations into parenthesis
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jan 26 20:32:43 UTC 2016
Dear Vicente Olivert Riera,
On Mon, 25 Jan 2016 12:17:50 +0000, Vicente Olivert Riera wrote:
> This fixes build failures like this one:
>
> zbar/decoder/ean.c: In function 'ean_part_end4':
> zbar/decoder/ean.c:297:13: error: logical not is only applied to the
> left hand side of comparison [-Werror=logical-not-parentheses]
> if(!par == fwd) {
>
> This patch has been sent upstream as a pull request:
>
> https://github.com/ZBar/ZBar/pull/9
>
> Fixes:
>
> http://autobuild.buildroot.net/results/299/299dc845af082167085d366b38daf1dfd95d7047/
>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
> ---
> ...p-logical-not-operations-into-parentheses.patch | 80 ++++++++++++++++++++++
> 1 file changed, 80 insertions(+)
> create mode 100644 package/zbar/0004-Wrap-logical-not-operations-into-parentheses.patch
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list