kumquat-buildroot/package/pipewire
Peter Seiderer b003cb5d16 package/pipewire: fix uclibc compile (getrandom related)
The getrandom() detection from meson.build failes with the following error
message:

  .../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)
        |                                   ^~~~~~
  .../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>'?

Fix it by adding stddef.h include to the meson getrandom() detection.

Fixes:

  - http://autobuild.buildroot.net/results/7e131bec458bf5c263ee1858d38ed5dc3cf704a6

  ../src/pipewire/impl-core.c:54:9: error: conflicting types for ‘getrandom’
     54 | ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) {
        |         ^~~~~~~~~
  In file included from ../src/pipewire/impl-core.c:34:
  .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:12: note: previous declaration of ‘getrandom’ was here
     27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
        |            ^~~~~~~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-18 14:34:49 +02:00
..
0002-meson-fix-getrandom-detection-for-uclibc.patch package/pipewire: fix uclibc compile (getrandom related) 2021-05-18 14:34:49 +02:00
Config.in package/pipewire: needs gcc >= 5 2021-05-05 21:39:46 +02:00
pipewire.hash package/pipewire: bump version to 0.3.27 2021-05-18 14:34:04 +02:00
pipewire.mk package/pipewire: bump version to 0.3.27 2021-05-18 14:34:04 +02:00