diff options
Diffstat (limited to 'recipes-mac/AppArmor/files/0001-aa_status-Fix-build-issue-with-musl.patch')
| -rw-r--r-- | recipes-mac/AppArmor/files/0001-aa_status-Fix-build-issue-with-musl.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-mac/AppArmor/files/0001-aa_status-Fix-build-issue-with-musl.patch b/recipes-mac/AppArmor/files/0001-aa_status-Fix-build-issue-with-musl.patch deleted file mode 100644 index 239562a..0000000 --- a/recipes-mac/AppArmor/files/0001-aa_status-Fix-build-issue-with-musl.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 2bf15cc68f31c9f41962bb60a669ab2b453a039b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Armin Kuster <akuster808@gmail.com> | ||
| 3 | Date: Wed, 7 Oct 2020 08:27:11 -0700 | ||
| 4 | Subject: [PATCH] aa_status: Fix build issue with musl | ||
| 5 | |||
| 6 | add limits.h | ||
| 7 | |||
| 8 | aa_status.c:269:22: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? | ||
| 9 | | 269 | real_exe = calloc(PATH_MAX + 1, sizeof(char)); | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
| 13 | --- | ||
| 14 | binutils/aa_status.c | 1 + | ||
| 15 | 1 file changed, 1 insertion(+) | ||
| 16 | |||
| 17 | diff --git a/binutils/aa_status.c b/binutils/aa_status.c | ||
| 18 | index 78b03409..41f1954e 100644 | ||
| 19 | --- a/binutils/aa_status.c | ||
| 20 | +++ b/binutils/aa_status.c | ||
| 21 | @@ -10,6 +10,7 @@ | ||
| 22 | #include <stdio.h> | ||
| 23 | #include <stdlib.h> | ||
| 24 | #include <string.h> | ||
| 25 | +#include <limits.h> | ||
| 26 | #include <sys/types.h> | ||
| 27 | #include <sys/stat.h> | ||
| 28 | #include <sys/wait.h> | ||
| 29 | -- | ||
| 30 | 2.17.1 | ||
| 31 | |||
