diff options
Diffstat (limited to 'meta/recipes-extended/blktool/blktool/0004-fix-ftbfs-glibc-2.28.patch')
-rw-r--r-- | meta/recipes-extended/blktool/blktool/0004-fix-ftbfs-glibc-2.28.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-extended/blktool/blktool/0004-fix-ftbfs-glibc-2.28.patch b/meta/recipes-extended/blktool/blktool/0004-fix-ftbfs-glibc-2.28.patch new file mode 100644 index 0000000000..65bca65100 --- /dev/null +++ b/meta/recipes-extended/blktool/blktool/0004-fix-ftbfs-glibc-2.28.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Description: Fix FTBFS with glibc 2.28 | ||
2 | Author: Adrian Bunk <bunk@debian.org> | ||
3 | Bug-Debian: https://bugs.debian.org/917055 | ||
4 | |||
5 | This patch is taken from | ||
6 | http://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.1.debian.tar.xz | ||
7 | |||
8 | Upstream-Status: Inappropriate [upstream is dead] | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | --- blktool-4.orig/blktool.c | ||
11 | +++ blktool-4/blktool.c | ||
12 | @@ -18,6 +18,7 @@ | ||
13 | #include <unistd.h> | ||
14 | #include <sys/stat.h> | ||
15 | #include <sys/ioctl.h> | ||
16 | +#include <sys/sysmacros.h> | ||
17 | #include <fcntl.h> | ||
18 | #include <errno.h> | ||
19 | #include <getopt.h> | ||