diff options
-rw-r--r-- | meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch | 23 | ||||
-rw-r--r-- | meta/recipes-extended/blktool/blktool_4-7.1.bb | 1 |
2 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch b/meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch deleted file mode 100644 index 6eea608b29..0000000000 --- a/meta/recipes-extended/blktool/blktool/blktool-gnulib-makedev.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | include <sys/sysmacros.h> for major/minor defintions | ||
2 | |||
3 | Fixes | ||
4 | |||
5 | | ../blktool-4.orig/blktool.c: In function 'detect_dev_class': | ||
6 | | ../blktool-4.orig/blktool.c:295:10: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] | ||
7 | | switch (major(st_rdev)) { | ||
8 | | ^~~~~ | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | Index: blktool-4.orig/blktool.c | ||
13 | =================================================================== | ||
14 | --- blktool-4.orig.orig/blktool.c | ||
15 | +++ blktool-4.orig/blktool.c | ||
16 | @@ -27,6 +27,7 @@ | ||
17 | #include <linux/cdrom.h> | ||
18 | #include <linux/major.h> | ||
19 | #include <scsi/scsi.h> | ||
20 | +#include <sys/sysmacros.h> | ||
21 | |||
22 | #include "blktool.h" | ||
23 | |||
diff --git a/meta/recipes-extended/blktool/blktool_4-7.1.bb b/meta/recipes-extended/blktool/blktool_4-7.1.bb index cc24d3cdb2..ff2eaa5352 100644 --- a/meta/recipes-extended/blktool/blktool_4-7.1.bb +++ b/meta/recipes-extended/blktool/blktool_4-7.1.bb | |||
@@ -14,7 +14,6 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/ | |||
14 | file://0002-fix-string-error.patch \ | 14 | file://0002-fix-string-error.patch \ |
15 | file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \ | 15 | file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \ |
16 | file://0004-fix-ftbfs-glibc-2.28.patch \ | 16 | file://0004-fix-ftbfs-glibc-2.28.patch \ |
17 | file://blktool-gnulib-makedev.patch \ | ||
18 | " | 17 | " |
19 | 18 | ||
20 | SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40" | 19 | SRC_URI[tarball.md5sum] = "62edc09c9908107e69391c87f4f3fd40" |