kumquat-buildroot/package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch
Bernd Kuhls 75d5e8fb9c package/gptfdisk: security bump version to 1.0.7
Release notes:
https://sourceforge.net/p/gptfdisk/code/ci/master/tree/NEWS

Version 1.0.6 fixes CVE-2020-0256 & CVE-2021-0308.

Removed md5 hash.

Rebased patch due to upstream commit
6180deb472/#diff-3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-06-05 21:36:00 +02:00

43 lines
1.2 KiB
Diff

From 22e69d77d745b42ca85fefdf8c9f7625b852b964 Mon Sep 17 00:00:00 2001
From: Pierre-Jean Texier <pjtexier@koncepto.io>
Date: Wed, 26 Feb 2020 22:08:28 +0100
Subject: [PATCH] gptcurses: partially revert "Tweaks for building on the
latest XCode for macOS"
This partially reverts commit bbd6b4cc67ffcdf7b2a6bd5008d28006cb147393.
Fixes:
| gptcurses.cc:29:10: fatal error: ncursesw/ncurses.h: No such file or directory
| 29 | #include <ncursesw/ncurses.h>
| | ^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
[Retrieved from:
https://sourceforge.net/u/texierp/gptfdisk/ci/22e69d77d745b42ca85fefdf8c9f7625b852b964
Upstream status (with meson build system):
https://sourceforge.net/p/gptfdisk/code/merge-requests/21]
---
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>
-#if defined (__APPLE__) || (__FreeBSD__)
#include <ncurses.h>
-#else
-#include <ncursesw/ncurses.h>
-#endif
#include "gptcurses.h"
#include "support.h"
--
2.26.2