SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
security/hashdeep/patches/patch-src_hashlist_cpp
Normal file
23
security/hashdeep/patches/patch-src_hashlist_cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
Fixes for Clang 6.
|
||||
|
||||
Index: src/hashlist.cpp
|
||||
--- src/hashlist.cpp.orig
|
||||
+++ src/hashlist.cpp
|
||||
@@ -342,7 +342,7 @@ hashlist::load_hash_file(display *ocb,const std::strin
|
||||
file_data_t *t = new (std::nothrow) file_data_t();
|
||||
if (NULL == t)
|
||||
{
|
||||
- ocb->fatal_error("%s: Out of memory in line %"PRIu64,
|
||||
+ ocb->fatal_error("%s: Out of memory in line %" PRIu64,
|
||||
fn.c_str(), line_number);
|
||||
}
|
||||
|
||||
@@ -390,7 +390,7 @@ hashlist::load_hash_file(display *ocb,const std::strin
|
||||
if ( !algorithm_t::valid_hash(hash_column[column_number],word))
|
||||
{
|
||||
if (ocb)
|
||||
- ocb->error("%s: Invalid %s hash in line %"PRIu64,
|
||||
+ ocb->error("%s: Invalid %s hash in line %" PRIu64,
|
||||
fn.c_str(),
|
||||
hashes[hash_column[column_number]].name.c_str(),
|
||||
line_number);
|
Loading…
Add table
Add a link
Reference in a new issue