diff options
Diffstat (limited to 'recipes-devtools/pi-blaster/files/0001-pi-blaster-Include-sys-sysmacros.h-for-makedev.patch')
-rw-r--r-- | recipes-devtools/pi-blaster/files/0001-pi-blaster-Include-sys-sysmacros.h-for-makedev.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/recipes-devtools/pi-blaster/files/0001-pi-blaster-Include-sys-sysmacros.h-for-makedev.patch b/recipes-devtools/pi-blaster/files/0001-pi-blaster-Include-sys-sysmacros.h-for-makedev.patch deleted file mode 100644 index b4bc4b2..0000000 --- a/recipes-devtools/pi-blaster/files/0001-pi-blaster-Include-sys-sysmacros.h-for-makedev.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 6a6b705ff5cba960c54bdb4d4bcdaa3b00a854a2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 11 Aug 2018 10:24:24 -0700 | ||
4 | Subject: [PATCH] pi-blaster: Include sys/sysmacros.h for makedev() | ||
5 | |||
6 | In glibc 2.28+ this header is not included indirectly anymore | ||
7 | |||
8 | fixes | ||
9 | |||
10 | ld: pi-blaster.o: in function `mbox_open': | ||
11 | pi-blaster.c:(.text+0x28): undefined reference to `makedev' | ||
12 | collect2: error: ld returned 1 exit status | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/sarfata/pi-blaster/pull/100] | ||
15 | |||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | pi-blaster.c | 1 + | ||
19 | 1 file changed, 1 insertion(+) | ||
20 | |||
21 | diff --git a/pi-blaster.c b/pi-blaster.c | ||
22 | index 6cfd010..fc4e686 100644 | ||
23 | --- a/pi-blaster.c | ||
24 | +++ b/pi-blaster.c | ||
25 | @@ -41,6 +41,7 @@ static char VERSION[] = "SNAPSHOT"; | ||
26 | #include <sys/time.h> | ||
27 | #include <sys/types.h> | ||
28 | #include <sys/stat.h> | ||
29 | +#include <sys/sysmacros.h> | ||
30 | #include <fcntl.h> | ||
31 | #include <sys/mman.h> | ||
32 | #include "mailbox.h" | ||