diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-05-03 18:25:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-05 13:19:54 +0100 |
commit | e7037b93d43e6bf3b62e7f456645250eae91e2cf (patch) | |
tree | d59d9e58c424ac77e2683e14fe818ae023d239c2 /meta/recipes-devtools | |
parent | d22f00e5a465ae04c5948083dacb8aad10bf5f4c (diff) | |
download | poky-e7037b93d43e6bf3b62e7f456645250eae91e2cf.tar.gz |
gptfdisk: update to 1.0.5
Add a patch to correctly include curses header.
(From OE-Core rev: 99078a950877787704ea92d4557cb8e0ab3827fe)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch | 27 | ||||
-rw-r--r-- | meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb (renamed from meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb) | 8 |
2 files changed, 32 insertions, 3 deletions
diff --git a/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch new file mode 100644 index 0000000000..67689e838a --- /dev/null +++ b/meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 607b0bed5e8a5f5c3754cd6ffcf499d8134c37f9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 30 Mar 2020 17:11:19 +0200 | ||
4 | Subject: [PATCH] gptcurses: correctly include curses.h | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe-core specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | gptcurses.cc | 4 ---- | ||
10 | 1 file changed, 4 deletions(-) | ||
11 | |||
12 | diff --git a/gptcurses.cc b/gptcurses.cc | ||
13 | index 1b18cf2..4ebfde1 100644 | ||
14 | --- a/gptcurses.cc | ||
15 | +++ b/gptcurses.cc | ||
16 | @@ -23,11 +23,7 @@ | ||
17 | #include <iostream> | ||
18 | #include <string> | ||
19 | #include <sstream> | ||
20 | -#ifdef __APPLE__ | ||
21 | #include <ncurses.h> | ||
22 | -#else | ||
23 | -#include <ncursesw/ncurses.h> | ||
24 | -#endif | ||
25 | #include "gptcurses.h" | ||
26 | #include "support.h" | ||
27 | |||
diff --git a/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb b/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb index b043c96543..c7850f03ca 100644 --- a/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb +++ b/meta/recipes-devtools/fdisk/gptfdisk_1.0.5.bb | |||
@@ -6,9 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
6 | 6 | ||
7 | DEPENDS = "util-linux" | 7 | DEPENDS = "util-linux" |
8 | 8 | ||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz" | 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \ |
10 | SRC_URI[md5sum] = "5ecc3c44913bb6b53d3708d1ac7ac295" | 10 | file://0001-gptcurses-correctly-include-curses.h.patch \ |
11 | SRC_URI[sha256sum] = "b663391a6876f19a3cd901d862423a16e2b5ceaa2f4a3b9bb681e64b9c7ba78d" | 11 | " |
12 | SRC_URI[md5sum] = "58dac67c85e46ca87b587231549aefe6" | ||
13 | SRC_URI[sha256sum] = "0e7d3987cd0488ecaf4b48761bc97f40b1dc089e5ff53c4b37abe30bc67dcb2f" | ||
12 | 14 | ||
13 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/" | 15 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/" |
14 | UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/" | 16 | UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/" |