kumquat-buildroot/package/diffutils
Fabrice Fontaine ef98158a2d package/diffutils: fix build with uclibc < 1.0.35
Fix the following build failure with uclibc < 1.0.35 raised since bump
to version 3.8 in commit 1f89c80417:

In file included from ./sys/random.h:40,
                 from getrandom.c:22:
/home/giuliobenetti/autobuild/run/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t'
   27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
      |                                   ^~~~~~
/home/giuliobenetti/autobuild/run/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
    7 | #include <features.h>
  +++ |+#include <stddef.h>
    8 |

Fixes:
 - http://autobuild.buildroot.org/results/adecc3e5def140348dfff30961fe6514c9a8e7b5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-12-02 18:40:56 +01:00
..
0001-m4-stack-direction.m4-fix-build-on-microblazeel.patch
0002-sigsegv-fix-build-on-or1k.patch package/diffutils: fix build on or1k 2021-11-13 18:03:40 +01:00
0003-sys_random-port-better-to-uClibc-1-0-35.patch package/diffutils: fix build with uclibc < 1.0.35 2021-12-02 18:40:56 +01:00
Config.in
diffutils.hash
diffutils.mk