faketime: add patch to disable -Werror
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 17 May 2018 21:51:53 +0000 (23:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 19 May 2018 11:47:57 +0000 (13:47 +0200)
commit968f2fbd7d99b7b6b875709acf13501be21aa26e
tree090e2847a07fde32ab382cce8bd8976978ec96fe
parent051e2f2d0b3a74ede4cc1865513ebe4c59e7d2ed
faketime: add patch to disable -Werror

faketime currently doesn't build on host machines that use gcc 8.x due
to stricter checks done by gcc, and the fact that it is built with
-Werror.

As a simple stop-gap measure, this commit patches the faketime
Makefile to not use -Werror anymore.

The actual fixes for the gcc 8.x issues have been submitted upstream
at https://github.com/wolfcw/libfaketime/pull/161, but disabling
-Werror is a much smaller fix.

Also, it is worth mentioning that removing -Werror makes the existing
patch 0001-Disable-the-non-null-compare-warning-error.patch (which was
just disabling one specific warning). We nonetheless keep this patch
around as it is a backport from upstream.

Fixes:

  http://autobuild.buildroot.net/results/bd223dfa1c4baa68e427d4941bd2e9917e22da84/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/faketime/0002-src-Makefile-disable-Werror.patch [new file with mode: 0644]