galeb-mkfiles

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

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

neomutt: Fix build

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

Diffstat:
MTODO | 4++++
Mneomutt/mkfile | 2+-
Aneomutt/pat/missing-funcs.patch | 39+++++++++++++++++++++++++++++++++++++++
измењених датотека: 3, додавања: 44(+), брисања: 1(-)

diff --git a/TODO b/TODO @@ -1,6 +1,10 @@ TODO ==== +[ ] neomutt: Add real code of missing ncurses functions instead of placeholders? + What would be the license of the combined work? Alternatively, revisit one + more time replacing netbsd-curses with ncurses? + [ ] Add isync [ ] Add msmtp diff --git a/neomutt/mkfile b/neomutt/mkfile @@ -23,7 +23,7 @@ $PKGBASE:QV: :>$patch.applied done printf " CONF\t%s\n" --prefix=$PREFIX - CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS \ + CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ ./configure --prefix=$PREFIX \ --bindir=$BINDIR \ --mandir=$MANDIR \ diff --git a/neomutt/pat/missing-funcs.patch b/neomutt/pat/missing-funcs.patch @@ -0,0 +1,39 @@ +--- a/keymap.c 2022-04-29 14:15:32.000000000 +0200 ++++ b/keymap.c 2022-08-30 21:20:27.637577465 +0200 +@@ -978,6 +978,24 @@ + return 0; + } + ++/* TODO */ ++static bool _use_ext_names = false; ++ ++int ++use_extended_names(bool enable) ++{ ++ bool prev_value = _use_ext_names; ++ _use_ext_names = enable; ++ return prev_value; ++} ++ ++int ++key_defined(const char* definition) ++{ ++ return 0; ++} ++/* /TODO */ ++ + /** + * init_extended_keys - Initialise map of ncurses extended keys + * +--- a/gui/mutt_curses.h 2022-04-29 14:15:32.000000000 +0200 ++++ b/gui/mutt_curses.h 2022-08-30 21:20:37.174577717 +0200 +@@ -45,6 +45,9 @@ + #define CI_is_return(ch) (((ch) == '\r') || ((ch) == '\n')) + #endif + ++int use_extended_names(bool enable); ++int key_defined(const char* definition); ++ + /** + * enum MuttCursorState - Cursor states for mutt_curses_set_cursor() + */