Patchwork [1/2] ncurses: install screen terminfo file

login
register
mail settings
Submitter Gustavo Zacarias
Date May 7, 2012, 10:33 a.m.
Message ID <1336386817-29877-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/157287/
State Accepted
Headers show

Comments

Gustavo Zacarias - May 7, 2012, 10:33 a.m.
Install the terminfo file for screen as reported on bug #5204

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/ncurses/ncurses.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Peter Korsgaard - May 7, 2012, 9:22 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Install the terminfo file for screen as reported on bug #5204
 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

Patch

diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index eb8a043..10a55dd 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -117,6 +117,8 @@  define NCURSES_INSTALL_TARGET_CMDS
 	cp -dpf $(STAGING_DIR)/usr/share/terminfo/a/ansi $(TARGET_DIR)/usr/share/terminfo/a
 	mkdir -p $(TARGET_DIR)/usr/share/terminfo/l
 	cp -dpf $(STAGING_DIR)/usr/share/terminfo/l/linux $(TARGET_DIR)/usr/share/terminfo/l
+	mkdir -p $(TARGET_DIR)/usr/share/terminfo/s
+	cp -dpf $(STAGING_DIR)/usr/share/terminfo/s/screen $(TARGET_DIR)/usr/share/terminfo/s
 	$(NCURSES_INSTALL_TARGET_DEVFILES)
 endef # NCURSES_INSTALL_TARGET_CMDS