openzwave: fix gcc7 compile and remove bad patch 5901/head
authorMarko Ratkaj <marko.ratkaj@sartura.hr>
Wed, 11 Apr 2018 09:04:42 +0000 (11:04 +0200)
committerMarko Ratkaj <marko.ratkaj@sartura.hr>
Wed, 11 Apr 2018 12:30:49 +0000 (14:30 +0200)
commit1a4d9b7aba8da89bc7db27e0b024c80b541a1be0
tree742178a6fc14358fecd15391fc6143bf603622af
parent30fa2156dafd85c1b197d2d3707473634d0cdba0
openzwave: fix gcc7 compile and remove bad patch

Patch 903-no-examples.patch removes MinOZW binary. This is wrong since
install section of openzwave is still using it. We can either remove the
patch or remove install section for openzwave. It seems people are using
this binary so we remove the patch.

After removing the patch the following issue appears with gcc7:
cc1plus: error: -Wformat-security ignored without -Wformat

This is resolved by adding the following to Makefile
TARGET_CPPFLAGS+=-Wno-format -Wno-format-security

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
utils/openzwave/Makefile
utils/openzwave/patches/903-no-examples.patch [deleted file]