summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/blktool/blktool/0004-fix-ftbfs-glibc-2.28.patch
diff options
context:
space:
mode:
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.patch19
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 @@
1Description: Fix FTBFS with glibc 2.28
2Author: Adrian Bunk <bunk@debian.org>
3Bug-Debian: https://bugs.debian.org/917055
4
5This patch is taken from
6http://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.1.debian.tar.xz
7
8Upstream-Status: Inappropriate [upstream is dead]
9Signed-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>