package/faketime: fix build with gcc >= 6
authorRomain Naour <romain.naour@gmail.com>
Sun, 14 May 2017 21:26:43 +0000 (23:26 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 15 May 2017 18:23:49 +0000 (20:23 +0200)
commit2a1401fa923e65de2efd78bbb4e66f73291a3fe2
treed84df93c08943750a41469ca9ef06fa6113a2d60
parent86d902035dddcf4d63d99e26c3a02c3fb637574c
package/faketime: fix build with gcc >= 6

Upstream added -Wno-nonnull-compare to disable this error [1].

Fixes:
libfaketime.c:513:7: error : nonnull argument « buf » compared to NULL [-Werror=nonnull-compare]
    if (buf != NULL)
       ^
[1] https://github.com/wolfcw/libfaketime/commit/47e958b753fc15098a2b7d0e9ef26b83ee255874

[Peter: add upstream git commit id to patch]
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/faketime/0001-Disable-the-non-null-compare-warning-error.patch [new file with mode: 0644]