FreeBSD Bugzilla – Attachment 255994 Details for
Bug 283449
textproc/ugrep: fix build with archivers/bzip3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with bzip3
patch-textproc_ugrep.diff (text/plain), 825 bytes, created by
Eric Camachat
on 2024-12-20 18:14:10 UTC
(
hide
)
Description:
Fix build with bzip3
Filename:
MIME Type:
Creator:
Eric Camachat
Created:
2024-12-20 18:14:10 UTC
Size:
825 bytes
patch
obsolete
>diff --git textproc/ugrep/files/patch-src_zstream.hpp textproc/ugrep/files/patch-src_zstream.hpp >new file mode 100644 >index 000000000000..715484065756 >--- /dev/null >+++ textproc/ugrep/files/patch-src_zstream.hpp >@@ -0,0 +1,11 @@ >+--- 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_);
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
Actions:
View
|
Diff
Attachments on
bug 283449
:
255993
| 255994