sysutils/lnav: Update to 0.9.0

ChangeLog: https://github.com/tstack/lnav/releases/tag/v0.9.0

This new version is broken in i386.
See https://github.com/tstack/lnav/issues/781

PR:	249898
Submitted by:	tom@hur.st (maintainer)
This commit is contained in:
Fernando Apesteguía 2020-11-16 17:14:31 +00:00
parent c595a583e3
commit 8ec6eb38b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555499
3 changed files with 8 additions and 21 deletions

View File

@ -2,22 +2,20 @@
# $FreeBSD$
PORTNAME= lnav
PORTVERSION= 0.8.5
PORTREVISION= 1
DISTVERSIONPREFIX= v
PORTVERSION= 0.9.0
CATEGORIES= sysutils
MASTER_SITES= https://github.com/tstack/${PORTNAME}/releases/download/v${PORTVERSION}/
MAINTAINER= tom@hur.st
COMMENT= Terminal based log file navigator
LICENSE= BSD2CLAUSE
BROKEN_i386= fails to build: error: non-constant-expression cannot be narrowed
LIB_DEPENDS= libpcrecpp.so:devel/pcre
USES= autoreconf compiler:c++14-lang gmake ncurses sqlite readline
USE_GITHUB= yes
GH_ACCOUNT= tstack
USES= autoreconf compiler:c++14-lang gmake ncurses readline sqlite tar:bz2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1554901319
SHA256 (tstack-lnav-v0.8.5_GH0.tar.gz) = 5e5bfde95da71d9e00ec20b4a17d7f260ca90d23c86a47f8bc3fb98418aea6bc
SIZE (tstack-lnav-v0.8.5_GH0.tar.gz) = 1119904
TIMESTAMP = 1601099244
SHA256 (lnav-0.9.0.tar.bz2) = 9ba2c9c745d1479ec0eed0201cba7fdb223fc0489c50b20a54af3d2a1b2ae550
SIZE (lnav-0.9.0.tar.bz2) = 877288

View File

@ -1,11 +0,0 @@
--- src/lnav_log.cc.orig 2018-08-27 14:23:13 UTC
+++ src/lnav_log.cc
@@ -255,7 +255,7 @@ void log_msg(lnav_log_level_t level, const char *src_f
localtm.tm_sec,
(int)(curr_time.tv_usec / 1000),
LEVEL_NAMES[level],
- basename((char *)src_file),
+ src_file,
line_number);
rc = vsnprintf(&line[prefix_size], MAX_LOG_LINE_SIZE - prefix_size,
fmt, args);