"Fossies" - the Fresh Open Source Software Archive

Member "buildroot-2021.05/package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch" (6 Jun 2021, 1180 Bytes) of package /linux/privat/buildroot-2021.05.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes reports for "0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch": 2021.05-rc3_vs_2021.05 or 2021.02.2_vs_2021.05.

    1 From 22e69d77d745b42ca85fefdf8c9f7625b852b964 Mon Sep 17 00:00:00 2001
    2 From: Pierre-Jean Texier <pjtexier@koncepto.io>
    3 Date: Wed, 26 Feb 2020 22:08:28 +0100
    4 Subject: [PATCH] gptcurses: partially revert "Tweaks for building on the
    5  latest XCode for macOS"
    6 
    7 This partially reverts commit bbd6b4cc67ffcdf7b2a6bd5008d28006cb147393.
    8 
    9 Fixes:
   10 
   11 | gptcurses.cc:29:10: fatal error: ncursesw/ncurses.h: No such file or directory
   12 |    29 | #include <ncursesw/ncurses.h>
   13 |       |          ^~~~~~~~~~~~~~~~~~~~
   14 
   15 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
   16 [Retrieved from:
   17 https://sourceforge.net/u/texierp/gptfdisk/ci/22e69d77d745b42ca85fefdf8c9f7625b852b964
   18 Upstream status (with meson build system):
   19 https://sourceforge.net/p/gptfdisk/code/merge-requests/21]
   20 ---
   21  gptcurses.cc | 4 ----
   22  1 file changed, 4 deletions(-)
   23 
   24 diff --git a/gptcurses.cc b/gptcurses.cc
   25 index 1b18cf2..4ebfde1 100644
   26 --- a/gptcurses.cc
   27 +++ b/gptcurses.cc
   28 @@ -23,11 +23,7 @@
   29  #include <iostream>
   30  #include <string>
   31  #include <sstream>
   32 -#if defined (__APPLE__) || (__FreeBSD__)
   33  #include <ncurses.h>
   34 -#else
   35 -#include <ncursesw/ncurses.h>
   36 -#endif
   37  #include "gptcurses.h"
   38  #include "support.h"
   39  
   40 -- 
   41 2.26.2
   42