Browse Source

screen: add 256 colors support.

On ar71xx the package grow by less than 1k
150377 screen_4.6.0-1_mips_24kc.ipk
151356 screen_4.6.0-2_mips_24kc.ipk

Original commit by @nobk

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
lilik-openwrt-22.03
Etienne Champetier 7 years ago
parent
commit
7891c3449f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/screen/Makefile

+ 2
- 1
utils/screen/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=screen PKG_NAME:=screen
PKG_VERSION:=4.6.0 PKG_VERSION:=4.6.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=9433706b653e941cc4c745f28e252e57be2a141eded923e61cc2c4a09768fed4 PKG_HASH:=9433706b653e941cc4c745f28e252e57be2a141eded923e61cc2c4a09768fed4
@ -38,6 +38,7 @@ endef
define Build/Configure define Build/Configure
$(call Build/Configure/Default,\ $(call Build/Configure/Default,\
--with-sys-screenrc=/etc/screenrc \ --with-sys-screenrc=/etc/screenrc \
--enable-colors256 \
) )
# XXX: memmove() works well with overlapped memory areas # XXX: memmove() works well with overlapped memory areas
echo "#define USEMEMMOVE 1" >>$(PKG_BUILD_DIR)/config.h echo "#define USEMEMMOVE 1" >>$(PKG_BUILD_DIR)/config.h


Loading…
Cancel
Save