1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

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>
This commit is contained in:
Alexander Kanavin
2020-05-03 18:25:47 +02:00
committed by Richard Purdie
parent d22f00e5a4
commit e7037b93d4
2 changed files with 32 additions and 3 deletions
@@ -0,0 +1,27 @@
From 607b0bed5e8a5f5c3754cd6ffcf499d8134c37f9 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Mon, 30 Mar 2020 17:11:19 +0200
Subject: [PATCH] gptcurses: correctly include curses.h
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
gptcurses.cc | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gptcurses.cc b/gptcurses.cc
index 1b18cf2..4ebfde1 100644
--- a/gptcurses.cc
+++ b/gptcurses.cc
@@ -23,11 +23,7 @@
#include <iostream>
#include <string>
#include <sstream>
-#ifdef __APPLE__
#include <ncurses.h>
-#else
-#include <ncursesw/ncurses.h>
-#endif
#include "gptcurses.h"
#include "support.h"