packages/libs/libcap/patches/100-portability.patch
Rosen Penev caf6d5ed2a
libcap: Update to 2.29
Fixed PKG_LICENSE.

Added PKG_BUILD_PARALLEL for faster compilation.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-08 16:08:35 -08:00

19 lines
417 B
Diff

--- a/libcap/_makenames.c
+++ b/libcap/_makenames.c
@@ -8,7 +8,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/capability.h>
/*
* #include 'sed' generated array
@@ -23,7 +22,7 @@ struct {
};
/* this should be more than big enough (factor of three at least) */
-const char *pointers[8*sizeof(struct __user_cap_data_struct)];
+const char *pointers[8*12];
int main(void)
{