morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 7aa00a63fd804acff481a77b9ffd7ec58bb0be44
parent 3a6602387e6817225c88cdf231309911ffd7ea4a
Author: Daniel Bainton <dpb@driftaway.org>
Date:   Wed, 26 Feb 2014 10:06:41 +0200

Build ncurses with wide character support

Diffstat:
Mpkgs/ncurses | 6+++++-
Mpkgs/tmux | 2+-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pkgs/ncurses b/pkgs/ncurses @@ -15,7 +15,7 @@ build() { cp $top/stuff/ncurses-fallback.c ncurses/fallback.c CC="x86_64-linux-musl-gcc -static" ./configure --prefix="$libcroot" --without-tests \ --with-normal --enable-sigwinch --disable-nls --without-dlsym \ - --without-cxx-binding \ + --without-cxx-binding --enable-widec \ --with-fallbacks="linux vt100 xterm xterm256-color" </dev/ptmx || return 1 make -j$nprocs || return 1 cd - @@ -25,4 +25,8 @@ install() { cd src/ncurses-5.9 make install || return 1 cd - + cd $root/lib + ln -s libncursesw_g.a libncurses_g.a + ln -s libncursesw.a libncurses.a + cd - } diff --git a/pkgs/tmux b/pkgs/tmux @@ -13,7 +13,7 @@ unpack() { build() { cd src/tmux-1.8 CC=x86_64-linux-musl-gcc ./configure --prefix="$root" LDFLAGS=-static \ - CFLAGS="-I$libcroot/include/ncurses" || return 1 + CFLAGS="-I$libcroot/include/ncursesw" || return 1 make -j$nprocs || return 1 cd - }