galeb-mkfiles

Извори пакета за Галеб
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 72d1897359f9f7cdf68db786bed91d104a29cf92
родитељ b8d84eb3d00847d8b4d78b2ccb27235bb460f81f
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Tue, 30 Aug 2022 21:05:00 +0200

neomutt: Instead of patching gui/mutt_curses.h, patch gui/terminal.c

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
MTODO | 2+-
Mneomutt/pat/dynamic-lib-function-return-pointer-segfault.patch | 12++++++------
измењених датотека: 2, додавања: 7(+), брисања: 7(-)

diff --git a/TODO b/TODO @@ -55,7 +55,7 @@ Done with S-nail (mailx) for now; all the dependencies above are then not needed - Added; leaving dependencies though - - **Solved** by adding `#include <term.h>` in gui/mutt_curses.h, which + - **Solved** by adding `#include <term.h>` in gui/terminal.c, which adds the exact prototype of tigetstr, so the cast by __UNCONST works. Inspiration from https://stackoverflow.com/a/8553162/ diff --git a/neomutt/pat/dynamic-lib-function-return-pointer-segfault.patch b/neomutt/pat/dynamic-lib-function-return-pointer-segfault.patch @@ -1,11 +1,11 @@ ---- a/gui/mutt_curses.h 2022-08-30 20:44:35.726520519 +0200 -+++ b/gui/mutt_curses.h 2022-08-30 20:44:51.543520937 +0200 -@@ -37,6 +37,8 @@ - #include <curses.h> +--- a/gui/terminal.c 2022-08-30 21:03:56.266551230 +0200 ++++ b/gui/terminal.c 2022-08-30 21:04:08.314551549 +0200 +@@ -38,6 +38,8 @@ + #include <ncurses/term.h> // IWYU pragma: keep #endif +#include <term.h> + - #define ctrl(ch) ((ch) - '@') + bool TsSupported; ///< Terminal Setting is supported - #ifdef KEY_ENTER + /* de facto standard escapes for tsl/fsl */