summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/fdisk
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-03 18:25:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-05 13:19:54 +0100
commite7037b93d43e6bf3b62e7f456645250eae91e2cf (patch)
treed59d9e58c424ac77e2683e14fe818ae023d239c2 /meta/recipes-devtools/fdisk
parentd22f00e5a465ae04c5948083dacb8aad10bf5f4c (diff)
downloadpoky-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/fdisk')
-rw-r--r--meta/recipes-devtools/fdisk/gptfdisk/0001-gptcurses-correctly-include-curses.h.patch27
-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 @@
1From 607b0bed5e8a5f5c3754cd6ffcf499d8134c37f9 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 30 Mar 2020 17:11:19 +0200
4Subject: [PATCH] gptcurses: correctly include curses.h
5
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 gptcurses.cc | 4 ----
10 1 file changed, 4 deletions(-)
11
12diff --git a/gptcurses.cc b/gptcurses.cc
13index 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
7DEPENDS = "util-linux" 7DEPENDS = "util-linux"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz" 9SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BP}.tar.gz \
10SRC_URI[md5sum] = "5ecc3c44913bb6b53d3708d1ac7ac295" 10 file://0001-gptcurses-correctly-include-curses.h.patch \
11SRC_URI[sha256sum] = "b663391a6876f19a3cd901d862423a16e2b5ceaa2f4a3b9bb681e64b9c7ba78d" 11 "
12SRC_URI[md5sum] = "58dac67c85e46ca87b587231549aefe6"
13SRC_URI[sha256sum] = "0e7d3987cd0488ecaf4b48761bc97f40b1dc089e5ff53c4b37abe30bc67dcb2f"
12 14
13UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/" 15UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/gptfdisk/files/gptfdisk/"
14UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/" 16UPSTREAM_CHECK_REGEX = "/gptfdisk/(?P<pver>(\d+[\.\-_]*)+)/"