buildroot/package/liburing
Fabrice Fontaine 1eeea445f8 package/liburing: add -D_GNU_SOURCE in liburing.pc.in
Add -D_GNU_SOURCE to CFLAGS as liburing.h doesn't define it anymore
since bump of liburing to version 2.6 in commit
da45ae3304 and
c427ed678f
resulting in the following musl build failure since the addition of
libdex in commit 70319b47f6:

In file included from ../src/dex-uring-aio-backend.c:29:
/home/autobuild/autobuild/instance-7/output-1/host/mips-buildroot-linux-musl/sysroot/usr/include/liburing.h:224:39: error: unknown type name 'cpu_set_t'
  224 |                                 const cpu_set_t *mask);
      |                                       ^~~~~~~~~
/home/autobuild/autobuild/instance-7/output-1/host/mips-buildroot-linux-musl/sysroot/usr/include/liburing.h:1212:48: error: unknown type name 'loff_t'; did you mean 'off_t'?
 1212 |                                        int fd, loff_t len)
      |                                                ^~~~~~
      |                                                off_t

Fixes: 70319b47f6
 - http://autobuild.buildroot.org/results/276646bf224d5927cf0311cf978571a7f8774116

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-29 23:14:44 +02:00
..
0001-liburing.pc.in-add-D_GNU_SOuRCE-to-Cflags.patch package/liburing: add -D_GNU_SOURCE in liburing.pc.in 2024-07-29 23:14:44 +02:00
Config.in
liburing.hash
liburing.mk