diff --git a/textproc/ugrep/Makefile b/textproc/ugrep/Makefile index 08d10f5721dd..4c61650dbe74 100644 --- a/textproc/ugrep/Makefile +++ b/textproc/ugrep/Makefile @@ -1,64 +1,64 @@ PORTNAME= ugrep DISTVERSIONPREFIX= v -DISTVERSION= 7.1.1 +DISTVERSION= 7.1.2 CATEGORIES= textproc MAINTAINER= ashish@FreeBSD.org COMMENT= NEW ultra fast grep with interactive query UI WWW= https://ugrep.com LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= compiler:c++11-lang gmake shebangfix USE_GITHUB= yes GH_ACCOUNT= Genivia OPTIONS_DEFINE= COLOR HIDDEN LZ4 MMAP PAGER PCRE2 PRETTY ZSTD BROTLI BZIP3 7ZIP OPTIONS_DEFINE_aarch64= NEON OPTIONS_DEFINE_amd64= AVX SSE2 OPTIONS_DEFAULT= COLOR HIDDEN LZ4 MMAP PAGER PCRE2 PRETTY ZSTD BROTLI BZIP3 7ZIP OPTIONS_DEFAULT_aarch64= NEON OPTIONS_DEFAULT_amd64= AVX SSE2 GNU_CONFIGURE= yes CONFIGURE_ARGS=--with-bash-completion-dir=${PREFIX}/etc/bash_completion.d \ --with-fish-completion-dir=${PREFIX}/share/fish/completions \ --with-zsh-completion-dir=${PREFIX}/share/zsh/site-functions GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= bin/ug+ bin/ugrep+ bash_CMD= ${SH} PCRE2_DESC= Use Perl Compatible Regular Expressions v2 PCRE2_CONFIGURE_WITH= pcre2=${LOCALBASE} PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 LZ4_CONFIGURE_WITH= lz4=${LOCALBASE} LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 NEON_DESC= ARM NEON/AArch64 optimizations NEON_CONFIGURE_OFF= --disable-neon AVX_CONFIGURE_OFF= --disable-avx AVX_DESC= AVX optimizations SSE2_CONFIGURE_OFF= --disable-sse2 SSE2_DESC= SSE2 optimizations COLOR_DESC= Colorized output by default COLOR_CONFIGURE_OFF= --disable-auto-color PRETTY_DESC= Pretty output by default PRETTY_CONFIGURE_ENABLE= pretty PAGER_DESC= Pager enabled by default PAGER_CONFIGURE_ENABLE= pager HIDDEN_DESC= Search hidden files by default HIDDEN_CONFIGURE_ENABLE= hidden MMAP_DESC= Enable memory mapped files by default MMAP_CONFIGURE_ENABLE= mmap ZSTD_CONFIGURE_WITH= zstd=${LOCALBASE} ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd BROTLI_CONFIGURE_WITH= brotli=${LOCALBASE} BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli BZIP3_DESC= bzip3 compression support BZIP3_CONFIGURE_WITH= bzip3=${LOCALBASE} BZIP3_LIB_DEPENDS= libbzip3.so:archivers/bzip3 7ZIP_DESC= 7zip support 7ZIP_CONFIGURE_ENABLE= 7zip .include diff --git a/textproc/ugrep/distinfo b/textproc/ugrep/distinfo index 76d33c3dc109..568c0fb8f5ed 100644 --- a/textproc/ugrep/distinfo +++ b/textproc/ugrep/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1732964723 -SHA256 (Genivia-ugrep-v7.1.1_GH0.tar.gz) = 89e3d7898995d1aff44c0231d65ce2b78d991db198544723526576f9a46f0578 -SIZE (Genivia-ugrep-v7.1.1_GH0.tar.gz) = 7120113 +TIMESTAMP = 1735577654 +SHA256 (Genivia-ugrep-v7.1.2_GH0.tar.gz) = 1e016791c09bfd44df14a7e00af64c10cb559fa7fd1fe3ba4b87b2c73be5e264 +SIZE (Genivia-ugrep-v7.1.2_GH0.tar.gz) = 7120839 diff --git a/textproc/ugrep/files/patch-src_zstream.hpp b/textproc/ugrep/files/patch-src_zstream.hpp deleted file mode 100644 index 715484065756..000000000000 --- a/textproc/ugrep/files/patch-src_zstream.hpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/zstream.hpp.orig 2024-11-29 20:51:51 UTC -+++ src/zstream.hpp -@@ -2626,7 +2626,7 @@ class zstreambuf : public std::streambuf { - if (block_size > bz3file_->max || - bz3file_->len > bz3file_->max || - fread(bz3file_->buf, 1, block_size, file_) < block_size || -- bz3_decode_block(bz3file_->strm, bz3file_->buf, block_size, bz3file_->len) < 0) -+ bz3_decode_block(bz3file_->strm, bz3file_->buf, bz3file_->max, block_size, bz3file_->len) < 0) - { - if (ferror(file_)) - warning("cannot read", pathname_);