diff options
author | Randy Barlow <randy@electronsweatshop.com> | 2020-12-18 15:19:43 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-27 05:44:59 +0000 |
commit | 7729b0dd1d6a6c8cdc65422d94cce220df98c4f1 (patch) | |
tree | 27718692711839b319f4d929fd56bfee5cedd787 /app-admin | |
parent | dev-libs/libdnet: Keyword 1.14-r1 arm64, #728712 (diff) | |
download | gentoo-7729b0dd1d6a6c8cdc65422d94cce220df98c4f1.tar.gz gentoo-7729b0dd1d6a6c8cdc65422d94cce220df98c4f1.tar.bz2 gentoo-7729b0dd1d6a6c8cdc65422d94cce220df98c4f1.zip |
app-admin/lnav: Update to 0.9.0
Update lnav to 0.9.0 and fix a segmentation fault.
Closes: https://bugs.gentoo.org/723242
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/lnav/Manifest | 1 | ||||
-rw-r--r-- | app-admin/lnav/files/639332-tinfow.patch | 10 | ||||
-rw-r--r-- | app-admin/lnav/lnav-0.9.0.ebuild | 40 |
3 files changed, 51 insertions, 0 deletions
diff --git a/app-admin/lnav/Manifest b/app-admin/lnav/Manifest index 5b8de8608210..e99a849c3996 100644 --- a/app-admin/lnav/Manifest +++ b/app-admin/lnav/Manifest @@ -1 +1,2 @@ DIST lnav-0.8.5.tar.gz 908012 BLAKE2B a53e79d9403e5f3c731c88a171ddcb62027016b6d7d16fb618aeb9857ff86d1cc9c982d23bd172cc95f5e200afe84b488422ad4fc0aeb440cf2a96506829198e SHA512 fbb61d454dc89388aeaaeca6ba1366f84cbd75260ef8e2f26a4208ab22f175886438dad7f40e4c21089209c7713c1ebcc3a722a248083c8d55f264cf139a79fe +DIST lnav-0.9.0.tar.gz 1094734 BLAKE2B 79d6b035d9fc1efba618dbbd0924dbac2c8a2b3316849164c8c1a3782c7e8b85f12ade02a973d0c4fabff64b38e26fd579f1931aeafb05396ece7e75608cfc5d SHA512 4f03c83003b262c6aa1d1e87d61b4a3ae8f1ccd33a2df1b451f263d3925791d3b46285bbe276d89733a2bd464be9029e7100ce12fdfe3e009a089f250e601151 diff --git a/app-admin/lnav/files/639332-tinfow.patch b/app-admin/lnav/files/639332-tinfow.patch new file mode 100644 index 000000000000..8399412f0cf1 --- /dev/null +++ b/app-admin/lnav/files/639332-tinfow.patch @@ -0,0 +1,10 @@ +--- a/m4/ax_with_curses.m4 2019-07-28 08:49:13.670014444 -0500 ++++ b/m4/ax_with_curses.m4 2019-07-28 08:46:32.280013473 -0500 +@@ -216,6 +216,8 @@ + ax_cv_curses=yes + ax_cv_curses_which=ncursesw + CURSES_LIB="-lncursesw" ++ temp_lib=`echo $ax_saved_LIBS|sed 's/tinfo/tinfow/'` ++ ax_saved_LIBS=$temp_lib + AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present]) + AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) diff --git a/app-admin/lnav/lnav-0.9.0.ebuild b/app-admin/lnav/lnav-0.9.0.ebuild new file mode 100644 index 000000000000..79a41f429d3b --- /dev/null +++ b/app-admin/lnav/lnav-0.9.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs autotools + +DESCRIPTION="A curses-based tool for viewing and analyzing log files" +HOMEPAGE="https://lnav.org" +SRC_URI="https://github.com/tstack/lnav/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="unicode" + +RDEPEND=" + app-arch/bzip2:0= + >=dev-db/sqlite-3.9.0 + dev-libs/libpcre[cxx] + >=net-misc/curl-7.23.0 + sys-libs/ncurses:0=[unicode?] + sys-libs/readline:0= + sys-libs/zlib:0=" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README ) +# The second patch is a fix for https://bugs.gentoo.org/723242 +PATCHES=( "${FILESDIR}"/${PN}-0.8.4-disable-tests.patch "${FILESDIR}"/639332-tinfow.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + $(use_with unicode ncursesw) +} |