-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3192 from mglae/le9_ncurses_stools110
ncurses: improvements / system-tools 110: update mc and efibootmgr
- Loading branch information
Showing
15 changed files
with
102 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...dons/addon-depends/system-tools-depends/depends/efivar/patches/efivar-01-static_lib.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/src/Makefile 2018-10-01 21:30:06.000000000 +0200 | ||
+++ b/src/Makefile 2018-10-17 14:16:46.000000000 +0200 | ||
@@ -69,7 +69,7 @@ libefivar.so : | $(GENERATED_SOURCES) li | ||
libefivar.so : LIBS=dl | ||
libefivar.so : MAP=libefivar.map | ||
|
||
-efivar : efivar.c | libefivar.so | ||
+efivar : efivar.c | libefivar.a | ||
efivar : LIBS=efivar dl | ||
|
||
efivar-static : efivar.c $(patsubst %.o,%.static.o,$(LIBEFIVAR_OBJECTS)) |
32 changes: 0 additions & 32 deletions
32
...n-depends/system-tools-depends/depends/efivar/patches/efivar-makeguids-allocate-fix.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
.../addons/addon-depends/system-tools-depends/efibootmgr/patches/efibootmgr-kernel-4.4.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/addons/addon-depends/system-tools-depends/mc/wrapper/mc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
HISTFILE="/run/mc_histfile" | ||
export HISTFILE | ||
exec mc-bin "$@" |
4 changes: 4 additions & 0 deletions
4
packages/addons/addon-depends/system-tools-depends/mc/wrapper/mcedit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
HISTFILE="/run/mc_histfile" | ||
export HISTFILE | ||
exec mc-bin -e "$@" |
4 changes: 4 additions & 0 deletions
4
packages/addons/addon-depends/system-tools-depends/mc/wrapper/mcview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
HISTFILE="/run/mc_histfile" | ||
export HISTFILE | ||
exec mc-bin -v "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/devel/ncurses/patches/ncurses-001-terminfo-xterm.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
Remove recent xterm terminfo features to be compatible with other emulations | ||
|
||
--- a/misc/terminfo.src 2018-12-21 18:53:11.000000000 +0100 | ||
+++ a/misc/terminfo.src 2018-12-22 22:56:47.000000000 +0100 | ||
@@ -4335,8 +4335,8 @@ xterm-xfree86|xterm terminal emulator (X | ||
xterm-new|modern xterm terminal emulator, | ||
npc, | ||
indn=\E[%p1%dS, kb2=\EOE, kcbt=\E[Z, kent=\EOM, | ||
- rin=\E[%p1%dT, use=ansi+rep, use=ecma+strikeout, | ||
- use=xterm+sm+1006, use=xterm+pcfkeys, use=xterm+tmux, | ||
+ rin=\E[%p1%dT, use=ecma+strikeout, | ||
+ use=xterm+sm+1005, use=xterm+pcfkeys, use=xterm+tmux, | ||
use=xterm-basic, | ||
|
||
# This fragment is for people who cannot agree on what the backspace key |
24 changes: 24 additions & 0 deletions
24
packages/devel/ncurses/patches/ncurses-002-alloc-fallbacks.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Fix freeing not allocated fallback entries by allocating a copy. | ||
|
||
--- a/ncurses/tinfo/lib_setup.c 2018-11-24 23:13:16.000000000 +0100 | ||
+++ b/ncurses/tinfo/lib_setup.c 2018-12-29 10:31:01.000000000 +0100 | ||
@@ -756,6 +756,8 @@ TINFO_SETUP_TERM(TERMINAL **tp, | ||
if (status != TGETENT_YES) { | ||
const TERMTYPE2 *fallback = _nc_fallback2(tname); | ||
|
||
+ if (fallback) | ||
+ fallback = _nc_copy_entry(fallback); | ||
if (fallback) { | ||
T(("found fallback entry")); | ||
TerminalType(termp) = *fallback; | ||
--- a/ncurses/tinfo/tinfo_driver.c 2018-11-24 23:17:03.000000000 +0100 | ||
+++ b/ncurses/tinfo/tinfo_driver.c 2018-12-29 10:27:19.000000000 +0100 | ||
@@ -172,6 +172,8 @@ drv_CanHandle(TERMINAL_CONTROL_BLOCK * T | ||
if (status != TGETENT_YES) { | ||
const TERMTYPE2 *fallback = _nc_fallback2(tname); | ||
|
||
+ if (fallback) | ||
+ fallback = _nc_copy_entry(fallback); | ||
if (fallback) { | ||
T(("found fallback entry")); | ||
TerminalType(termp) = *fallback; |