diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2018-08-11 14:58:27 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-11 20:16:52 -0700 |
commit | 72220d60882fc0066e09849e7d58cd3838fba04a (patch) | |
tree | efe85a93acea3c5de138fd9dad211faeb352e338 /meta-oe | |
parent | 661df548dddf723cdf055a4f76f4aa2c93f3774c (diff) | |
download | meta-openembedded-72220d60882fc0066e09849e7d58cd3838fba04a.tar.gz |
android-tools: fix build with glibc-2.28
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/android-tools/android-tools/0001-usb_linux.c-fix-build-with-glibc-2.28.patch | 24 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/0001-usb_linux.c-fix-build-with-glibc-2.28.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0001-usb_linux.c-fix-build-with-glibc-2.28.patch new file mode 100644 index 0000000000..15401d1524 --- /dev/null +++ b/meta-oe/recipes-devtools/android-tools/android-tools/0001-usb_linux.c-fix-build-with-glibc-2.28.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From cb80906bd3869bba370a088e4634ae4a8093fdd8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 11 Aug 2018 13:23:37 +0000 | ||
4 | Subject: [PATCH] usb_linux.c: fix build with glibc-2.28 | ||
5 | |||
6 | * include sysmacros for major, minor | ||
7 | |||
8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
9 | --- | ||
10 | adb/usb_linux.c | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/adb/usb_linux.c b/adb/usb_linux.c | ||
14 | index f16bdd036..c8a773244 100644 | ||
15 | --- a/adb/usb_linux.c | ||
16 | +++ b/adb/usb_linux.c | ||
17 | @@ -22,6 +22,7 @@ | ||
18 | #include <sys/ioctl.h> | ||
19 | #include <sys/types.h> | ||
20 | #include <sys/time.h> | ||
21 | +#include <sys/sysmacros.h> | ||
22 | #include <dirent.h> | ||
23 | #include <fcntl.h> | ||
24 | #include <errno.h> | ||
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb index 780ecaa11a..a85e8b6652 100644 --- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb +++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb | |||
@@ -47,6 +47,7 @@ SRC_URI = " \ | |||
47 | file://ext4_utils.mk;subdir=${BPN} \ | 47 | file://ext4_utils.mk;subdir=${BPN} \ |
48 | file://fastboot.mk;subdir=${BPN} \ | 48 | file://fastboot.mk;subdir=${BPN} \ |
49 | file://mkbootimg.mk;subdir=${BPN} \ | 49 | file://mkbootimg.mk;subdir=${BPN} \ |
50 | file://0001-usb_linux.c-fix-build-with-glibc-2.28.patch;patchdir=system/core \ | ||
50 | " | 51 | " |
51 | 52 | ||
52 | S = "${WORKDIR}/git" | 53 | S = "${WORKDIR}/git" |