byobu: Avoid "locale charmap" call, hardcode UTF-8

This commit is contained in:
Fredrik Fornwall 2017-09-20 01:42:37 +02:00
parent b041831d4b
commit e8926bb981
2 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://byobu.co/
TERMUX_PKG_DESCRIPTION="Byobu is a GPLv3 open source text-based window manager and terminal multiplexer"
TERMUX_PKG_VERSION=5.122
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://launchpad.net/byobu/trunk/${TERMUX_PKG_VERSION}/+download/byobu_${TERMUX_PKG_VERSION}.orig.tar.gz
TERMUX_PKG_SHA256=0e5f14db8340712cf5b1049002c5b7f2a116ca28e6df418cb7500d3c4fa43234
TERMUX_PKG_DEPENDS="gawk, tmux"

View File

@ -0,0 +1,12 @@
diff -u -r ../byobu-5.122/usr/bin/byobu.in ./usr/bin/byobu.in
--- ../byobu-5.122/usr/bin/byobu.in 2017-08-09 23:53:48.000000000 +0200
+++ ./usr/bin/byobu.in 2017-09-20 01:31:55.576848354 +0200
@@ -46,7 +46,7 @@
. "$HOME/.byoburc"
fi
fi
-export BYOBU_CHARMAP=$(locale charmap)
+export BYOBU_CHARMAP=UTF-8
[ -r "$HOME/.byoburc" ] && . "$HOME/.byoburc"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="@prefix@" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"