Index: Makefile =================================================================== --- Makefile (revision 441518) +++ Makefile (working copy) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= lnav -PORTVERSION= 0.8.1 +PORTVERSION= 0.8.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= tom@hur.st @@ -17,10 +16,21 @@ USE_GITHUB= yes GH_ACCOUNT= tstack -USES= autoreconf execinfo gmake ncurses python sqlite readline +USES= autoreconf compiler:c++14-lang execinfo gmake ncurses sqlite readline GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static PLIST_FILES= bin/lnav man/man1/lnav.1.gz +OPTIONS_DEFINE= CURL +OPTIONS_DEFAULT=CURL +CURL_DESC= Use libcurl for remote log file support + +CURL_LIB_DEPENDS= libcurl.so:ftp/curl +CURL_CONFIGURE_WITH= libcurl + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/lnav ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/lnav.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + .include Index: distinfo =================================================================== --- distinfo (revision 441518) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1472227481 -SHA256 (tstack-lnav-v0.8.1_GH0.tar.gz) = 7f5f5f453f291db03036b26c1eb20933c8a9eb095108edeb3d6b65ab79187009 -SIZE (tstack-lnav-v0.8.1_GH0.tar.gz) = 856480 +TIMESTAMP = 1492605871 +SHA256 (tstack-lnav-v0.8.2_GH0.tar.gz) = 50afb1dec659d6169ba7f6f16642e53cc680eade6f460d73a180f9e9470d6016 +SIZE (tstack-lnav-v0.8.2_GH0.tar.gz) = 930155 Index: files/patch-src_extension-functions.cc =================================================================== --- files/patch-src_extension-functions.cc (nonexistent) +++ files/patch-src_extension-functions.cc (working copy) @@ -0,0 +1,11 @@ +--- src/extension-functions.cc.orig 2017-04-19 14:17:53 UTC ++++ src/extension-functions.cc +@@ -269,7 +269,7 @@ static const int xtra_utf8_bits[] = { + ** masking the character with utf8_mask[N] must produce a non-zero + ** result. Otherwise, we have an (illegal) overlong encoding. + */ +-static const long utf_mask[] = { ++static const unsigned long utf_mask[] = { + 0x00000000, + 0xffffff80, + 0xfffff800, Property changes on: files/patch-src_extension-functions.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 Index: files/patch-src_logfile.cc =================================================================== --- files/patch-src_logfile.cc (nonexistent) +++ files/patch-src_logfile.cc (working copy) @@ -0,0 +1,16 @@ +--- src/logfile.cc.orig 2017-05-23 18:53:47 UTC ++++ src/logfile.cc +@@ -92,10 +92,10 @@ throw (error) + + loo.loo_fd.close_on_exec(); + +- log_info("Creating logfile: fd=%d; size=%d; mtime=%d; filename=%s", ++ log_info("Creating logfile: fd=%d; size=%" PRId64 "; mtime=%" PRId64 "; filename=%s", + (int) loo.loo_fd, +- this->lf_stat.st_size, +- this->lf_stat.st_mtime, ++ (long long) this->lf_stat.st_size, ++ (long long) this->lf_stat.st_mtime, + filename.c_str()); + + this->lf_valid_filename = true; 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