package/nfs-utils: fix build failure with musl libc
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 17 Apr 2020 15:33:14 +0000 (17:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 20 Apr 2020 05:52:33 +0000 (07:52 +0200)
commitfd4236a796de953e69b3ac120ef0c821a14e1ef0
tree12653d37b02318bfca3919ad492a826bf335f400
parent30f1decec2ca190deea072f4d490a8de830ac9a3
package/nfs-utils: fix build failure with musl libc

Musl libc defines time_t as 64-bit causing printf() to fail since it
tries to pass time_t as a 32-bit("%ld"). So let's add upstream patch[1]
to fix this issue.

[1]:
http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=cb75ec49c0a92f55b2241eb1cd95a3fdf63f0dac

Fixes:
http://autobuild.buildroot.net/results/35ce3dbd63a658953008ce7e7b99e0580d3f2c4b

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nfs-utils/0001-nfs-utils-print-time-in-64-bit.patch [new file with mode: 0644]