+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools fcaps
-
-DESCRIPTION="Fast terminal emulator for the Linux framebuffer"
-HOMEPAGE="https://code.google.com/p/fbterm"
-SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.0.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="gpm video_cards_vesa"
-
-CDEPEND="media-libs/fontconfig
- media-libs/freetype:2
- gpm? ( sys-libs/gpm )
- video_cards_vesa? ( dev-libs/libx86 )"
-RDEPEND="${CDEPEND}
- !>=sys-libs/ncurses-6.1"
-DEPEND="${CDEPEND}
- sys-libs/ncurses
- virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-gcc6.patch )
-
-FILECAPS=(
- cap_sys_tty_config+ep usr/bin/${PN}
-)
-
-src_prepare() {
- sed -i "s|tic|tic -o '\$(DESTDIR)\$(datadir)/terminfo'|" terminfo/Makefile.am
-
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable gpm) \
- $(use_enable video_cards_vesa vesa)
-}
-
-src_install() {
- dodir /usr/share/terminfo
- default
-
- use filecaps || fperms u+s /usr/bin/${PN}
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
-
- elog "${PN} won't work with vga16fb. You have to use other native"
- elog "framebuffer drivers or vesa driver."
- elog "See ${EPREFIX}/usr/share/doc/${P}/README for details."
- elog
- elog "To use ${PN}, ensure you are in video group."
-}
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools fcaps
-
-DESCRIPTION="Fast terminal emulator for the Linux framebuffer"
-HOMEPAGE="https://code.google.com/p/fbterm"
-SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN}/${P}.0.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="gpm video_cards_vesa"
-
-RDEPEND="media-libs/fontconfig
- media-libs/freetype:2
- gpm? ( sys-libs/gpm )
- video_cards_vesa? ( dev-libs/libx86 )
- >=sys-libs/ncurses-6.1"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-gcc6.patch )
-
-FILECAPS=(
- cap_sys_tty_config+ep usr/bin/${PN}
-)
-
-src_prepare() {
- # bug #648472
- sed -i "s/terminfo//" Makefile.am
-
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_enable gpm) \
- $(use_enable video_cards_vesa vesa)
-}
-
-src_install() {
- default
-
- use filecaps || fperms u+s /usr/bin/${PN}
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
-
- elog "${PN} won't work with vga16fb. You have to use other native"
- elog "framebuffer drivers or vesa driver."
- elog "See ${EPREFIX}/usr/share/doc/${P}/README for details."
- elog
- elog "To use ${PN}, ensure you are in video group."
-}
+++ /dev/null
-https://bugs.gentoo.org/show_bug.cgi?id=594308
-
-Author: Peter Levine <plevine457@gmail.com>
-
---- a/src/lib/vterm_states.cpp
-+++ b/src/lib/vterm_states.cpp
-@@ -39,14 +39,14 @@
- { 0x1B, 0, ESesc },
- { 0x7F, 0, ESkeep },
- { 0x9B, 0, ESsquare },
-- { -1}
-+ { (u16) -1}
- };
-
- const VTerm::Sequence VTerm::escape_sequences[] = {
- { 0, 0, ESnormal },
-
- // ESnormal
-- { -1 },
-+ { (u16) -1 },
-
- // ESesc
- { '[', &VTerm::clear_param, ESsquare },
-@@ -65,7 +65,7 @@
- { '8', &VTerm::restore_cursor, ESnormal },
- { '>', &VTerm::keypad_numeric, ESnormal },
- { '=', &VTerm::keypad_application, ESnormal },
-- { -1 },
-+ { (u16) -1 },
-
- // ESsquare
- { '[', 0, ESfunckey },
-@@ -104,7 +104,7 @@
- { '`', &VTerm::cursor_position_col, ESnormal },
- { ']', &VTerm::linux_specific, ESnormal },
- { '}', &VTerm::fbterm_specific, ESnormal },
-- { -1 },
-+ { (u16) -1 },
-
- // ESnonstd
- { '0' | ADDSAME(9), &VTerm::set_palette, ESkeep },
-@@ -112,25 +112,25 @@
- { 'a' | ADDSAME(5), &VTerm::set_palette, ESkeep },
- { 'P', &VTerm::begin_set_palette, ESkeep },
- { 'R', &VTerm::reset_palette, ESnormal },
-- { -1 },
-+ { (u16) -1 },
-
- // ESpercent
- { '@', &VTerm::clear_utf8, ESnormal },
- { 'G', &VTerm::set_utf8, ESnormal },
- { '8', &VTerm::set_utf8, ESnormal },
-- { -1 },
-+ { (u16) -1 },
-
- // EScharset
- { '0', &VTerm::set_charset, ESnormal },
- { 'B', &VTerm::set_charset, ESnormal },
- { 'U', &VTerm::set_charset, ESnormal },
- { 'K', &VTerm::set_charset, ESnormal },
-- { -1 },
-+ { (u16) -1 },
-
- // EShash
- { '8', &VTerm::screen_align, ESnormal },
-- { -1 },
-+ { (u16) -1 },
-
- // ESfunckey
-- { -1 },
-+ { (u16) -1 },
- };