FreeBSD Bugzilla – Attachment 218448 Details for
Bug 249898
sysutils/lnav: Update to 0.9.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
additional improvements on top of submitter's patch
sysutils_lnav.svndiff (text/plain), 3.24 KB, created by
Fernando Apesteguía
on 2020-10-01 13:23:21 UTC
(
hide
)
Description:
additional improvements on top of submitter's patch
Filename:
MIME Type:
Creator:
Fernando Apesteguía
Created:
2020-10-01 13:23:21 UTC
Size:
3.24 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 550825) >+++ Makefile (working copy) >@@ -2,10 +2,9 @@ > # $FreeBSD$ > > PORTNAME= lnav >-PORTVERSION= 0.8.5 >-PORTREVISION= 1 >-DISTVERSIONPREFIX= v >+PORTVERSION= 0.9.0 > CATEGORIES= sysutils >+MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${PORTVERSION}/ > > MAINTAINER= tom@hur.st > COMMENT= Terminal based log file navigator >@@ -14,9 +13,8 @@ > > LIB_DEPENDS= libpcrecpp.so:devel/pcre > >-USES= autoreconf compiler:c++14-lang gmake ncurses sqlite readline >+USES= autoreconf compiler:c++14-lang gmake ncurses readline sqlite tar:bz2 > >-USE_GITHUB= yes > GH_ACCOUNT= tstack > > GNU_CONFIGURE= yes >Index: distinfo >=================================================================== >--- distinfo (revision 550825) >+++ distinfo (working copy) >@@ -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 >Index: files/patch-src_lnav__log.cc >=================================================================== >--- files/patch-src_lnav__log.cc (revision 550825) >+++ files/patch-src_lnav__log.cc (nonexistent) >@@ -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); > >Property changes on: files/patch-src_lnav__log.cc >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-src_logfile.cc >=================================================================== >--- files/patch-src_logfile.cc (nonexistent) >+++ files/patch-src_logfile.cc (working copy) >@@ -0,0 +1,12 @@ >+--- src/logfile.cc.orig 2020-10-01 14:06:59 UTC >++++ src/logfile.cc >+@@ -326,7 +326,8 @@ logfile::rebuild_result_t logfile::rebuild_index() >+ off_t check_line_off = this->lf_index.back().get_offset(); >+ >+ auto read_result = this->lf_line_buffer.read_range({ >+- check_line_off, this->lf_index_size - check_line_off >++ check_line_off, static_cast<ssize_t>(this->lf_index_size - >++ check_line_off) >+ }); >+ >+ if (read_result.isErr()) { > >Property changes on: files/patch-src_logfile.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fernape
:
maintainer-approval?
(
tom
)
Actions:
View
|
Diff
Attachments on
bug 249898
:
218300
|
218332
|
218333
| 218448