kumquat-buildroot/package/libselinux
Fabrice Fontaine 01f2a530e2 package/libselinux: fix uclibc build
Fix the following uclibc build failure raised since bump to version 3.6
in commit 5f7275787a and
cb8289c2b2:

selinux_internal.c: In function 'reallocarray':
selinux_internal.c:25:29: error: 'SIZE_MAX' undeclared (first use in this function)
   25 |         if (size && nmemb > SIZE_MAX / size) {
      |                             ^~~~~~~~
selinux_internal.c:6:1: note: 'SIZE_MAX' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
    5 | #include <string.h>
  +++ |+#include <stdint.h>
    6 |
selinux_internal.c:25:29: note: each undeclared identifier is reported only once for each function it appears in
   25 |         if (size && nmemb > SIZE_MAX / size) {
      |                             ^~~~~~~~

Fixes: 5f7275787a
 - http://autobuild.buildroot.org/results/7e627744beaa4f7fdfd488dfacbaafc074a999f7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-05-11 08:57:31 +02:00
..
0001-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch
0002-libselinux-src-se_linux_internal.c-include-stdint.h.patch
Config.in
libselinux.hash
libselinux.mk